Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Fields
MarioState Struct Reference

#include <types.h>

Data Fields

u16 unk00
 
u16 input
 
u32 flags
 
u32 particleFlags
 
u32 action
 
u32 prevAction
 
u32 stepSound
 
u16 actionState
 
u16 actionTimer
 
u32 actionArg
 
f32 intendedMag
 
s16 intendedYaw
 
s16 invincTimer
 
u8 framesSinceA
 
u8 framesSinceB
 
u8 wallKickTimer
 
u8 doubleJumpTimer
 
Vec3s faceAngle
 
Vec3s angleVel
 
s16 slideYaw
 
s16 twirlYaw
 
Vec3f pos
 
Vec3f vel
 
f32 forwardVel
 
f32 slideVelX
 
f32 slideVelZ
 
struct Surfacewall
 
struct Surfaceceil
 
struct Surfacefloor
 
f32 ceilHeight
 
f32 floorHeight
 
s16 floorAngle
 
s16 waterLevel
 
struct ObjectinteractObj
 
struct ObjectheldObj
 
struct ObjectusedObj
 
struct ObjectriddenObj
 
struct ObjectmarioObj
 
struct SpawnInfospawnInfo
 
struct Areaarea
 
struct CameraPlayerStatusstatusForCamera
 
struct MarioBodyStatemarioBodyState
 
struct Controllercontroller
 
struct MarioAnimationanimation
 
u32 collidedObjInteractTypes
 
s16 numCoins
 
s16 numStars
 
s8 numKeys
 
s8 numLives
 
s16 health
 
s16 unkB0
 
u8 hurtCounter
 
u8 healCounter
 
u8 squishTimer
 
u8 fadeWarpOpacity
 
u16 capTimer
 
s16 unkB8
 
f32 peakHeight
 
f32 quicksandDepth
 
f32 unkC4
 

Field Documentation

◆ action

u32 MarioState::action

◆ actionArg

u32 MarioState::actionArg

◆ actionState

u16 MarioState::actionState

◆ actionTimer

u16 MarioState::actionTimer

◆ angleVel

Vec3s MarioState::angleVel

◆ animation

struct MarioAnimation* MarioState::animation

◆ area

struct Area* MarioState::area

◆ capTimer

u16 MarioState::capTimer

◆ ceil

struct Surface* MarioState::ceil

◆ ceilHeight

f32 MarioState::ceilHeight

◆ collidedObjInteractTypes

u32 MarioState::collidedObjInteractTypes

◆ controller

struct Controller* MarioState::controller

◆ doubleJumpTimer

u8 MarioState::doubleJumpTimer

◆ faceAngle

Vec3s MarioState::faceAngle

◆ fadeWarpOpacity

u8 MarioState::fadeWarpOpacity

◆ flags

u32 MarioState::flags

◆ floor

struct Surface* MarioState::floor

◆ floorAngle

s16 MarioState::floorAngle

◆ floorHeight

f32 MarioState::floorHeight

◆ forwardVel

f32 MarioState::forwardVel

◆ framesSinceA

u8 MarioState::framesSinceA

◆ framesSinceB

u8 MarioState::framesSinceB

◆ healCounter

u8 MarioState::healCounter

◆ health

s16 MarioState::health

◆ heldObj

struct Object* MarioState::heldObj

◆ hurtCounter

u8 MarioState::hurtCounter

◆ input

u16 MarioState::input

◆ intendedMag

f32 MarioState::intendedMag

◆ intendedYaw

s16 MarioState::intendedYaw

◆ interactObj

struct Object* MarioState::interactObj

◆ invincTimer

s16 MarioState::invincTimer

◆ marioBodyState

struct MarioBodyState* MarioState::marioBodyState

◆ marioObj

struct Object* MarioState::marioObj

◆ numCoins

s16 MarioState::numCoins

◆ numKeys

s8 MarioState::numKeys

◆ numLives

s8 MarioState::numLives

◆ numStars

s16 MarioState::numStars

◆ particleFlags

u32 MarioState::particleFlags

◆ peakHeight

f32 MarioState::peakHeight

◆ pos

Vec3f MarioState::pos

◆ prevAction

u32 MarioState::prevAction

◆ quicksandDepth

f32 MarioState::quicksandDepth

◆ riddenObj

struct Object* MarioState::riddenObj

◆ slideVelX

f32 MarioState::slideVelX

◆ slideVelZ

f32 MarioState::slideVelZ

◆ slideYaw

s16 MarioState::slideYaw

◆ spawnInfo

struct SpawnInfo* MarioState::spawnInfo

◆ squishTimer

u8 MarioState::squishTimer

◆ statusForCamera

struct CameraPlayerStatus* MarioState::statusForCamera

◆ stepSound

u32 MarioState::stepSound

◆ twirlYaw

s16 MarioState::twirlYaw

◆ unk00

u16 MarioState::unk00

◆ unkB0

s16 MarioState::unkB0

◆ unkB8

s16 MarioState::unkB8

◆ unkC4

f32 MarioState::unkC4

◆ usedObj

struct Object* MarioState::usedObj

◆ vel

Vec3f MarioState::vel

◆ wall

struct Surface* MarioState::wall

◆ wallKickTimer

u8 MarioState::wallKickTimer

◆ waterLevel

s16 MarioState::waterLevel

The documentation for this struct was generated from the following file: