Macros | |
#define | MSG_PTR u8* |
#define | IMG_PTR u8* |
#define | PAL_PTR u16* |
#define | MSG_BIN u8 |
#define | IMG_BIN u8 |
#define | PAL_BIN u16 |
#define | NPC_BLUR_FRAMES 20 |
#define | MAX_NPC_DECORATIONS 2 |
#define | PRINT_BUFFER_SIZE 1088 |
#define | MAX_ACTOR_DECORATIONS 2 |
#define | ACTOR_BLUR_FRAMES 16 |
#define | DISPLAYCONTEXT_GFX_COUNT 0x2080 |
Typedefs | |
typedef ApiStatus(* | ApiFunc) (struct Evt *, s32) |
typedef Bytecode | EvtScript[] |
typedef void | NoArgCallback(void *) |
typedef s32 | b32 |
typedef s16 | b16 |
typedef s8 | b8 |
typedef s32 | HitID |
typedef u32 | AnimID |
typedef f32 | Matrix4f[4][4] |
typedef Npc * | NpcList[64] |
typedef Trigger * | TriggerList[64] |
typedef Evt * | ScriptList[128] |
typedef s32(* | EntityCallback) (struct Entity *) |
typedef Entity * | EntityList[30] |
typedef void(* | ShadowCallback) (struct Shadow *) |
typedef Shadow * | ShadowList[60] |
typedef Worker * | WorkerList[16] |
typedef ModelAnimator * | AnimatedMeshList[16] |
typedef s32(* | PushBlockFallCallback) (Entity *block, Evt *script) |
typedef AnimatedModel * | AnimatedModelList[16] |
typedef VirtualEntity * | VirtualEntityList[0x40] |
typedef void(* | PopupMessageCallback) (void *popup) |
typedef u32 | MusicEventTrigger |
struct CameraRig |
Data Fields | ||
---|---|---|
f32 | boomLength | |
f32 | boomPitch | |
f32 | boomYaw | |
Vec3f | targetPos | |
f32 | viewPitch |
struct HeapNode |
Data Fields | ||
---|---|---|
u16 | allocated | |
u32 | capacity | |
u16 | entryID | |
u32 | length | |
struct HeapNode * | next |
struct NpcMotionBlur |
struct FollowAnims |
struct NpcFollowData |
Data Fields | ||
---|---|---|
FollowAnims * | anims | |
s32 | followState | |
f32 | idleRadius | |
s32 | lastPointIdx | |
NpcHistoryPoint | moveHistory[40] | |
f32 | runSpeed | |
s32 | targetNpcID | |
s32 | targetPointIdx | |
f32 | walkRadius | |
f32 | walkSpeed |
struct PlayerData |
Data Fields | ||
---|---|---|
u16 | actionCommandAttempts | |
u16 | actionCommandSuccesses | |
s16 | badges[128] | |
u16 | battlesCount | |
u16 | battlesFled | |
u16 | battlesWon | |
s8 | bootsLevel | |
s16 | coins | |
s8 | curFP | |
s8 | curHP | |
s8 | curMaxFP | |
s8 | curMaxHP | |
s8 | curPartner | |
s32 | droTreeHintTime | |
u16 | enemyFirstStrikes | |
s16 | equippedBadges[64] | |
u16 | fleeAttempts | |
s8 | fortressKeyCount | |
u32 | frameCounter | |
s8 | hammerLevel | |
s8 | hardMaxFP | |
s8 | hardMaxHP | |
b8 | hasActionCommands | |
u16 | hitsBlocked | |
u16 | hitsTaken | |
s16 | idleFrameCounter | |
s16 | invItems[10] | |
u16 | jumpGamePlays | |
u16 | jumpGameRecord | |
u32 | jumpGameTotal | |
s16 | keyItems[32] | |
s8 | level | |
s8 | maxBP | |
s8 | maxStarPower | |
s8 | merleeCastsLeft | |
s8 | merleeSpellType | |
s16 | merleeTurnCount | |
char | pad_00B | |
char | pad_013 | |
char | pad_28B | |
char | pad_28F | |
char | pad_293 | |
char | pad_2BA[2] | |
char | pad_33E[2] | |
struct PartnerData | partners[12] | |
s32 | partnerUnlockedTime[12] | |
s32 | partnerUsedTime[12] | |
u16 | playerFirstStrikes | |
u16 | powerBounces | |
u16 | quizzesAnswered | |
u16 | quizzesCorrect | |
char | reserved[0xE8] | |
s32 | runningStepsTaken | |
u16 | smashGamePlays | |
u16 | smashGameRecord | |
u32 | smashGameTotal | |
s8 | starBeamLevel | |
u8 | starPieces | |
u16 | starPiecesCollected | |
s8 | starPoints | |
s16 | starPower | |
s16 | storedItems[32] | |
u32 | totalCoinsEarned | |
s32 | tradeEventStartTime | |
u16 | trainingsDone | |
s8 | unused_011 | |
s8 | unused_288 | |
s32 | walkingStepsTaken |
struct Evt |
Data Fields | ||
---|---|---|
union Evt.__unnamed7__ | __unnamed__ | |
union Evt.__unnamed9__ | __unnamed__ | |
s32 * | array | |
s8 | blocked | |
struct Evt * | blockingParent | |
s32 * | buffer | |
ApiFunc | callFunction | |
struct Evt * | childScript | |
u8 | curArgc | |
u8 | curOpcode | |
s32 * | flagArray | |
f32 | frameCounter | |
u8 | groupFlags | |
s32 | id | |
s8 | labelIndices[16] | |
void * | labelPositions[16] | |
s32 | loopCounterTable[8] | |
s8 | loopDepth | |
s32 | loopStartTable[8] | |
union Evt.owner1 | owner1 | Initially -1. |
union Evt.owner2 | owner2 | Initially -1. |
struct Evt * | parentScript | |
u8 | priority | |
Bytecode * | ptrCurLine | |
Bytecode * | ptrFirstLine | |
Bytecode * | ptrNextLine | |
Bytecode * | ptrReadPos | |
Bytecode * | ptrSavedPos | |
u8 | stateFlags | |
s8 | switchBlockState[8] | |
s32 | switchBlockValue[8] | |
s8 | switchDepth | |
f32 | timeScale | |
s32 | unk_158 | |
void * | userData | |
s32 | varFlags[3] |
union EntityData |
Data Fields | ||
---|---|---|
s32 * | any | |
struct ArrowSignData * | arrowSign | |
struct BlockData * | block | |
struct BlueWarpPipeData * | bluePipe | |
struct BoardedFloorData * | boardedFloor | |
struct BombableRockData * | bombableRock | |
struct ChestData * | chest | |
struct WoodenCrateData * | crate | |
struct CymbalPlantData * | cymbalPlant | |
struct HeartBlockContentData * | heartBlockContent | |
struct HiddenPanelData * | hiddenPanel | |
struct MunchlesiaData * | munchlesia | |
struct PadlockData * | padlock | |
struct PinkFlowerData * | pinkFlower | |
struct SaveBlockData * | saveBlock | |
struct ShatteringBlockData * | shatteringBlock | |
struct SignpostData * | signPost | |
struct SimpleSpringData * | simpleSpring | |
struct SpinningFlowerData * | spinningFlower | |
struct StarBoxLauncherData * | starBoxLauncher | |
struct SuperBlockContentData * | superBlockContent | |
struct SwitchData * | swtch | |
struct TrumpetPlantData * | trumpetPlant | |
struct TweesterData * | tweester |
struct Shadow |
struct MusicSettings |
struct MusicProximityTrigger |
Data Fields | ||
---|---|---|
f32 | innerDist | |
s32 | manualActivationFlag | |
f32 | outerDist | |
VecXZf | pos | |
s32 | unk |
struct StatusBar |
Data Fields | ||
---|---|---|
s8 | alwaysShown | |
s8 | coinCounterHideTime | |
s32 | coinCountIconHID | |
s32 | coinCountTimesHID | |
s32 | coinIconHID | |
s8 | coinsBlinkCounter | |
s8 | coinsBlinking | |
s8 | coinsBlinkTimer | |
s32 | coinSparkleHID | |
s32 | coinTimesHID | |
s8 | disabled | |
s16 | displayCoins | |
s8 | displayFP | |
s8 | displayHP | |
s16 | displayStarpoints | |
s16 | displayStarPower | |
s16 | drawPosX | |
s16 | drawPosY | |
s8 | fpBlinkCounter | |
s8 | fpBlinking | |
s8 | fpBlinkTimer | |
s32 | fpIconHIDs[2] | |
s32 | fpTimesHID | |
b8 | hidden | |
s8 | hpBlinkCounter | |
s8 | hpBlinking | |
s8 | hpBlinkTimer | |
s32 | hpIconHIDs[2] | |
s32 | hpTimesHID | |
s32 | iconIndex12 | |
s32 | iconIndex13 | |
s8 | ignoreChanges | |
s8 | openInputDisabled | |
s16 | showTimer | |
s8 | spBarsToBlink | |
s8 | spBlinkCounter | |
s8 | spBlinking | |
s32 | spIconHID | |
s32 | spShineHID | |
s32 | spTimesHID | |
s32 | starIconHID | |
s8 | starpointsBlinkCounter | |
s8 | starpointsBlinking | |
b8 | unk_3B | |
b8 | unk_3C | |
char | unk_3F | |
s8 | unk_57 | |
s8 | unk_58 | |
s8 | unk_59 | |
char | unk_5B | |
s8 | unk_6D | |
s8 | unk_6E | |
char | unk_6F |
struct CameraInitData |
struct CameraUnk |
struct CameraControlSettings |
Data Fields | ||
---|---|---|
f32 | boomLength | |
f32 | boomPitch | |
b32 | flag | |
union CameraControlSettings.points | points | |
s32 | type | |
f32 | viewPitch |
struct TextureHeader |
struct MoveData |
Data Fields | ||
---|---|---|
u8 | actionTip | |
s8 | category |
|
s8 | costBP | |
s8 | costFP | |
s32 | flags | |
s32 | fullDescMsg | |
s32 | nameMsg | |
s32 | shortDescMsg |
struct Collider |
Data Fields | ||
---|---|---|
union Collider.__unnamed26__ | __unnamed__ | |
s16 | firstChild | |
s32 | flags | |
s16 | nextSibling | |
s16 | numTriangles | |
s16 | numVertices | |
s16 | parentModelIndex | |
struct ColliderTriangle * | triangleTable | |
char | unk_16[2] | |
Vec3f * | vertexTable |
struct CollisionData |
Data Fields | ||
---|---|---|
union CollisionData.__unnamed28__ | __unnamed__ | |
Collider * | colliderList | |
s16 | numColliders | |
char | unk_0E[2] | |
Vec3f * | vertices |
struct AnimatorNode |
Data Fields | ||
---|---|---|
Vec3f | basePos | |
struct AnimatorNode * | children[32] | |
Gfx * | displayList | |
union AnimatorNode.fcData | fcData | |
s16 | flags | |
Matrix4f | mtx | |
Vec3f | pos | |
Vec3f | rot | |
Vec3f | scale | |
s16 | uniqueIndex | |
char | unk_FA[2] | |
s16 | vertexStartOffset |
struct AnimatorNodeBlueprint |
struct StaticAnimatorNode |
Data Fields | ||
---|---|---|
struct StaticAnimatorNode * | child | |
void * | displayList | |
s16 | modelID | |
Vec3f | pos | |
Vec3s | rot | |
struct StaticAnimatorNode * | sibling | |
char | unk_0A[0x2] | |
char | unk_22[0x2] | |
char | unk_2A[0x2] | |
s16 | vertexStartOffset | |
Vtx * | vtxList |
struct ItemData |
struct ItemEntity |
Data Fields | ||
---|---|---|
u8 | alpha | |
s16 | boundVar | |
s32 | flags | |
s16 | itemID | |
Vec3s | lastPos | |
u8 | lookupPaletteIndex | |
u8 | lookupRasterIndex | |
u8 | nextUpdate | |
struct ItemEntityPhysicsData * | physicsData | |
u8 | pickupDelay | |
s16 | pickupMsgFlags | |
Vec3f | pos | |
u32 * | readPos | |
s8 | renderGroup | |
u32 * | savedReadPos | |
f32 | scale | |
s16 | shadowIndex | |
s32 | sparkleHeight | |
s32 | sparkleNextUpdate | |
u16 * | sparklePalette | |
u8 * | sparkleRaster | |
s32 * | sparkleReadPos | |
s32 * | sparkleSavedPos | |
s32 | sparkleUnk44 | |
s32 | sparkleWidth | |
s16 | spawnAngle | |
s8 | spawnType | |
s8 | state | |
char | unk_22[2] | |
char | unk_3A[2] |
struct MessagePrintState |
Data Fields | ||
---|---|---|
s16 | animTimers[4] | |
u8 | cancelOption | |
u8 | charsPerChunk | |
s32 * | closedWritebackBool | |
u8 | curAnimFrame[4] | |
u8 | curImageIndex | |
u8 | curLine | |
s32 | curLinePos | |
u8 | curOption | |
u16 | curPrintDelay | |
u16 | cursorPosX[6] | |
u16 | cursorPosY[6] | |
s16 | delayFlags | |
u16 | effectFrameCounter | |
u8 | fadeInCounter | |
u8 | fadeOutCounter | |
u8 | font | |
u8 | fontVariant | |
Vec2s | initOpenPos | |
u8 * | letterBackgroundImg | |
u16 * | letterBackgroundPal | |
u8 * | letterContentImg | |
u16 * | letterContentPal | |
u8 | lineCount | |
u16 | lineEndPos[4] | |
s8 | madeChoice | |
s8 | maxLineChars | |
u8 | maxLinesPerPage | |
u8 | maxOption | |
s16 | msgHeight | |
s32 | msgID | |
u16 | msgWidth | |
u16 | nextLinePos | |
s8 | numLines | |
Vec2su | openStartPos | |
u8 | printBuffer[1088] | |
u16 | printBufferPos | |
s16 | printBufferSize | |
u8 | printDelayTime | |
u8 | rewindArrowAnimState | |
s16 | rewindArrowCounter | |
Vec2su | rewindArrowPos | |
s16 | rewindArrowSwingPhase | |
u8 | scrollingTime | |
u8 | selectedOption | |
f32 | sizeScale | |
u8 | speechPan | |
u16 | speechPitchShift | |
s32 | speechSoundIDA | |
s32 | speechSoundIDB | |
s8 | speechSoundType | |
u8 * | srcBuffer | |
u16 | srcBufferPos | |
s32 | stateFlags | |
u8 | style | |
u8 | targetOption | |
char | unk_06[2] | |
char | unk_465 | |
char | unk_469[0x3] | |
s32 | unk_46C | |
char | unk_47D[0x1] | |
char | unk_490[0x38] | |
u16 | unk_4C8 | |
s16 | unk_4CA | |
u16 | unk_4CC | |
char | unk_4CF[0x1] | |
char | unk_4EB[0x1] | |
char | unk_4EF[0x9] | |
char | unk_4F9[0x3] | |
char | unk_502[0x2] | |
char | unk_513[0x1] | |
char | unk_51B[0x1] | |
char | unk_51E[0x2] | |
s8 | unk_52A | |
char | unk_53D[0x3] | |
char | unk_554[0x4] | |
u8 | unkArraySize | |
u16 | varBufferReadPos | |
u8 | varImageDisplayState | |
s16 | varImageFadeTimer | |
Vec2su | varImageScreenPos | |
u8 | varImgAlphaFadeStep | |
u8 | varImgFinalAlpha | |
u8 | varImgHasBorder | |
u8 | volume | |
Vec2s | windowBasePos | |
Vec2s | windowOffsetPos | |
u8 | windowScrollRate | |
Vec2su | windowSize | |
u8 | windowState |
struct MessageDrawState |
Data Fields | ||
---|---|---|
u8 | centerPos | |
Vec2f | charScale | |
s32 | clipX[2] | |
s32 | clipY[2] | |
u8 | curPosX | |
s32 | drawBufferPos | |
u32 | effectFlags | |
u16 | font | |
u16 | fontVariant | |
u8 | framePalette | |
Vec2f | msgScale | |
u8 | nextCounter | |
s16 | nextPos[2] | |
u8 * | printBuffer | |
u16 | printModeFlags | |
u8 | savedColor | |
s16 | savedPos[2] | |
s16 | textColor | |
s16 | textStartPos[2] | |
u8 | unk_29 | |
char | unk_2A[0x1] | |
s8 | unk_2C | |
u8 | unk_2D | |
char | unk_2F[0x1] | |
char | unk_36[0x2] | |
char | unk_41 | |
char | unk_51[0x3] | |
s32 | visiblePrintedCount |
struct MessageCharData |
struct MessageCharset |
Data Fields | ||
---|---|---|
u16 | charRasterSize | |
u8 | newLineY | |
MessageCharData * | rasters | |
Vec2bu | texSize | |
s8 | unk_02 | |
char | unk_06[0x2] |
struct MesasgeFontGlyphData |
Data Fields | ||
---|---|---|
u8 | charHeight | |
u8 | charWidth | |
u16 * | palette | |
u8 * | raster | |
Vec2bu | texSize |
struct MessageImageData |
struct MessageNumber |
struct ShopItemEntity |
Data Fields | ||
---|---|---|
s32 | index | |
Vec3f | pos |
struct ShopOwner |
struct GameStatus |
Data Fields | ||
---|---|---|
Vec2b | altViewportOffset | |
s16 | areaID | |
u16 | backgroundDarkness | |
s16 | backgroundFlags | |
s16 | backgroundMaxX | |
s16 | backgroundMaxY | |
s16 | backgroundMinX | |
s16 | backgroundMinY | |
u16 * | backgroundPalette | |
u8 * | backgroundRaster | |
s16 | backgroundXOffset | |
u8 | contBitPattern | |
u32 | curButtons[4] | |
s8 | debugEnemyContact | |
s8 | debugQuizmo | |
s8 | debugScripts | |
b8 | debugUnused1 | |
b8 | debugUnused2 | |
s8 | demoBattleFlags | |
s16 | demoButtonInput | |
s8 | demoState | |
s8 | demoStickX | |
s8 | demoStickY | |
b16 | didAreaChange | |
s16 | entryID | |
f32 | exitTangent | |
u16 | frameCounter | |
b8 | healthBarsEnabled | |
u32 | heldButtons[4] | |
s8 | introPart | |
s8 | isBattle | |
b8 | keepUsingPartnerOnMapChange | |
u8 | loadType | |
s8 | logoTime | |
s32 | mainScriptID | |
s16 | mapID | |
struct Shop * | mapShop | |
b8 | multiplayerEnabled | |
b8 | musicEnabled | |
s8 | nextDemoScene | |
u32 | nextRNG | |
u8 | peachBakingIngredient |
|
s8 | peachDisguise | |
u8 | peachFlags | |
Vec3f | playerGroundTraceAngles | |
Vec3f | playerGroundTraceNormal | |
Vec3f | playerPos | |
s8 | playerSpriteSet | |
f32 | playerYaw | |
u32 | pressedButtons[4] | |
s16 | prevArea | |
u32 | prevButtons[4] | |
u32 | saveCount | |
s16 | savedBackgroundDarkness | |
Vec3s | savedPos | |
u8 | saveSlot | |
s16 | screenColorA | |
s16 | screenColorB | |
s16 | screenColorG | |
s16 | screenColorR | |
ShopItemEntity * | shopItemEntities | |
b8 | skipLogos | |
u8 | soundOutputMode | |
s8 | startupState | |
s8 | stickX[4] | |
s8 | stickY[4] | |
s8 | titleScreenDismissTime | |
s8 | titleScreenTimer | |
char | unk_136[2] | |
s16 | unk_13C | |
char | unk_13E[2] | |
char | unk_16C[12] | |
s16 | unk_48[4] | |
s16 | unk_50[4] | |
s16 | unk_58 | |
char | unk_5A[6] | |
s16 | unk_60 | |
char | unk_62[6] | |
char | unk_79 | |
char | unk_7B | |
char | unk_85 | |
u16 | unk_90 | |
u16 | unk_92 | |
s8 | unk_A9 | |
char | unk_B1[0x5] | |
char | unk_BE[94] |
union PartnerAnimations |
Data Fields | ||
---|---|---|
struct PartnerAnimations.__unnamed31__ | __unnamed__ | |
s32 | anims[9] |
struct ItemEntityPhysicsData |
Data Fields | ||
---|---|---|
f32 | collisionRadius | |
f32 | constVel | |
f32 | gravity | |
f32 | moveAngle | |
s32 | timeLeft | |
b32 | useSimplePhysics | |
f32 | velX | |
f32 | velZ | |
f32 | verticalVel |
struct SelectableTarget |
struct ActorPartMovement |
struct ActorPartBlueprint |
struct ActorPart |
Data Fields | ||
---|---|---|
Vec3f | absolutePos | |
s16 | actorTypeData2b[2] | |
f32 | animationRate | |
s32 | animNotifyValue | |
u32 | curAnimation | |
Vec3f | curPos | |
struct DecorationTable * | decorationTable | |
u32 * | defenseTable | |
s32 | elementalImmunities | |
s32 | eventFlags | |
s32 | flags | |
u32 * | idleAnimations | |
struct ActorPartMovement * | movement | |
struct ActorPart * | nextPart | |
s16 | opacity | |
s16 | palAnimPosOffset[2] | |
Vec3s | partOffset | |
Vec3f | partOffsetFloat | |
s32 | partTypeData[6] | |
Vec2b | projectileTargetOffset | |
Vec3f | rot | |
Vec3s | rotPivotOffset | |
Vec3f | scale | |
s32 | shadowIndex | |
f32 | shadowScale | |
Vec2bu | size | |
s32 | spriteInstanceID | |
ActorPartBlueprint * | staticData | |
s32 | targetFlags | |
Vec2s | targetOffset | |
s16 | targetPriorityOffset | |
char | unk_4A[2] | |
char | unk_77[1] | |
char | unk_9A[2] | |
s8 | verticalStretch | |
Vec3s | visualOffset | |
f32 | yaw |
struct ColliderTriangle |
struct CollisionStatus |
Data Fields | ||
---|---|---|
s16 | bombetteExploded | |
Vec3f | bombetteExplosionPos | |
s16 | curCeiling | |
s16 | curFloor | |
s16 | curInspect | |
s16 | curWall | |
s16 | floorBelow | |
s16 | lastTouchedFloor | |
s16 | lastWallHammered | |
s16 | pushingAgainstWall | |
s16 | touchingWallTrigger | |
s16 | unk_0C | |
s16 | unk_0E | |
s16 | unk_10 | |
char | unk_1A[2] |
struct DecorRedFlames |
union DecorationData |
Data Fields | ||
---|---|---|
DecorBowserAura | bowserAura | |
DecorFireTrail | fireTrail | |
DecorGoldenFlames | goldenFlames | |
s16 | raw[8] | |
DecorRedFlames | redFlames | |
DecorDataSparkles | sparkles | |
DecorDataStars | stars |
struct DecorationTable |
Data Fields | ||
---|---|---|
u16 * | adjustedPalettes[27] | |
s16 | blendPalA | |
s16 | blendPalB | |
s8 | blurBufferPos | |
s8 | blurDisableDelay | |
s8 | blurDrawCount | |
s8 | blurEnableCount | |
s8 | blurUnused | |
u8 | changed[2] | |
u16 | copiedPalettes[2][27][16] | |
DecorationData | decorData[2] | |
struct EffectInstance * | effect[2] | |
u8 | flashEnabled | |
s8 | flashFramesLeft | |
s8 | flashMode | |
u16 * | flashPalettes[16] | |
s8 | flashState | |
s8 | flashStateChanged | |
s16 | glowPhase | |
s8 | glowState | |
b8 | glowStateChanged | |
s8 | glowUnk1 | |
s16 | glowUnk2 | |
s16 | glowUnk3 | |
s16 | nextPalTime | |
s8 | originalPalettesCount | |
u16 ** | originalPalettesList | |
char | pad753[5] | |
char | pad75E[6] | |
s8 | palAnimState | |
s16 | palBlendAlpha | |
s8 | paletteAdjustment | |
s16 | palswapTimeAtoB | |
s16 | palswapTimeBtoA | |
s16 | palswapTimeHoldA | |
s16 | palswapTimeHoldB | |
s16 | palswapUnused1 | |
s16 | palswapUnused2 | |
s16 | posX[16] | |
s16 | posY[16] | |
s16 | posZ[16] | |
b8 | resetPalAdjust | |
s8 | rotPivotOffsetX[16] | |
s8 | rotPivotOffsetY[16] | |
u8 | rotX[16] | |
u8 | rotY[16] | |
u8 | rotZ[16] | |
s8 | spriteColorVariations | |
s8 | state[2] | |
s16 | stateResetTimer[2] | |
s8 | type[2] | |
char | unk_6C3[5] | |
char | unk_6CE[2] | |
char | unk_769[3] | |
char | unk_7AC[0x2C] | |
char | unk_8AD[3] | |
char | unk_8C0[4] | |
s16 | yaw[16] |
struct LavaReset |
Data Fields | ||
---|---|---|
s32 | colliderID | |
Vec3f | pos |
struct BombTrigger |
Data Fields | ||
---|---|---|
f32 | diameter | |
Vec3f | pos |
struct AnimatedModel |
struct CollisionHeader |
struct ActorMovement |
struct ChompChain |
Data Fields | ||
---|---|---|
Vec3f | curPos | |
f32 | gravAccel | |
f32 | innerLinkLen | |
f32 | linkLengthZ | |
f32 | outerLinkLen | |
f32 | settleAmt | |
f32 | settleRate | |
f32 | unk_0C | |
f32 | unk_10 | |
f32 | velY |
struct ActorState |
Data Fields | ||
---|---|---|
union ActorState.__unnamed35__ | __unnamed__ | |
union ActorState.__unnamed37__ | __unnamed__ | |
f32 | acceleration | |
f32 | angle | |
s32 | animJumpFall | |
s32 | animJumpLand | |
s32 | animJumpRise | |
f32 | bounceDivisor | |
Vec3f | curPos | |
f32 | dist | |
Vec3f | goalPos | |
u8 | jumpPartIndex | |
s16 | moveArcAmplitude | |
s16 | moveTime | |
f32 | speed | |
Vec3f | unk_18 | |
f32 | unk_24 | |
f32 | unk_28 | |
f32 | unk_2C | |
char | unk_54[0x4] | |
char | unk_68[3] | |
f32 | vel | |
Vec3f | velStep |
struct Actor |
Data Fields | ||
---|---|---|
s8 | actionRatingCombo | |
s8 | actionRatingTime | |
struct ActorBlueprint * | actorBlueprint | |
s16 | actorID | |
u8 | actorType | |
s32 | actorTypeData1[6] | |
s16 | actorTypeData1b[2] | |
s8 | attackBoost | |
struct EffectInstance * | attackResultEffect | |
s8 | chillOutAmount | |
s8 | chillOutTurns | |
s8 | curHP | |
Vec3f | curPos | |
s16 | damageCounter | |
s8 | debuff | |
s8 | debuffDuration | |
s8 | defenseBoost | |
s8 | disableDismissTimer | |
struct EffectInstance * | disableEffect | |
s8 | enemyIndex | |
s8 | extraCoinBonus | |
s32 | flags | |
s32 | flags2 | |
ActorMovement | fly | |
u8 | footStepCounter | |
s32 | handleBatttlePhaseScriptID | |
struct Evt * | handleEventScript | |
s32 | handleEventScriptID | |
EvtScript * | handleEventSource | |
struct Evt * | handlePhaseScript | |
EvtScript * | handlePhaseSource | |
Vec3s | headOffset | |
s8 | healthBarHideTime | |
Vec2b | healthBarOffset | |
Vec3s | healthBarPos | |
s8 | healthFraction | |
Vec3f | homePos | |
s16 | hpChangeCounter | |
s16 | hudElementDataIndex | |
struct EffectInstance * | icePillarEffect | |
struct Evt * | idleScript | |
s32 | idleScriptID | |
EvtScript * | idleSource | |
s8 | instigatorValue | |
b8 | isGlowing | |
s8 | koDuration | |
s8 | koStatus | |
s16 | lastDamageTaken | |
s8 | lastEventType | |
s32 | loopingSoundID[2] | |
s8 | maxHP | |
s8 | numParts | |
struct ActorPart * | partsTable | |
s16 | renderMode | |
Vec3f | rot | |
Vec3s | rotPivotOffset | |
Vec3f | scale | |
Vec3f | scaleModifier | |
f32 | scalingFactor | |
s8 | selectedTargetIndex | |
union Actor.shadow | shadow | |
f32 | shadowScale | |
Vec2bu | size | |
ActorState | state | |
s8 | staticDuration | |
s8 | staticStatus | |
s8 | statusAfflicted | |
Vec2b | statusIconOffset | |
s32 * | statusTable | |
Vec2b | statusTextOffset | |
s8 | stoneDuration | |
s8 | stoneStatus | |
struct Evt * | takeTurnScript | |
s32 | takeTurnScriptID | |
EvtScript * | takeTurnSource | |
s16 | targetActorID | |
struct SelectableTarget | targetData[24] | |
s8 | targetIndexList[24] | |
s8 | targetListLength | |
s8 | targetPartID | |
s8 | transparentDuration | |
s8 | transparentStatus | |
s8 | turnPriority | |
char | unk_124[16] | |
u8 | unk_134 | |
char | unk_137 | |
char | unk_16E[2] | |
char | unk_19B[1] | |
char | unk_1BA[2] | |
char | unk_1BD[3] | |
char | unk_1FE[2] | |
char | unk_209[3] | |
char | unk_21A[2] | |
s16 | unk_21E | |
char | unk_225[3] | |
char | unk_427[1] | |
char | unk_42A[2] | |
s8 | verticalRenderOffset | |
f32 | yaw |
struct BackgroundHeader |
struct SlideParams |
struct PlayerStatus |
Data Fields | ||
---|---|---|
s8 | actionState | |
s8 | actionSubstate | |
AnimID | anim | |
u32 | animFlags | |
u16 | animNotifyValue | |
s8 | availableDisguiseType | set in main map scripts |
s16 | blinkTimer | |
s8 | camResetDelay | |
s16 | colliderDiameter | |
s16 | colliderHeight | |
u8 | curAlpha | |
s32 | curButtons | |
s32 | curButtonsBuffer[10] | |
f32 | curSpeed | |
s16 | curStateTime | |
f32 | curYaw | |
s8 | enableCollisionOverlapsCheck | |
Npc * | encounteredNPC | |
s32 | flags | |
f32 | flipYaw[4] | |
f32 | gravityIntegrator[4] | |
Vec2f | groundAnglesXZ | |
f32 | groundNormalPitch | |
s8 | hazardType | |
f32 | heading | |
s32 | heldButtons | |
s32 | heldButtonsBuffer[10] | |
s32 | inputBufPos | |
s8 | inputDisabledCount | |
s16 | interactingWithID | |
f32 | jumpApexHeight | |
f32 | jumpFromHeight | |
VecXZf | jumpFromPos | |
VecXZf | landPos | |
Vec3s | lastGoodPos | |
f32 | maxJumpSpeed | |
s16 | moveFrames | |
f32 | overlapPushAmount | |
f32 | overlapPushYaw | |
s8 | peachDisguise | |
s8 | peachItemHeld | |
s16 | peakJumpTime | |
f32 | pitch | |
Vec3f | pos | |
s8 | poundImpactDelay | |
s32 | pressedButtons | |
s32 | pressedButtonsBuffer[10] | |
s8 | prevActionState | |
u8 | prevAlpha | |
Vec3f | pushVel | |
s8 | renderMode | |
f32 | runSpeed | |
s32 | shadowID | |
s8 | shiverTime | |
SlideParams * | slideParams | |
struct EffectInstance * | specialDecorationEffect | |
f32 | spinRate | |
f32 | spriteFacingAngle | |
s32 | stickAxis[2] | |
s32 | stickXBuffer[10] | |
s32 | stickYBuffer[10] | |
f32 | targetYaw | |
s16 | timeInAir | |
AnimID | trueAnimation | Encoding back-facing sprite. |
char | unk_0B | |
char | unk_1BC[196] | |
char | unk_281[7] | |
s32 | unk_60 | |
char | unk_AC[4] | |
char | unk_B7 | |
f32 | walkSpeed |
struct SaveGlobals |
struct SaveMetadata |
struct SaveData |
Data Fields | ||
---|---|---|
s8 | areaBytes[16] | |
s32 | areaFlags[8] | |
s16 | areaID | |
s32 | crc1 | |
s32 | crc2 | |
s8 | debugEnemyContact | |
b8 | debugUnused1 | |
b8 | debugUnused2 | |
s32 | enemyDefeatFlags[60][12] | |
s16 | entryID | |
s8 | globalBytes[512] | |
s32 | globalFlags[64] | |
char | magicString[16] | |
s16 | mapID | |
SaveMetadata | metadata | |
b8 | musicEnabled | |
s8 | pad[32] | |
PlayerData | player | |
s32 | saveCount | |
Vec3s | savePos | |
s32 | saveSlot | |
char | unk_12E4[0x2] | |
char | unk_1304[0x7C] | |
char | unk_46E[2] |
struct Path |
struct PauseItemPage |
struct PauseMapSpace |
struct WindowBackground |
struct WindowCorners |
struct WindowStyleCustom |
Data Fields | ||
---|---|---|
WindowBackground | background | |
Color_RGBA8 | color1 | |
Color_RGBA8 | color2 | |
WindowCorners | corners | |
Gfx | opaqueCombineMode | |
Gfx | transparentCombineMode | |
char | unk_1C[0x4] |
union WindowStyle |
Data Fields | ||
---|---|---|
WindowStyleCustom * | customStyle | |
int | defaultStyleID |
struct DisplayContext |
struct PlayerSpinState |
struct TweesterPhysics |
struct PartnerStatus |
struct KnockdownData |
struct VirtualEntity |
struct Message |
struct PopupMessage |
Data Fields | ||
---|---|---|
s16 | active | |
s16 | duration | |
Message * | message | |
s16 | messageIndex | |
s8 | needsInit | |
PopupMessageCallback | renderUIFunc | |
PopupMessageCallback | renderWorldFunc | |
s8 | showMsgState | |
s32 | unk_00 | |
PopupMessageCallback | updateFunc |
struct HiddenPanelsData |
struct SpriteShadingLightSource |
Data Fields | ||
---|---|---|
f32 | falloff | |
s8 | flags | |
Vec3f | pos | |
Color_RGB8 | rgb | |
s8 | unk_14 | |
char | unk_15[0x3] |
struct SpriteShadingProfile |
Data Fields | ||
---|---|---|
Color_RGB8 | ambientColor | |
u8 | ambientPower | |
u16 | flags | |
SpriteShadingLightSource | sources[7] | |
char | unk_02[0x2] |
struct ImgFXOverlayTexture |
struct ImgFXTexture |
struct ImgFXWorkingTexture |
Data Fields | ||
---|---|---|
u8 | alphaMultiplier | |
ImgFXTexture | tex | |
s16 | unk_18 | |
char | unk_1A[0x4] | |
s16 | unk_1E | |
char | unk_20[0x4] |
struct SongUpdateEvent |
struct MusicEvent |
Data Fields | ||
---|---|---|
s32 | musicEventID | |
EvtScript * | scripts[4] |
struct CreditsEntry |
struct CreditsLine |
struct CreditsChar |
struct CreditsData |
Data Fields | ||
---|---|---|
CreditsLine | lines[32] | |
u32 | workerID |
struct PartnerDMAData |
Data Fields | ||
---|---|---|
struct ActorBlueprint * | ActorBlueprint | |
void * | dmaDest | |
u32 | dmaEnd | |
u32 | dmaStart | |
s32 | y |
struct UseItemStruct |
Data Fields | ||
---|---|---|
u8 * | dmaEnd | |
u8 * | dmaStart | |
EvtScript * | main | |
s32 | unk_0C |
struct LavaPiranhaVine |
struct SpeechBubbleData |
union Npc.blur |
Data Fields | ||
---|---|---|
void * | any | |
NpcChompBlur * | chomp | |
NpcFollowData * | followData | |
struct Npc * | keepAwayNpc | |
s32 * | keepAwayStarted | |
NpcMotionBlur * | motion | Null unless flag 0x100000 is set. |
NpcQuizmoBlur * | quizmo |
union Trigger.location |
Data Fields | ||
---|---|---|
struct BombTrigger * | blast | |
s32 | colliderID |
union Evt.__unnamed7__ |
union Evt.owner1 |
union Evt.owner2 |
union CameraControlSettings.points |
Data Fields | ||
---|---|---|
struct CameraControlSettings.points.three | three | |
struct CameraControlSettings.points.two | two |
union Camera.params |
Data Fields | ||
---|---|---|
struct Camera.params.basic | basic | |
struct Camera.params.confined | confined | |
struct Camera.params.interp | interp | |
struct Camera.params.radial | radial | |
struct Camera.params.world | world |
struct Camera.params.world |
struct Camera.params.basic |
union BattleStatus.__unnamed24__ |
union Collider.__unnamed26__ |
Data Fields | ||
---|---|---|
struct ColliderBoundingBox * | aabb | |
struct CameraControlSettings * | camSettings |
union CollisionData.__unnamed28__ |
Data Fields | ||
---|---|---|
struct ColliderBoundingBox * | aabbs | |
struct CameraControlSettings * | camSettings |
struct PartnerAnimations.__unnamed31__ |
union ActorPartMovement.__unnamed33__ |
union ActorState.__unnamed35__ |
union ActorState.__unnamed37__ |
union Actor.shadow |
Data Fields | ||
---|---|---|
s32 | id | |
struct Shadow * | ptr |
#define ACTOR_BLUR_FRAMES 16 |
Referenced by appendGfx_nonplayer_actor_blur().
#define DISPLAYCONTEXT_GFX_COUNT 0x2080 |
#define IMG_BIN u8 |
#define IMG_PTR u8* |
#define MAX_ACTOR_DECORATIONS 2 |
#define MAX_NPC_DECORATIONS 2 |
Referenced by free_npc(), free_npc_by_index(), npc_reload_all(), and npc_update_decorations().
#define MSG_BIN u8 |
#define MSG_PTR u8* |
#define NPC_BLUR_FRAMES 20 |
Referenced by appendGfx_npc_blur().
#define PAL_BIN u16 |
#define PAL_PTR u16* |
Referenced by appendGfx_message(), appendGfx_sticker(), func_unkA_draw_npc(), func_unkA_draw_player(), hud_element_draw_rect(), load_texture_impl(), make_flash_palettes(), npc_reload_all(), npc_render_with_double_pal_blending(), npc_render_with_single_pal_blending(), npc_render_with_watt_idle_palettes(), render_hud_element(), render_with_berserk_palettes(), render_with_fear_palettes(), render_with_pal_blending(), render_with_palset_blending(), render_with_paralyze_palettes(), render_with_player_debuff_palettes(), render_with_poison_palettes(), render_with_sleep_palettes(), render_with_static_palettes(), render_with_watt_attack_palettes(), render_with_watt_idle_palettes(), sparkle_script_step(), spr_draw_component(), spr_draw_npc_sprite(), spr_draw_player_sprite(), spr_get_npc_raster_info(), spr_load_sprite(), and step_entity_model_commandlist().
#define PRINT_BUFFER_SIZE 1088 |
typedef ModelAnimator* AnimatedMeshList[16] |
typedef AnimatedModel* AnimatedModelList[16] |
typedef u32 AnimID |
typedef s16 b16 |
typedef s32 b32 |
typedef s8 b8 |
typedef s32(* EntityCallback) (struct Entity *) |
typedef Entity* EntityList[30] |
typedef Bytecode EvtScript[] |
typedef s32 HitID |
typedef f32 Matrix4f[4][4] |
typedef u32 MusicEventTrigger |
typedef void NoArgCallback(void *) |
typedef Npc* NpcList[64] |
typedef void(* PopupMessageCallback) (void *popup) |
typedef Evt* ScriptList[128] |
typedef void(* ShadowCallback) (struct Shadow *) |
typedef Shadow* ShadowList[60] |
typedef Trigger* TriggerList[64] |
typedef VirtualEntity* VirtualEntityList[0x40] |
typedef Worker* WorkerList[16] |