Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
common_structs.h File Reference

Go to the source code of this file.

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  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  PartnerData
 
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  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  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  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  MsgVoice
 
struct  Rect
 
struct  LavaPiranhaVine
 
struct  SpeechBubbleData
 
union  Npc.blur
 
union  Trigger.location
 
union  Trigger.__unnamed3__
 
union  Evt.__unnamed5__
 
union  Evt.__unnamed7__
 
union  Evt.owner1
 
union  Evt.owner2
 
union  EntityBlueprint.__unnamed11__
 
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
 
union  PopupMessage.data
 

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 r
u8 g
u8 b
u8 a

◆ Color_RGB8

struct Color_RGB8
Data Fields
u8 r
u8 g
u8 b

◆ 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 z
f32 yaw

◆ Color4f

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

◆ Color3i

struct Color3i
Data Fields
s32 r
s32 g
s32 b

◆ Color4i

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

◆ Matrix4s

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

◆ CameraRig

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

◆ DmaTable

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

◆ HeapNode

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

◆ NpcMotionBlur

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

◆ 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
char unk_01[0x3]
Vec3f pos

◆ FollowAnims

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

◆ NpcFollowData

struct NpcFollowData
Data Fields
NpcHistoryPoint moveHistory[40]
s32 lastPointIdx
s32 targetPointIdx
s32 followState
s32 targetNpcID
FollowAnims * anims
f32 walkSpeed
f32 runSpeed
f32 idleRadius
f32 walkRadius

◆ PartnerData

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

◆ PlayerData

struct PlayerData
Data Fields
s8 bootsLevel
s8 hammerLevel
s8 curHP
s8 curMaxHP
s8 hardMaxHP
s8 curFP
s8 curMaxFP
s8 hardMaxFP
s8 maxBP
s8 level
b8 hasActionCommands
char pad_00B
s16 coins
char unused_00E
u8 starPieces
s8 starPoints
s8 unused_011
s8 curPartner
char pad_013
PartnerData partners[12]
s16 keyItems[32]
s16 badges[128]
s16 invItems[10]
s16 storedItems[32]
s16 equippedBadges[64]
s8 unused_288
s8 merleeSpellType
s8 merleeCastsLeft
char pad_28B
s16 merleeTurnCount
s8 maxStarPower
char pad_28F
s16 starPower
s8 starBeamLevel
char pad_293
u16 actionCommandAttempts
u16 actionCommandSuccesses
u16 hitsTaken
u16 hitsBlocked
u16 playerFirstStrikes
u16 enemyFirstStrikes
u16 powerBounces
u16 battlesCount
u16 battlesWon
u16 fleeAttempts
u16 battlesFled
u16 trainingsDone
s32 walkingStepsTaken
s32 runningStepsTaken
u32 totalCoinsEarned
s16 idleFrameCounter
char pad_2BA[2]
u32 frameCounter
u16 quizzesAnswered
u16 quizzesCorrect
s32 partnerUnlockedTime[12]
s32 partnerUsedTime[12]
s32 tradeEventStartTime
s32 droTreeHintTime
u16 starPiecesCollected
u16 jumpGamePlays
u32 jumpGameTotal
u16 jumpGameRecord
u16 smashGamePlays
u32 smashGameTotal
u16 smashGameRecord
char pad_33E[2]
char reserved[0xE8]

◆ Evt

struct Evt
Data Fields
u8 stateFlags
u8 curArgc
u8 curOpcode
u8 priority
u8 groupFlags
s8 blocked
s8 loopDepth
s8 switchDepth
Bytecode * ptrNextLine
Bytecode * ptrReadPos
s8 labelIndices[16]
void * labelPositions[16]
void * userData
struct Evt * blockingParent
struct Evt * childScript
struct Evt * parentScript
union Evt.__unnamed5__ __unnamed__
ApiFunc callFunction
union Evt.__unnamed7__ __unnamed__
s32 varFlags[3]
s32 loopStartTable[8]
s32 loopCounterTable[8]
s8 switchBlockState[8]
s32 switchBlockValue[8]
s32 * buffer
s32 * array
s32 * flagArray
s32 id
union Evt.owner1 owner1 Initially -1.
union Evt.owner2 owner2 Initially -1.
f32 timeScale
f32 frameCounter
s32 unk_158
Bytecode * ptrFirstLine
Bytecode * ptrSavedPos
Bytecode * ptrCurLine

◆ DmaEntry

struct DmaEntry
Data Fields
void * start
void * end

◆ EntityData

union EntityData
Data Fields
s32 * any
struct SaveBlockData * saveBlock
struct SwitchData * swtch
struct ShatteringBlockData * shatteringBlock
struct BlockData * block
struct WoodenCrateData * crate
struct ChestData * chest
struct BlueWarpPipeData * bluePipe
struct HeartBlockContentData * heartBlockContent
struct SuperBlockContentData * superBlockContent
struct SimpleSpringData * simpleSpring
struct HiddenPanelData * hiddenPanel
struct SignpostData * signPost
struct PadlockData * padlock
struct BoardedFloorData * boardedFloor
struct BombableRockData * bombableRock
struct TweesterData * tweester
struct StarBoxLauncherData * starBoxLauncher
struct CymbalPlantData * cymbalPlant
struct PinkFlowerData * pinkFlower
struct SpinningFlowerData * spinningFlower
struct TrumpetPlantData * trumpetPlant
struct MunchlesiaData * munchlesia
struct ArrowSignData * arrowSign

◆ Shadow

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

◆ MusicSettings

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

◆ MusicProximityTrigger

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

◆ StatusBar

struct StatusBar
Data Fields
s32 hpIconHIDs[2]
s32 fpIconHIDs[2]
s32 coinIconHID
s32 coinSparkleHID
s32 spIconHID
s32 spShineHID
s32 hpTimesHID
s32 fpTimesHID
s32 spTimesHID
s32 coinTimesHID
s32 starIconHID
s16 drawPosX
s16 drawPosY
s16 showTimer
b8 hidden
b8 unk_3B
b8 unk_3C
s8 displayHP
s8 displayFP
char unk_3F
s16 displayCoins
s16 displayStarpoints
s8 ignoreChanges
b8 openInputDisabled
s8 alwaysShown
s8 disabled
s16 displayStarPower
s8 hpBlinking
s8 hpBlinkCounter
s8 hpBlinkTimer
s8 fpBlinking
s8 fpBlinkCounter
s8 fpBlinkTimer
s8 spBlinking
s8 spBlinkCounter
s8 starpointsBlinking
s8 starpointsBlinkCounter
s8 coinsBlinking
s8 coinsBlinkCounter
s8 coinsBlinkTimer
s8 unk_57
s8 unk_58
s8 unk_59
s8 spBarsToBlink
char unk_5B
s32 coinCountTimesHID
s32 coinCountIconHID
s32 iconIndex12
s32 iconIndex13
s8 coinCounterHideTime
s8 unk_6D
s8 unk_6E
char unk_6F

◆ CameraInitData

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

◆ CameraControlSettings

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

◆ TextureHeader

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

◆ MoveData

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

◆ Collider

struct Collider
Data Fields
s32 flags
s16 nextSibling
s16 firstChild
s16 parentModelIndex
s16 numTriangles
struct ColliderTriangle * triangleTable
union Collider.__unnamed26__ __unnamed__
s16 numVertices
char unk_16[2]
Vec3f * vertexTable

◆ CollisionData

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

◆ AnimatorNode

struct AnimatorNode
Data Fields
Gfx * displayList
struct AnimatorNode * children[32]
Vec3f basePos
Vec3f pos
Vec3f rot
Vec3f scale
Matrix4f mtx
s16 flags
s16 uniqueIndex
s16 vertexStartOffset
char unk_FA[2]
union AnimatorNode.fcData fcData

◆ AnimatorNodeBlueprint

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

◆ StaticAnimatorNode

struct StaticAnimatorNode
Data Fields
void * displayList
Vec3s rot
char unk_0A[0x2]
Vec3f pos
struct StaticAnimatorNode * sibling
struct StaticAnimatorNode * child
s16 vertexStartOffset
char unk_22[0x2]
Vtx * vtxList
s16 modelID
char unk_2A[0x2]

◆ ColliderBoundingBox

struct ColliderBoundingBox
Data Fields
Vec3f min
Vec3f max
s32 flagsForCollider

◆ ItemData

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

◆ ItemEntity

struct ItemEntity
Data Fields
s32 flags
s16 boundVar
s16 pickupMsgFlags
Vec3f pos
struct ItemEntityPhysicsData * physicsData
s16 itemID
s8 state
s8 spawnType
u8 pickupDelay
s8 renderGroup
s16 spawnAngle
s16 shadowIndex
char unk_22[2]
s32 * readPos
s32 * savedReadPos
u8 lookupRasterIndex
u8 lookupPaletteIndex
u8 nextUpdate
u8 alpha
f32 scale
Vec3s lastPos
char unk_3A[2]
s32 sparkleNextUpdate
s32 * sparkleReadPos
s32 sparkleUnk44
s32 * sparkleSavedPos
u8 * sparkleRaster
u16 * sparklePalette
s32 sparkleWidth
s32 sparkleHeight

◆ MessagePrintState

struct MessagePrintState
Data Fields
u8 * srcBuffer
u16 printBufferPos
char unk_06[2]
s32 msgID
u16 srcBufferPos
u16 curPrintDelay
u8 printBuffer[1088]
s16 printBufferSize
u16 effectFrameCounter
u8 font
u8 fontVariant
Vec2s windowOffsetPos
Vec2s windowBasePos
u8 printDelayTime
u8 charsPerChunk
s32 curLinePos
u8 windowScrollRate
char unk_465
u16 nextLinePos
u8 lineCount
char unk_469[0x3]
s32 unk_46C
u8 curAnimFrame[4]
s16 animTimers[4]
u8 rewindArrowAnimState
char unk_47D[0x1]
s16 rewindArrowCounter
s16 rewindArrowSwingPhase
Vec2su rewindArrowPos
u8 curLine
u8 unkArraySize
u16 lineEndPos[4]
char unk_490[0x38]
u16 unk_4C8
s16 unk_4CA
u16 unk_4CC
u8 maxOption
char unk_4CF[0x1]
u16 cursorPosX[6]
u16 cursorPosY[6]
u8 curOption
s8 madeChoice
u8 cancelOption
char unk_4EB[0x1]
u8 targetOption
u8 scrollingTime
u8 selectedOption
char unk_4EF[0x9]
u8 windowState
char unk_4F9[0x3]
s32 stateFlags
s16 delayFlags
char unk_502[0x2]
s32 * closedWritebackBool
u8 style
u8 fadeInCounter
Vec2s initOpenPos
Vec2su openStartPos
u8 fadeOutCounter
char unk_513[0x1]
Vec2su windowSize
s8 speechSoundType
u8 volume
u8 speechPan
char unk_51B[0x1]
u16 speechPitchShift
char unk_51E[0x2]
s32 speechSoundIDA
s32 speechSoundIDB
u16 varBufferReadPos
s8 unk_52A
u8 curImageIndex
Vec2su varImageScreenPos
u8 varImgHasBorder
u8 varImgFinalAlpha
u8 varImgAlphaFadeStep
u8 varImageDisplayState
s16 varImageFadeTimer
s16 msgHeight
u16 msgWidth
s8 maxLineChars
s8 numLines
u8 maxLinesPerPage
char unk_53D[0x3]
f32 sizeScale
u8 * letterBackgroundImg
u16 * letterBackgroundPal
u8 * letterContentImg
u16 * letterContentPal
char unk_554[0x4]

◆ MessageDrawState

struct MessageDrawState
Data Fields
s32 clipX[2]
s32 clipY[2]
Vec2f msgScale
Vec2f charScale
s32 drawBufferPos
s16 savedPos[2]
u8 savedColor
u8 unk_29
char unk_2A[0x1]
u8 framePalette
s8 unk_2C
u8 unk_2D
u8 centerPos
char unk_2F[0x1]
s32 visiblePrintedCount
u16 printModeFlags
char unk_36[0x2]
u32 effectFlags
u16 font
u16 fontVariant
u8 curPosX
char unk_41
s16 nextPos[2]
s16 textStartPos[2]
s16 textColor
u8 * printBuffer
u8 nextCounter
char unk_51[0x3]

◆ MessageCharData

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

◆ MessageCharset

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

◆ MesasgeFontGlyphData

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

◆ MessageImageData

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

◆ MessageNumber

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

◆ ShopItemEntity

struct ShopItemEntity
Data Fields
s32 index
Vec3f pos

◆ ShopOwner

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

◆ ShopItemLocation

struct ShopItemLocation
Data Fields
u16 posModelID
u16 triggerColliderID

◆ ShopItemData

struct ShopItemData
Data Fields
u32 itemID
s32 price
s32 descMsg

◆ ShopSellPriceData

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

◆ GameStatus

struct GameStatus
Data Fields
u32 curButtons[4]
u32 pressedButtons[4]
u32 heldButtons[4]
u32 prevButtons[4]
s8 stickX[4]
s8 stickY[4]
s16 unk_48[4]
s16 unk_50[4]
s16 unk_58
char unk_5A[6]
s16 unk_60
char unk_62[6]
s16 demoButtonInput
s8 demoStickX
s8 demoStickY
s32 mainScriptID
s8 context
s8 demoState
s8 nextDemoScene
u8 contBitPattern
s8 debugEnemyContact
s8 debugQuizmo
b8 debugUnused1
b8 debugUnused2
s8 debugScripts
char unk_79
b8 musicEnabled
char unk_7B
b8 healthBarsEnabled
b8 keepUsingPartnerOnMapChange
u8 peachFlags
s8 peachDisguise
u8 peachBakingIngredient
See also
PeachBakingItems enum
b8 multiplayerEnabled
Vec2b altViewportOffset
s8 playerSpriteSet
char unk_85
s16 areaID
s16 prevArea
b16 didAreaChange
s16 mapID
s16 entryID
u16 unk_90
u16 unk_92
f32 exitTangent
Vec3f playerPos
f32 playerYaw
s8 introPart
s8 unk_A9
s8 demoBattleFlags
u8 soundOutputMode
s8 startupState
s8 logoTime
b8 skipLogos
s8 titleScreenTimer
s8 titleScreenDismissTime
char unk_B1[0x5]
s16 screenColorA
s16 screenColorR
s16 screenColorG
s16 screenColorB
char unk_BE[94]
Vec3f playerGroundTraceAngles
Vec3f playerGroundTraceNormal
u16 frameCounter
char unk_136[2]
u32 nextRNG
s16 unk_13C
char unk_13E[2]
ShopItemEntity * shopItemEntities
struct Shop * mapShop
s16 backgroundFlags
s16 backgroundMinX
s16 backgroundMinY
s16 backgroundMaxX
s16 backgroundMaxY
s16 backgroundXOffset
u8 * backgroundRaster
u16 * backgroundPalette
u16 backgroundDarkness
s16 savedBackgroundDarkness
Vec3s savedPos
u8 saveSlot
u8 loadType
u32 saveCount
char unk_16C[12]

◆ PartnerAnimations

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

◆ ItemEntityPhysicsData

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

◆ SelectableTarget

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

◆ ActorPartMovement

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

◆ ActorPartBlueprint

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

◆ ActorPart

struct ActorPart
Data Fields
s32 flags
s32 targetFlags
ActorPartBlueprint * staticData
struct ActorPart * nextPart
struct ActorPartMovement * movement
Vec3s partOffset
Vec3s visualOffset
Vec3f partOffsetFloat
Vec3f absolutePos
Vec3f rot
Vec3s rotPivotOffset
char unk_4A[2]
Vec3f scale
Vec3f curPos
f32 yaw
s16 palAnimPosOffset[2]
Vec2s targetOffset
s16 targetPriorityOffset
Vec2bu size
s8 verticalStretch
Vec2b projectileTargetOffset
char unk_77[1]
u32 * defenseTable
s32 eventFlags
s32 elementalImmunities
s32 spriteInstanceID
u32 curAnimation
s32 animNotifyValue
f32 animationRate
u32 * idleAnimations
s16 opacity
char unk_9A[2]
s32 shadowIndex
f32 shadowScale
s32 partTypeData[6]
s16 actorTypeData2b[2]
struct DecorationTable * decorationTable

