papermario
Decompilation of Paper Mario
 
Loading...
Searching...
No Matches
common_structs.h File Reference

Data Structures

struct  Color_RGBA8
 
struct  Color_RGB8
 
struct  Vec2b
 
struct  Vec2bu
 
struct  Vec3b
 
struct  Vec2s
 
struct  Vec2su
 
struct  Vec3s
 
struct  Vec2i
 
struct  VecXZi
 
struct  Vec3i
 
struct  Vec2f
 
struct  VecXZf
 
struct  Vec3f
 
struct  Vec4f
 
struct  Color4f
 
struct  Color3i
 
struct  Color4i
 
struct  Matrix4s
 
struct  CameraRig
 
struct  DmaTable
 
struct  PartnerData
 
struct  HeapNode
 
struct  NpcMotionBlur
 Ring buffer of an NPC's position over the past 20 frames. More...
 
struct  NpcChompBlur
 
struct  NpcQuizmoBlur
 
struct  NpcHistoryPoint
 
struct  FollowAnims
 
struct  NpcFollowData
 
struct  Npc
 
struct  PlayerData
 
struct  Trigger
 
struct  TriggerBlueprint
 
struct  Evt
 
struct  DmaEntry
 
struct  EntityBlueprint
 
union  EntityData
 
struct  Entity
 
struct  ShadowBlueprint
 
struct  Shadow
 
struct  Worker
 
struct  MusicSettings
 
struct  MusicProximityTrigger
 
struct  StatusBar
 
struct  CameraInitData
 
struct  CameraUnk
 
struct  CameraControlSettings
 
struct  Camera
 
struct  BattleStatus
 
struct  TextureHeader
 
struct  MoveData
 
struct  Collider
 
struct  CollisionData
 
struct  AnimatorNode
 
struct  AnimatorNodeBlueprint
 
struct  StaticAnimatorNode
 
struct  ModelAnimator
 
struct  ColliderBoundingBox
 
struct  ItemData
 
struct  ItemEntity
 
struct  MessagePrintState
 
struct  MessageDrawState
 
struct  MessageCharData
 
struct  MessageCharset
 
struct  MesasgeFontGlyphData
 
struct  MessageImageData
 
struct  MessageNumber
 
struct  ShopItemEntity
 
struct  ShopOwner
 
struct  ShopItemLocation
 
struct  ShopItemData
 
struct  ShopSellPriceData
 
struct  GameStatus
 
union  PartnerAnimations
 
struct  PushBlockGrid
 
struct  ItemEntityPhysicsData
 
struct  RenderTask
 
struct  SelectableTarget
 
struct  ActorPartMovement
 
struct  ActorPartBlueprint
 
struct  ActorPart
 
struct  ColliderTriangle
 
struct  FontRasterSet
 
struct  CollisionStatus
 
struct  DecorFireTrail
 
struct  DecorGoldenFlames
 
struct  DecorRedFlames
 
struct  DecorBowserAura
 
struct  DecorDataSparkles
 
struct  DecorDataStars
 
union  DecorationData
 
struct  DecorationTable
 
struct  PlayerPathElement
 
struct  LavaReset
 
struct  BombTrigger
 
struct  AnimatedModel
 
struct  CollisionHeader
 
struct  ActorMovement
 
struct  ChompChain
 
struct  ActorState
 
struct  Actor
 
struct  BackgroundHeader
 
struct  FontData
 
struct  SlideParams
 
struct  PlayerStatus
 
struct  SaveGlobals
 
struct  SaveData
 
struct  Path
 
struct  PauseItemPage
 
struct  PauseMapSpace
 
struct  MenuPanel
 
struct  WindowBackground
 
struct  WindowCorners
 
struct  WindowStyleCustom
 
union  WindowStyle
 
union  WindowUpdateFunc
 
struct  MenuWindowBP
 
struct  Window
 
struct  DisplayContext
 
struct  PlayerSpinState
 
struct  TweesterPhysics
 
struct  PartnerStatus
 
struct  SpriteRasterInfo
 
struct  KnockdownData
 
struct  VirtualEntity
 
struct  Message
 
struct  PopupMessage
 
struct  HiddenPanelsData
 
struct  SpriteShadingLightSource
 
struct  SpriteShadingProfile
 
struct  ImgFXOverlayTexture
 
struct  ImgFXTexture
 
struct  ImgFXWorkingTexture
 
struct  SongUpdateEvent
 
struct  MusicEvent
 
struct  ParadeNpcInfo
 
struct  CreditsEntry
 
struct  CreditsLine
 
struct  CreditsChar
 
struct  CreditsData
 
struct  CreditsPairOffset
 
struct  PartnerDMAData
 
struct  UseItemStruct
 
struct  MsgVoice
 
struct  Rect
 
struct  LavaPiranhaVine
 
struct  SpeechBubbleData
 
union  Npc.blur
 
union  Trigger.location
 
union  Trigger.__unnamed5__
 
union  Evt.__unnamed7__
 
union  Evt.__unnamed9__
 
union  Evt.owner1
 
union  Evt.owner2
 
union  EntityBlueprint.__unnamed13__
 
union  CameraControlSettings.points
 
struct  CameraControlSettings.points.two
 
struct  CameraControlSettings.points.three
 
union  Camera.params
 
struct  Camera.params.world
 
struct  Camera.params.basic
 
struct  Camera.params.interp
 
struct  Camera.params.radial
 
struct  Camera.params.confined
 
union  BattleStatus.__unnamed24__
 
union  Collider.__unnamed26__
 
union  CollisionData.__unnamed28__
 
union  AnimatorNode.fcData
 
struct  PartnerAnimations.__unnamed31__
 
union  ActorPartMovement.__unnamed33__
 
union  ActorState.__unnamed35__
 
union  ActorState.__unnamed37__
 
union  Actor.shadow
 

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 NpcNpcList[64]
 
typedef TriggerTriggerList[64]
 
typedef EvtScriptList[128]
 
typedef s32(* EntityCallback) (struct Entity *)
 
typedef EntityEntityList[30]
 
typedef void(* ShadowCallback) (struct Shadow *)
 
typedef ShadowShadowList[60]
 
typedef WorkerWorkerList[16]
 
typedef ModelAnimatorAnimatedMeshList[16]
 
typedef s32(* PushBlockFallCallback) (Entity *block, Evt *script)
 
typedef AnimatedModelAnimatedModelList[16]
 
typedef VirtualEntityVirtualEntityList[0x40]
 
typedef void(* PopupMessageCallback) (void *popup)
 
typedef u32 MusicEventTrigger
 

Data Structure Documentation

◆ Color_RGBA8

struct Color_RGBA8
Data Fields
u8 a
u8 b
u8 g
u8 r

◆ Color_RGB8

struct Color_RGB8
Data Fields
u8 b
u8 g
u8 r

◆ Vec2b

struct Vec2b
Data Fields
s8 x
s8 y

◆ Vec2bu

struct Vec2bu
Data Fields
u8 x
u8 y

◆ Vec3b

struct Vec3b
Data Fields
s8 x
s8 y
s8 z

◆ Vec2s

struct Vec2s
Data Fields
s16 x
s16 y

◆ Vec2su

struct Vec2su
Data Fields
u16 x
u16 y

◆ Vec3s

struct Vec3s
Data Fields
s16 x
s16 y
s16 z

◆ Vec2i

struct Vec2i
Data Fields
s32 x
s32 y

◆ VecXZi

struct VecXZi
Data Fields
s32 x
s32 z

◆ Vec3i

struct Vec3i
Data Fields
s32 x
s32 y
s32 z

◆ Vec2f

struct Vec2f
Data Fields
f32 x
f32 y

◆ VecXZf

struct VecXZf
Data Fields
f32 x
f32 z

◆ Vec3f

struct Vec3f
Data Fields
f32 x
f32 y
f32 z

◆ Vec4f

struct Vec4f
Data Fields
f32 x
f32 y
f32 yaw
f32 z

◆ Color4f

struct Color4f
Data Fields
f32 a
f32 b
f32 g
f32 r

◆ Color3i

struct Color3i
Data Fields
s32 b
s32 g
s32 r

◆ Color4i

struct Color4i
Data Fields
s32 a
s32 b
s32 g
s32 r

◆ Matrix4s

struct Matrix4s
Data Fields
s16 frac[4][4]
s16 whole[4][4]

◆ CameraRig

struct CameraRig
Data Fields
f32 boomLength
f32 boomPitch
f32 boomYaw
Vec3f targetPos
f32 viewPitch

◆ DmaTable

struct DmaTable
Data Fields
u8 * dest
u8 * end
u8 * start

◆ PartnerData

struct PartnerData
Data Fields
u8 enabled
s8 level
s16 unk_02[3]

◆ HeapNode

struct HeapNode
Data Fields
u16 allocated
u32 capacity
u16 entryID
u32 length
struct HeapNode * next

◆ NpcMotionBlur

struct NpcMotionBlur
Data Fields
s8 index Current blur ring buffer index.
f32 posX[20]
f32 posY[20]
f32 posZ[20]
char unk_02[2]
s8 unused

◆ NpcChompBlur

struct NpcChompBlur
Data Fields
struct Npc * npc
Vec3f offset

◆ NpcQuizmoBlur

struct NpcQuizmoBlur
Data Fields
s32 flags
char unk_04[0x4]

◆ NpcHistoryPoint

struct NpcHistoryPoint
Data Fields
b8 isAirborne
Vec3f pos
char unk_01[0x3]

◆ FollowAnims

struct FollowAnims
Data Fields
AnimID fall
AnimID idle
AnimID jump
AnimID land
AnimID run
AnimID walk

◆ NpcFollowData

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

◆ PlayerData

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

◆ Evt

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]

◆ DmaEntry

struct DmaEntry
Data Fields
void * end
void * start

◆ EntityData

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

◆ Shadow

struct Shadow
Data Fields
u8 alpha
s16 entityModelID
s32 flags
u8 listIndex
Vec3f pos
Vec3f rot
Vec3f scale
Mtx transformMatrix
u8 unk_06
char unk_07
char unk_34[0x4]
Vec3s * vertexArray
s16 vertexSegment

◆ MusicSettings

struct MusicSettings
Data Fields
s32 battleSongID
s32 battleVariation
s16 fadeEndVolume
s32 fadeInTime
s32 fadeOutTime
s16 fadeStartVolume
u16 flags
s32 savedSongID
s32 savedSongName
s32 savedVariation
s32 songID
s32 songName
s16 state
s32 variation

◆ MusicProximityTrigger

struct MusicProximityTrigger
Data Fields
f32 innerDist
s32 manualActivationFlag
f32 outerDist
VecXZf pos
s32 unk

◆ StatusBar

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

◆ CameraInitData

struct CameraInitData
Data Fields
s16 farClip
s16 flags
s16 nearClip
char unk_03
s8 updateMode
s16 vfov
s16 viewHeight
s16 viewStartX
s16 viewStartY
s16 viewWidth

◆ CameraUnk

struct CameraUnk
Data Fields
s16 unk_00
s16 unk_02
char unk_04[0x8]
s32 unk_0C
char unk_10[0x54]
s32 unk_64
char unk_68[0x24]

◆ CameraControlSettings

struct CameraControlSettings
Data Fields
f32 boomLength
f32 boomPitch
b32 flag
union CameraControlSettings.points points
s32 type
f32 viewPitch

◆ TextureHeader

struct TextureHeader
Data Fields
u8 auxBitDepth: 4
u8 auxCombineSubType: 2
u8 auxCombineType: 6
u8 auxFmt: 4
u16 auxH
u16 auxW
u8 auxWrapH: 4
u8 auxWrapW: 4
u8 extraTiles
u8 filtering
u8 isVariant
u8 mainBitDepth: 4
u8 mainFmt: 4
u16 mainH
u16 mainW
u8 mainWrapH: 4
u8 mainWrapW: 4
s8 name[32]

◆ MoveData

struct MoveData
Data Fields
u8 actionTip
s8 category
See also
enum MoveType
s8 costBP
s8 costFP
s32 flags
s32 fullDescMsg
s32 nameMsg
s32 shortDescMsg

◆ Collider

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

◆ CollisionData

struct CollisionData
Data Fields
union CollisionData.__unnamed28__ __unnamed__
Collider * colliderList
s16 numColliders
char unk_0E[2]
Vec3f * vertices

◆ AnimatorNode

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

◆ AnimatorNodeBlueprint

struct AnimatorNodeBlueprint
Data Fields
Vec3f basePos
void * displayList
Vec3f rot
char unk_1C[0x4]

◆ StaticAnimatorNode

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

◆ ColliderBoundingBox

struct ColliderBoundingBox
Data Fields
s32 flagsForCollider
Vec3f max
Vec3f min

◆ ItemData

struct ItemData
Data Fields
s32 fullDescMsg
s16 hudElemID
u8 moveID
s32 nameMsg
s8 potencyA
s8 potencyB
s16 sellValue
s32 shortDescMsg
s16 sortValue
s32 targetFlags
s16 typeFlags
char unk_0E[2]
char unk_1D[3]

◆ ItemEntity

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]

◆ MessagePrintState

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

◆ MessageDrawState

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

◆ MessageCharData

struct MessageCharData
Data Fields
u8 baseHeightOffset
u8 * charWidthTable
u8 monospaceWidth
u8 * raster
char unk_0A[0x2]

◆ MessageCharset

struct MessageCharset
Data Fields
u16 charRasterSize
u8 newLineY
MessageCharData * rasters
Vec2bu texSize
s8 unk_02
char unk_06[0x2]

◆ MesasgeFontGlyphData

struct MesasgeFontGlyphData
Data Fields
u8 charHeight
u8 charWidth
u16 * palette
u8 * raster
Vec2bu texSize

◆ MessageImageData

struct MessageImageData
Data Fields
s32 bitDepth
s32 format
u16 height
u16 * palette
u8 * raster
u16 width

◆ MessageNumber

struct MessageNumber
Data Fields
u8 digitWidth[10]
u8 fixedWidth
u8 * rasters
u8 texHeight
u8 texSize
u8 texWidth
char unk_12[0x2]

◆ ShopItemEntity

struct ShopItemEntity
Data Fields
s32 index
Vec3f pos

◆ ShopOwner

struct ShopOwner
Data Fields
s32 idleAnim
s32 npcID
EvtScript * onBuyEvt
EvtScript * onTalkEvt
s32 * shopMsgIDs
s32 talkAnim
EvtScript * unk_10Evt

◆ ShopItemLocation

struct ShopItemLocation
Data Fields
u16 posModelID
u16 triggerColliderID

◆ ShopItemData

struct ShopItemData
Data Fields
s32 descMsg
u32 itemID
s32 price

◆ ShopSellPriceData

struct ShopSellPriceData
Data Fields
s32 itemID
s32 sellPrice
char unk_08[0x4]

◆ GameStatus

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
See also
PeachBakingItems enum
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]

◆ PartnerAnimations

union PartnerAnimations
Data Fields
struct PartnerAnimations.__unnamed31__ __unnamed__
s32 anims[9]

◆ ItemEntityPhysicsData

struct ItemEntityPhysicsData
Data Fields
f32 collisionRadius
f32 constVel
f32 gravity
f32 moveAngle
s32 timeLeft
b32 useSimplePhysics
f32 velX
f32 velZ
f32 verticalVel

◆ SelectableTarget

struct SelectableTarget
Data Fields
s16 actorID
s8 column
s8 layer
s16 partID
s8 priorityOffset
s8 row
Vec3s sortPos
Vec3s truePos

◆ ActorPartMovement

struct ActorPartMovement
Data Fields
union ActorPartMovement.__unnamed33__ __unnamed__
Vec3f absolutePos
f32 angle
f32 dist
Vec3f goalPos
f32 jumpScale
f32 moveSpeed
s16 moveTime
Vec3f unk_18
f32 unk_2C
s16 unk_3A
s32 unk_3C
char unk_40[0xC]

◆ ActorPartBlueprint

struct ActorPartBlueprint
Data Fields
s32 * defenseTable
s32 elementImmunityFlags
s32 eventFlags
s32 flags
s32 * idleAnimations
s8 index
s16 opacity
s32 overrideNameMsg
Vec3b posOffset
Vec2b projectileTargetOffset
Vec2b targetOffset
char unk_1E[2]

◆ ActorPart

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

◆ ColliderTriangle

struct ColliderTriangle
Data Fields
Vec3f e13
Vec3f e21
Vec3f e32
Vec3f normal
s16 oneSided
char unk_3E[2]
Vec3f * v1
Vec3f * v2
Vec3f * v3

◆ FontRasterSet

struct FontRasterSet
Data Fields
u8 sizeX
u8 sizeY
char unk_02[10]

◆ CollisionStatus

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]

◆ DecorFireTrail

struct DecorFireTrail
Data Fields
s16 scale

◆ DecorGoldenFlames

struct DecorGoldenFlames
Data Fields
s16 offsetX
s16 scaleX
s16 scaleY

◆ DecorRedFlames

struct DecorRedFlames
Data Fields
s16 alpha
s16 offsetZ
s16 scaleX
s16 scaleY
s16 unused1
s16 unused2
s16 unused3

◆ DecorBowserAura

struct DecorBowserAura
Data Fields
s16 alpha
s16 offsetZ
s16 scaleX
s16 scaleY

◆ DecorDataSparkles

struct DecorDataSparkles
Data Fields
s16 spawnInterval

◆ DecorDataStars

struct DecorDataStars
Data Fields
s16 offsetY
s16 scalePct

◆ DecorationData

union DecorationData
Data Fields
DecorBowserAura bowserAura
DecorFireTrail fireTrail
DecorGoldenFlames goldenFlames
s16 raw[8]
DecorRedFlames redFlames
DecorDataSparkles sparkles
DecorDataStars stars

◆ DecorationTable

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]

◆ PlayerPathElement

struct PlayerPathElement
Data Fields
b8 isJumping
Vec3f pos
char unk_01[3]

◆ LavaReset

struct LavaReset
Data Fields
s32 colliderID
Vec3f pos

◆ BombTrigger

struct BombTrigger
Data Fields
f32 diameter
Vec3f pos

◆ AnimatedModel

struct AnimatedModel
Data Fields
s32 animModelID
s16 * curAnimData
Mtx mtx
Vec3f pos
Vec3f rot
Vec3f scale
char unk_6C[4]

◆ CollisionHeader

struct CollisionHeader
Data Fields
s32 bbTableOffset
s16 bbTableSize
s16 numColliders
s16 numVerts
s32 treeOffset
s32 triangleTableOffset
char unk_02[2]
char unk_0A[2]
char unk_12[2]
char unk_18[8]

◆ ActorMovement

struct ActorMovement
Data Fields
f32 acceleration
f32 angle
Vec3f curPos
f32 dist
s16 flyArcAmplitude
f32 flyElapsed
s16 flyTime
Vec3f goalPos
f32 speed
char unk_11C[4]
Vec3f unk_18
char unk_24[0x18]
f32 vel

◆ ChompChain

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

◆ ActorState

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

◆ Actor

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

◆ BackgroundHeader

struct BackgroundHeader
Data Fields
u16 height
u16 * palette
u8 * raster
u16 startX
u16 startY
u16 width

◆ FontData

struct FontData
Data Fields
char unk_00[24]

◆ SlideParams

struct SlideParams
Data Fields
f32 heading
f32 integrator[4]
f32 launchVel
f32 maxDescendAccel
f32 maxDescendVel

◆ PlayerStatus

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

◆ SaveGlobals

struct SaveGlobals
Data Fields
s32 crc1
s32 crc2
u32 lastFileSelected
char magicString[16]
s8 pad[32]
s8 reserved[64]
s32 useMonoSound

◆ SaveMetadata

struct SaveMetadata
Data Fields
unsigned char filename[8]
s8 level
u8 spiritsRescued
s32 timePlayed
char unk_05[1]
char unk_0F[9]

◆ SaveData

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]

◆ Path

struct Path
Data Fields
s32 easingType
f32 * lengths
s32 numVectors
Vec3f * staticVectorList
s32 timeElapsed
s32 timeLeft
Vec3f * vectors

◆ PauseItemPage

struct PauseItemPage
Data Fields
s32 count
u8 enabled
u8 listStart
u8 numCols
u8 numRows
s32 startIndex

◆ PauseMapSpace

struct PauseMapSpace
Data Fields
s32 afterRequirement
s32 id
u8 parent
Vec2b * path
u8 pathLength
Vec2s pos

◆ WindowBackground

struct WindowBackground
Data Fields
u8 bitDepth: 4
u8 fmt: 4
u8 height
u8 * imgData
s8 size
char unk_07[4]
u8 width

◆ WindowCorners

struct WindowCorners
Data Fields
u8 bitDepth: 4
u8 fmt: 4
u8 * imgData
Vec2bu size1
Vec2bu size2
Vec2bu size3
Vec2bu size4
char unk_0D[3]

◆ WindowStyleCustom

struct WindowStyleCustom
Data Fields
WindowBackground background
Color_RGBA8 color1
Color_RGBA8 color2
WindowCorners corners
Gfx opaqueCombineMode
Gfx transparentCombineMode
char unk_1C[0x4]

◆ WindowStyle

union WindowStyle
Data Fields
WindowStyleCustom * customStyle
int defaultStyleID

◆ DisplayContext

struct DisplayContext
Data Fields
Gfx backgroundGfx[0x200]
Mtx camPerspMatrix[8]
Hilite hilite
LookAt lookAt
Gfx mainGfx[0x2080]
Mtx matrixStack[0x200]

◆ PlayerSpinState

struct PlayerSpinState
Data Fields
Vec2i bufferedStickAxis
f32 frictionScale
s16 fullSpeedSpinTime
s8 hasBufferedSpin
s8 hitWallTime
s16 initialSpinTime
f32 inputMagnitude
s32 prevActionState
f32 speedScale
s8 spinCountdown
Vec2f spinDirection
f32 spinDirectionMagnitude
f32 spinRate
s32 spinSoundID
s8 stopSoundTimer

◆ TweesterPhysics

struct TweesterPhysics
Data Fields
f32 angle
f32 angularVel
s32 countdown
f32 liftoffVelPhase
s32 prevFlags Partner npc flags before contact with Tweester.
f32 radius
s32 state

◆ PartnerStatus

struct PartnerStatus
Data Fields
s8 actingPartner
s32 curButtons
s32 heldButtons
s8 inputDisabledCount
Npc npc
b8 partnerAction_unk_2
s8 partnerActionState
s32 pressedButtons
b8 shouldResumeAbility
s16 stickX
s16 stickY
char unk_15[3]
s32 unk_358
char unk_35C[0x4]

◆ SpriteRasterInfo

struct SpriteRasterInfo
Data Fields
u16 * defaultPal
s32 height
u8 * raster
s32 width

◆ KnockdownData

struct KnockdownData
Data Fields
f32 height
s32 imgfxIdx
Vec3f pos
s32 rasterIndex
Vec3f rot
Vec3f scale
s32 spriteIndex
f32 width
s32 workerID

◆ VirtualEntity

struct VirtualEntity
Data Fields
s32 entityModelIndex
Vec3f goalPos
f32 jumpGravity
f32 jumpVel
f32 moveAngle
f32 moveDist
f32 moveSpeed
f32 moveTime
Vec3f pos
Vec3f rot
Vec3f scale

◆ Message

struct Message
Data Fields
Vec3f accel
s32 appearTime
s32 deleteTime
s32 entityModelIndex
Vec3f pos
f32 rotVelZ
f32 rotY
f32 rotZ
f32 scale
b32 unk_00
s32 unk_24
f32 unk_48
Vec3f vel

◆ PopupMessage

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

◆ HiddenPanelsData

struct HiddenPanelsData
Data Fields
s8 activateISpy
f32 flipTriggerPosY
u8 panelsCount
s8 tryFlipTrigger
char unk_03[0x5]
char unk_0C[0x4]

◆ SpriteShadingLightSource

struct SpriteShadingLightSource
Data Fields
f32 falloff
s8 flags
Vec3f pos
Color_RGB8 rgb
s8 unk_14
char unk_15[0x3]

◆ SpriteShadingProfile

struct SpriteShadingProfile
Data Fields
Color_RGB8 ambientColor
u8 ambientPower
u16 flags
SpriteShadingLightSource sources[7]
char unk_02[0x2]

◆ ImgFXOverlayTexture

struct ImgFXOverlayTexture
Data Fields
Gfx * displayList
u16 height
s32 offsetX
s32 offsetY
u16 * palette
u8 * raster
u16 width

◆ ImgFXTexture

struct ImgFXTexture
Data Fields
u8 alpha
Gfx * dlist
u16 height
u16 * palette
u8 * raster
char unk_11[3]
u16 width
s16 xOffset
s16 yOffset

◆ ImgFXWorkingTexture

struct ImgFXWorkingTexture
Data Fields
u8 alphaMultiplier
ImgFXTexture tex
s16 unk_18
char unk_1A[0x4]
s16 unk_1E
char unk_20[0x4]

◆ SongUpdateEvent

struct SongUpdateEvent
Data Fields
s32 duration
s32 finalVolume
s32 songName
s32 startVolume
s32 unk14
s32 unk18
s32 unk1C
s32 variation

◆ MusicEvent

struct MusicEvent
Data Fields
s32 musicEventID
EvtScript * scripts[4]

◆ ParadeNpcInfo

struct ParadeNpcInfo
Data Fields
AnimID * animList
u32 initialAnim
Vec3f pos
f32 yaw

◆ CreditsEntry

struct CreditsEntry
Data Fields
s32 appearMode
s32 appearTime
s16 flags
s32 holdMode
s32 holdTime
s32 msgID
s32 next
char pad_36[2]
s32 palette
s32 perCharDelayIn
s32 perCharDelayOut
s32 posX
s32 posY
s32 vanishMode
s32 vanishTime

◆ CreditsLine

struct CreditsLine
Data Fields
s32 appearMode
s32 appearTime
s16 flags
s32 holdMode
s32 holdTime
u8 * message
s32 msgWidth
s32 palette
s32 perCharDelayIn
s32 perCharDelayOut
s32 posX
s32 posY
s32 state
s32 time
char unk_04[0x4]
char unk_24[0x10]
char unk_3C[0x10]
char unk_58[0x10]
char unk_72[2]
s32 vanishMode
s32 vanishTime

◆ CreditsChar

struct CreditsChar
Data Fields
s32 charIndex
s32 fadeInTime
s32 font
s32 palette
s32 posX
s32 posY
s32 variation

◆ CreditsData

struct CreditsData
Data Fields
CreditsLine lines[32]
u32 workerID

◆ CreditsPairOffset

struct CreditsPairOffset
Data Fields
u8 firstChar
s16 offset
u8 secondChar

◆ PartnerDMAData

struct PartnerDMAData
Data Fields
struct ActorBlueprint * ActorBlueprint
void * dmaDest
u32 dmaEnd
u32 dmaStart
s32 y

◆ UseItemStruct

struct UseItemStruct
Data Fields
u8 * dmaEnd
u8 * dmaStart
EvtScript * main
s32 unk_0C

◆ MsgVoice

struct MsgVoice
Data Fields
s32 pitchShift
s32 voiceA
s32 voiceB

◆ Rect

struct Rect
Data Fields
s32 lrx
s32 lry
s32 ulx
s32 uly

◆ LavaPiranhaVine

struct LavaPiranhaVine
Data Fields
s32 boneCount
f32 boneLength
Vec3f bonePos[9]
f32 boneRot[9]
s32 numPoints
Vec3f points[27]

◆ SpeechBubbleData

struct SpeechBubbleData
Data Fields
u8 brightness
Npc * encounteredNPC
s32 holdTime
Vec3f pos
f32 scale
u8 state
s32 unk_18
f32 unk_1C
char unk_24[6]
f32 yaw

◆ Npc.blur

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

◆ Trigger.location

union Trigger.location
Data Fields
struct BombTrigger * blast
s32 colliderID

◆ Trigger.__unnamed5__

union Trigger.__unnamed5__
Data Fields
s32 varTable[3]
f32 varTableF[3]
void * varTablePtr[3]

◆ Evt.__unnamed7__

union Evt.__unnamed7__
Data Fields
s32 functionTemp[4]
f32 functionTempF[4]
void * functionTempPtr[4]

◆ Evt.__unnamed9__

union Evt.__unnamed9__
Data Fields
s32 varTable[16]
f32 varTableF[16]
void * varTablePtr[16]

◆ Evt.owner1

union Evt.owner1
Data Fields
struct Actor * actor For battle scripts.
s32 actorID
struct Enemy * enemy For overworld scripts owned by an Npc.
s32 enemyID

◆ Evt.owner2

union Evt.owner2
Data Fields
struct Npc * npc For overworld scripts owned by an Npc.
s32 npcID
struct Trigger * trigger
s32 triggerID

◆ EntityBlueprint.__unnamed13__

union EntityBlueprint.__unnamed13__
Data Fields
DmaEntry dma
DmaEntry * dmaList

◆ CameraControlSettings.points

union CameraControlSettings.points

◆ CameraControlSettings.points.two

struct CameraControlSettings.points.two
Data Fields
f32 Ax
f32 Ay
f32 Az
f32 Bx
f32 By
f32 Bz

◆ CameraControlSettings.points.three

struct CameraControlSettings.points.three
Data Fields
f32 Ax
f32 Az
f32 Bx
f32 Bz
f32 Cx
f32 Cz

◆ Camera.params

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

◆ Camera.params.world

struct Camera.params.world
Data Fields
s16 camParam1
s16 camParam2
s16 camParam3
s16 camParam4
s16 camParam5
s16 camParam6
s16 camParam7
s16 zoomPercent

◆ Camera.params.basic

struct Camera.params.basic
Data Fields
s16 camParam7
s16 dist
s16 fovScale
s16 offsetY
s16 pitch
b16 skipRecalc
s16 yaw
s16 zoomPercent

◆ Camera.params.interp

struct Camera.params.interp
Data Fields
s16 dist
s16 offsetY
s16 pitch
s16 yaw

◆ Camera.params.radial

struct Camera.params.radial
Data Fields
s16 dist
s16 minRadius
s16 offsetY
s16 pitch

◆ Camera.params.confined

struct Camera.params.confined
Data Fields
s16 dist
s16 offsetY
s16 xLimit
s16 zLimit

◆ BattleStatus.__unnamed24__

union BattleStatus.__unnamed24__
Data Fields
s32 varTable[16]
f32 varTableF[16]
void * varTablePtr[16]

◆ Collider.__unnamed26__

union Collider.__unnamed26__
Data Fields
struct ColliderBoundingBox * aabb
struct CameraControlSettings * camSettings

◆ CollisionData.__unnamed28__

union CollisionData.__unnamed28__
Data Fields
struct ColliderBoundingBox * aabbs
struct CameraControlSettings * camSettings

◆ AnimatorNode.fcData

union AnimatorNode.fcData
Data Fields
s32 modelID
Vtx * vtxList

◆ PartnerAnimations.__unnamed31__

struct PartnerAnimations.__unnamed31__
Data Fields
s32 fall
s32 fly
s32 hurt
s32 idle
s32 jump
s32 run
s32 still
s32 talk
s32 walk

◆ ActorPartMovement.__unnamed33__

union ActorPartMovement.__unnamed33__
Data Fields
s32 varTable[16]
f32 varTableF[16]
void * varTablePtr[16]

◆ ActorState.__unnamed35__

union ActorState.__unnamed35__
Data Fields
s32 functionTemp[4]
f32 functionTempF[4]
void * functionTempPtr[4]

◆ ActorState.__unnamed37__

union ActorState.__unnamed37__
Data Fields
s32 varTable[16]
f32 varTableF[16]
void * varTablePtr[16]

◆ Actor.shadow

union Actor.shadow
Data Fields
s32 id
struct Shadow * ptr

Macro Definition Documentation

◆ ACTOR_BLUR_FRAMES

#define ACTOR_BLUR_FRAMES   16

◆ DISPLAYCONTEXT_GFX_COUNT

#define DISPLAYCONTEXT_GFX_COUNT   0x2080

◆ IMG_BIN

#define IMG_BIN   u8

◆ IMG_PTR

◆ MAX_ACTOR_DECORATIONS

#define MAX_ACTOR_DECORATIONS   2

◆ MAX_NPC_DECORATIONS

#define MAX_NPC_DECORATIONS   2

◆ MSG_BIN

#define MSG_BIN   u8

◆ MSG_PTR

#define MSG_PTR   u8*

◆ NPC_BLUR_FRAMES

#define NPC_BLUR_FRAMES   20

Referenced by appendGfx_npc_blur().

◆ PAL_BIN

#define PAL_BIN   u16

◆ PAL_PTR

◆ PRINT_BUFFER_SIZE

#define PRINT_BUFFER_SIZE   1088

Typedef Documentation

◆ AnimatedMeshList

typedef ModelAnimator* AnimatedMeshList[16]

◆ AnimatedModelList

typedef AnimatedModel* AnimatedModelList[16]

◆ AnimID

typedef u32 AnimID

◆ ApiFunc

typedef ApiStatus(* ApiFunc) (struct Evt *, s32)

◆ b16

typedef s16 b16

◆ b32

typedef s32 b32

◆ b8

typedef s8 b8

◆ EntityCallback

typedef s32(* EntityCallback) (struct Entity *)

◆ EntityList

typedef Entity* EntityList[30]

◆ EvtScript

typedef Bytecode EvtScript[]

◆ HitID

typedef s32 HitID

◆ Matrix4f

typedef f32 Matrix4f[4][4]

◆ MusicEventTrigger

typedef u32 MusicEventTrigger

◆ NoArgCallback

typedef void NoArgCallback(void *)

◆ NpcList

typedef Npc* NpcList[64]

◆ PopupMessageCallback

typedef void(* PopupMessageCallback) (void *popup)

◆ PushBlockFallCallback

typedef s32(* PushBlockFallCallback) (Entity *block, Evt *script)

◆ ScriptList

typedef Evt* ScriptList[128]

◆ ShadowCallback

typedef void(* ShadowCallback) (struct Shadow *)

◆ ShadowList

typedef Shadow* ShadowList[60]

◆ TriggerList

typedef Trigger* TriggerList[64]

◆ VirtualEntityList

typedef VirtualEntity* VirtualEntityList[0x40]

◆ WorkerList

typedef Worker* WorkerList[16]