◆ ColliderTriangle

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

◆ FontRasterSet

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

◆ CollisionStatus

struct CollisionStatus
Data Fields
s16 pushingAgainstWall
s16 curFloor
s16 lastTouchedFloor
s16 floorBelow
s16 curCeiling
s16 curInspect
s16 unk_0C
s16 unk_0E
s16 unk_10
s16 curWall
s16 lastWallHammered
s16 touchingWallTrigger
s16 bombetteExploded
char unk_1A[2]
Vec3f bombetteExplosionPos

◆ DecorFireTrail

struct DecorFireTrail
Data Fields
s16 scale

◆ DecorGoldenFlames

struct DecorGoldenFlames
Data Fields
s16 scaleX
s16 scaleY
s16 offsetX

◆ DecorRedFlames

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

◆ DecorBowserAura

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

◆ DecorDataSparkles

struct DecorDataSparkles
Data Fields
s16 spawnInterval

◆ DecorDataStars

struct DecorDataStars
Data Fields
s16 scalePct
s16 offsetY

◆ DecorationData

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

◆ DecorationTable

struct DecorationTable
Data Fields
u16 copiedPalettes[2][27][16]
s8 paletteAdjustment
b8 resetPalAdjust
s8 palAnimState
char unk_6C3[5]
s16 nextPalTime
s16 palBlendAlpha
s8 spriteColorVariations
s8 originalPalettesCount
char unk_6CE[2]
u16 ** originalPalettesList
u16 * adjustedPalettes[27]
s16 blendPalA
s16 blendPalB
s16 palswapTimeHoldA
s16 palswapTimeAtoB
s16 palswapTimeHoldB
s16 palswapTimeBtoA
s16 palswapUnused1
s16 palswapUnused2
s8 glowState
b8 glowStateChanged
s8 glowUnk1
char pad753[5]
s16 glowUnk2
s16 glowUnk3
s16 glowPhase
char pad75E[6]
s8 flashState
s8 flashStateChanged
s8 flashMode
s8 flashFramesLeft
u8 flashEnabled
char unk_769[3]
u16 * flashPalettes[16]
char unk_7AC[0x2C]
s8 blurUnused
s8 blurBufferPos
s8 blurDrawCount
s8 blurEnableCount
s16 yaw[16]
s16 posX[16]
s16 posY[16]
s16 posZ[16]
s8 rotPivotOffsetX[16]
s8 rotPivotOffsetY[16]
u8 rotX[16]
u8 rotY[16]
u8 rotZ[16]
s8 blurDisableDelay
char unk_8AD[3]
struct EffectInstance * effect[2]
s8 type[2]
u8 changed[2]
s8 state[2]
s16 stateResetTimer[2]
char unk_8C0[4]
DecorationData decorData[2]

◆ PlayerPathElement

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

◆ LavaReset

struct LavaReset
Data Fields
s32 colliderID
Vec3f pos

◆ BombTrigger

struct BombTrigger
Data Fields
Vec3f pos
f32 diameter

◆ AnimatedModel

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

◆ CollisionHeader

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

◆ ActorMovement

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

◆ ChompChain

struct ChompChain
Data Fields
Vec3f curPos
f32 unk_0C
f32 unk_10
f32 gravAccel
f32 velY
f32 settleAmt
f32 settleRate
f32 outerLinkLen
f32 innerLinkLen
f32 linkLengthZ

◆ ActorState

struct ActorState
Data Fields
Vec3f curPos
Vec3f goalPos
Vec3f unk_18
f32 unk_24
f32 unk_28
f32 unk_2C
Vec3f velStep
f32 acceleration
f32 speed
f32 vel
f32 angle
f32 dist
f32 bounceDivisor
char unk_54[0x4]
s32 animJumpRise
s32 animJumpFall
s32 animJumpLand
s16 moveTime
s16 moveArcAmplitude
char unk_68[3]
u8 jumpPartIndex
union ActorState.__unnamed35__ __unnamed__
union ActorState.__unnamed37__ __unnamed__

◆ Actor

struct Actor
Data Fields
s32 flags
s32 flags2
struct ActorBlueprint * actorBlueprint
ActorState state
ActorMovement fly
char unk_124[16]
u8 unk_134
u8 footStepCounter
u8 actorType
char unk_137
Vec3f homePos
Vec3f curPos
Vec3s headOffset
Vec3s healthBarPos
Vec3f rot
Vec3s rotPivotOffset
char unk_16E[2]
Vec3f scale
Vec3f scaleModifier
f32 scalingFactor
f32 yaw
Vec2bu size
s16 actorID
Vec2b statusIconOffset
Vec2b statusTextOffset
Vec2b healthBarOffset
s8 verticalRenderOffset
char unk_19B[1]
s32 actorTypeData1[6]
s16 actorTypeData1b[2]
s16 curHP
s16 maxHP
s8 healthFraction
char unk_1BD[3]
EvtScript * idleSource
EvtScript * takeTurnSource
EvtScript * handleEventSource
EvtScript * handlePhaseSource
struct Evt * idleScript
struct Evt * takeTurnScript
struct Evt * handleEventScript
struct Evt * handlePhaseScript
s32 idleScriptID
s32 takeTurnScriptID
s32 handleEventScriptID
s32 handleBatttlePhaseScriptID
s8 lastEventType
s8 turnPriority
s8 enemyIndex
s8 numParts
struct ActorPart * partsTable
s16 lastDamageTaken
s16 hpChangeCounter
s16 damageCounter
char unk_1FE[2]
struct EffectInstance * attackResultEffect
s8 actionRatingCombo
s8 actionRatingTime
s8 healthBarHideTime
s8 extraCoinBonus
s8 instigatorValue
char unk_209[3]
s32 * statusTable
s8 debuff
s8 debuffDuration
s8 staticStatus
s8 staticDuration
s8 stoneStatus
s8 stoneDuration
s8 koStatus
s8 koDuration
s8 transparentStatus
s8 transparentDuration
char unk_21A[2]
s8 statusAfflicted
s8 disableDismissTimer
s16 unk_21E
b8 isGlowing
s8 attackBoost
s8 defenseBoost
s8 chillOutAmount
s8 chillOutTurns
char unk_225[3]
struct EffectInstance * icePillarEffect
struct SelectableTarget targetData[24]
s8 targetListLength
s8 targetIndexList[24]
s8 selectedTargetIndex
s8 targetPartID
char unk_427[1]
s16 targetActorID
char unk_42A[2]
union Actor.shadow shadow
f32 shadowScale
s16 renderMode
s16 hudElementDataIndex
s32 loopingSoundID[2]
struct EffectInstance * disableEffect

◆ BackgroundHeader

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

◆ FontData

struct FontData
Data Fields
char unk_00[24]

◆ SlideParams

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

◆ PlayerStatus

struct PlayerStatus
Data Fields
s32 flags
u32 animFlags
s16 curStateTime
s8 shiverTime
char unk_0B
s8 peachDisguise
s8 availableDisguiseType set in main map scripts
u8 curAlpha
u8 prevAlpha
s16 blinkTimer
s16 moveFrames
s8 enableCollisionOverlapsCheck
s8 inputDisabledCount
Vec3s lastGoodPos
Vec3f pushVel
Vec3f pos
Vec2f groundAnglesXZ
VecXZf jumpFromPos
VecXZf landPos
f32 jumpFromHeight
f32 jumpApexHeight
f32 curSpeed
f32 walkSpeed
f32 runSpeed
s32 unk_60
f32 overlapPushAmount
f32 groundNormalPitch
f32 maxJumpSpeed
f32 gravityIntegrator[4]
f32 targetYaw
f32 curYaw
f32 overlapPushYaw
f32 pitch
f32 flipYaw[4]
f32 heading
AnimID trueAnimation Encoding back-facing sprite.
f32 spriteFacingAngle
char unk_AC[4]
s16 colliderHeight
s16 colliderDiameter
s8 actionState
s8 prevActionState
s8 actionSubstate
char unk_B7
AnimID anim
u16 animNotifyValue
s8 renderMode
s8 hazardType
s16 timeInAir
s16 peakJumpTime
s8 peachItemHeld
s8 camResetDelay
s16 interactingWithID
Npc * encounteredNPC
s32 shadowID
SlideParams * slideParams
f32 spinRate
struct EffectInstance * specialDecorationEffect
s32 curButtons
s32 pressedButtons
s32 heldButtons
s32 stickAxis[2]
s32 curButtonsBuffer[10]
s32 pressedButtonsBuffer[10]
s32 heldButtonsBuffer[10]
s32 stickXBuffer[10]
s32 stickYBuffer[10]
s32 inputBufPos
char unk_1BC[196]
s8 poundImpactDelay
char unk_281[7]

◆ Path

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

◆ PauseItemPage

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

◆ PauseMapSpace

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

◆ WindowBackground

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

◆ WindowCorners

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

◆ WindowStyleCustom

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

◆ WindowStyle

union WindowStyle
Data Fields
int defaultStyleID
WindowStyleCustom * customStyle

◆ DisplayContext

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

◆ PlayerSpinState

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

◆ TweesterPhysics

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

◆ PartnerStatus

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

◆ SpriteRasterInfo

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

◆ KnockdownData

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

◆ VirtualEntity

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

◆ PopupMessage

struct PopupMessage
Data Fields
s32 unk_00
PopupMessageCallback updateFunc
PopupMessageCallback renderWorldFunc
PopupMessageCallback renderUIFunc
s16 active
s16 messageIndex
s16 duration
s8 showMsgState
s8 needsInit
union PopupMessage.data data

◆ HiddenPanelsData

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

◆ SpriteShadingLightSource

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

◆ SpriteShadingProfile

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

◆ ImgFXOverlayTexture

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

◆ ImgFXTexture

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

◆ ImgFXWorkingTexture

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

◆ SongUpdateEvent

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

◆ MusicEvent

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

◆ ParadeNpcInfo

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

◆ CreditsEntry

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

◆ CreditsLine

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

◆ CreditsChar

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

◆ CreditsData

struct CreditsData
Data Fields
u32 workerID
CreditsLine lines[32]

◆ CreditsPairOffset

struct CreditsPairOffset
Data Fields
u8 firstChar
u8 secondChar
s16 offset

◆ PartnerDMAData

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

◆ MsgVoice

struct MsgVoice
Data Fields
s32 voiceA
s32 voiceB
s32 pitchShift

◆ Rect

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

◆ LavaPiranhaVine

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

◆ SpeechBubbleData

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

◆ Npc.blur

union Npc.blur
Data Fields
void * any
NpcMotionBlur * motion Null unless flag NPC_FLAG_MOTION_BLUR is set.
NpcChompBlur * chomp
NpcQuizmoBlur * quizmo
NpcFollowData * followData
struct Npc * keepAwayNpc
s32 * keepAwayStarted

◆ Trigger.location

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

◆ Trigger.__unnamed3__

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

◆ Evt.__unnamed5__

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

◆ Evt.__unnamed7__

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

◆ Evt.owner1

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

◆ Evt.owner2

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

◆ EntityBlueprint.__unnamed11__

union EntityBlueprint.__unnamed11__
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 Cx
f32 Az
f32 Bx
f32 Cz
f32 Bz

◆ Camera.params

union Camera.params
Data Fields
struct Camera.params.world world
struct Camera.params.basic basic
struct Camera.params.interp interp
struct Camera.params.radial radial
struct Camera.params.confined confined

◆ Camera.params.world

struct Camera.params.world
Data Fields
s16 zoomPercent

◆ Camera.params.basic

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

◆ 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 offsetY
s16 pitch
s16 minRadius

◆ 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 still
s32 walk
s32 jump
s32 fall
s32 fly
s32 idle
s32 run
s32 talk
s32 hurt

◆ 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
struct Shadow * ptr
s32 id

◆ PopupMessage.data

union PopupMessage.data
Data Fields
struct BonkData * bonk
struct HudStatusIcon * icons

Macro Definition Documentation

◆ MSG_PTR

#define MSG_PTR   u8*

Definition at line 18 of file common_structs.h.

◆ IMG_PTR

◆ PAL_PTR

◆ MSG_BIN

#define MSG_BIN   u8

Definition at line 22 of file common_structs.h.

◆ IMG_BIN

#define IMG_BIN   u8

Definition at line 23 of file common_structs.h.

◆ PAL_BIN

#define PAL_BIN   u16

Definition at line 24 of file common_structs.h.

◆ NPC_BLUR_FRAMES

#define NPC_BLUR_FRAMES   20

Definition at line 161 of file common_structs.h.

Referenced by appendGfx_npc_blur().

◆ MAX_NPC_DECORATIONS

#define MAX_NPC_DECORATIONS   2

◆ PRINT_BUFFER_SIZE

#define PRINT_BUFFER_SIZE   1088

Definition at line 1175 of file common_structs.h.

◆ MAX_ACTOR_DECORATIONS

#define MAX_ACTOR_DECORATIONS   2

Definition at line 1684 of file common_structs.h.

◆ ACTOR_BLUR_FRAMES

#define ACTOR_BLUR_FRAMES   16

Definition at line 1685 of file common_structs.h.

Referenced by appendGfx_nonplayer_actor_blur().

◆ DISPLAYCONTEXT_GFX_COUNT

#define DISPLAYCONTEXT_GFX_COUNT   0x2080

Definition at line 2178 of file common_structs.h.

Typedef Documentation

◆ ApiFunc

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

Definition at line 12 of file common_structs.h.

◆ EvtScript

typedef Bytecode EvtScript[]

Definition at line 14 of file common_structs.h.

◆ NoArgCallback

typedef void NoArgCallback(void *)

Definition at line 16 of file common_structs.h.

◆ b32

typedef s32 b32

Definition at line 26 of file common_structs.h.

◆ b16

typedef s16 b16

Definition at line 27 of file common_structs.h.

◆ b8

typedef s8 b8

Definition at line 28 of file common_structs.h.

◆ HitID

typedef s32 HitID

Definition at line 30 of file common_structs.h.

◆ AnimID

typedef u32 AnimID

Definition at line 31 of file common_structs.h.

◆ Matrix4f

typedef f32 Matrix4f[4][4]

Definition at line 132 of file common_structs.h.

◆ NpcList

typedef Npc* NpcList[64]

Definition at line 300 of file common_structs.h.

◆ TriggerList

typedef Trigger* TriggerList[64]

Definition at line 402 of file common_structs.h.

◆ ScriptList

typedef Evt* ScriptList[128]

Definition at line 473 of file common_structs.h.

◆ EntityCallback

typedef s32(* EntityCallback) (struct Entity *)

Definition at line 500 of file common_structs.h.

◆ EntityList

typedef Entity* EntityList[30]

Definition at line 584 of file common_structs.h.

◆ ShadowCallback

typedef void(* ShadowCallback) (struct Shadow *)

Definition at line 588 of file common_structs.h.

◆ ShadowList

typedef Shadow* ShadowList[60]

Definition at line 618 of file common_structs.h.

◆ WorkerList

typedef Worker* WorkerList[16]

Definition at line 626 of file common_structs.h.

◆ AnimatedMeshList

typedef ModelAnimator* AnimatedMeshList[16]

Definition at line 1115 of file common_structs.h.

◆ PushBlockFallCallback

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

Definition at line 1484 of file common_structs.h.

◆ AnimatedModelList

typedef AnimatedModel* AnimatedModelList[16]

Definition at line 1775 of file common_structs.h.

◆ VirtualEntityList

typedef VirtualEntity* VirtualEntityList[0x40]

Definition at line 2272 of file common_structs.h.

◆ PopupMessageCallback

typedef void(* PopupMessageCallback) (void *popup)

Definition at line 2274 of file common_structs.h.

◆ MusicEventTrigger

typedef u32 MusicEventTrigger

Definition at line 2366 of file common_structs.h.