SSBM Decomp
Loading...
Searching...
No Matches
types.h File Reference
#include "platform.h"
#include <placeholder.h>
#include "mn/forward.h"
#include <baselib/sislib.h>

Go to the source code of this file.

Data Structures

struct  Menu
 
struct  CountEntry
 size 0x8 More...
 
struct  PlayerInitData
 
struct  lbl_8046B668_t
 
struct  PerfLabelLine
 
struct  lbl_8046B378_t
 
struct  StartMeleeRules
 
struct  StartMeleeData
 
struct  VsModeData
 
struct  CSSData
 
struct  CSSModeInfo
 
struct  CSSIcon
 
struct  CSSIconsData
 
struct  CSSDoor
 
struct  CSSTagData
 
struct  CSSTag
 
struct  CSSKOStar
 
struct  CSSDoorsData
 
struct  CSSDoorsData2
 
struct  mnGallery_804A0B90_t
 
struct  SSSData
 
struct  AnimLoopSettings
 
struct  Diagram
 User data for VS Records diagram screen (mnDiagram) More...
 
struct  MenuKindData
 
struct  Diagram2
 User data for VS Records page 2 (character details screen) Total size: 0xC8 bytes. More...
 
struct  Diagram3
 User data for VS Records page 3 (stat rankings screen) Total size: 0x78 bytes. More...
 

Enumerations

enum  CSSMatchType {
  VS_MELEE = 0x0 ,
  VS_CAMERA = 0x1 ,
  VS_STAMINA = 0x2 ,
  VS_SUDDEN_DEATH = 0x3 ,
  VS_GIANT = 0x4 ,
  VS_TINY = 0x5 ,
  VS_INVISIBLE = 0x6 ,
  VS_FIXED_CAMERA = 0x7 ,
  VS_SINGLE_BUTTON = 0x8 ,
  VS_LIGHTNING = 0x9 ,
  VS_SLOWMO = 0xA ,
  REG_CLASSIC = 0xB ,
  REG_ADVENTURE = 0xC ,
  REG_ALLSTAR = 0xD ,
  EVENT_MATCH = 0xE ,
  STADIUM_TARGET = 0xF ,
  STADIUM_HOMERUN = 0x10 ,
  STADIUM_MULTIMAN_10 = 0x11 ,
  STADIUM_MULTIMAN_100 = 0x12 ,
  STADIUM_3_MIN_MELEE = 0x13 ,
  STADIUM_15_MIN_MELEE = 0x14 ,
  STADIUM_ENDLESS_MELEE = 0x15 ,
  STADIUM_CRUEL_MELEE = 0x16 ,
  TRAINING_MODE = 0x17
}
 
enum  CSSIconState {
  ICONSTATE_LOCKED ,
  ICONSTATE_TEMP ,
  ICONSTATE_UNLOCKED
}
 
enum  CSSIconJointId {
  ICONJOINT_DRMARIO = 0x04 ,
  ICONJOINT_FALCO = 0x08 ,
  ICONJOINT_GANON = 0x06 ,
  ICONJOINT_CLINK = 0x0A ,
  ICONJOINT_PICHU = 0x0C ,
  ICONJOINT_EMBLEM = 0x0E ,
  ICONJOINT_MARIO = 0x10 ,
  ICONJOINT_LUIGI = 0x11 ,
  ICONJOINT_KOOPA = 0x12 ,
  ICONJOINT_PEACH = 0x13 ,
  ICONJOINT_YOSHI = 0x14 ,
  ICONJOINT_DONKEY = 0x15 ,
  ICONJOINT_CAPTAIN = 0x16 ,
  ICONJOINT_FOX = 0x17 ,
  ICONJOINT_NESS = 0x18 ,
  ICONJOINT_POPONANA = 0x19 ,
  ICONJOINT_KIRBY = 0x1A ,
  ICONJOINT_SAMUS = 0x1B ,
  ICONJOINT_ZELDA = 0x1C ,
  ICONJOINT_LINK = 0x1D ,
  ICONJOINT_PIKACHU = 0x1E ,
  ICONJOINT_PURIN = 0x1F ,
  ICONJOINT_MEWTWO = 0x20 ,
  ICONJOINT_GAMEWATCH = 0x21 ,
  ICONJOINT_MARS = 0x22
}
 
enum  VSRecordsStatType {
  VSSTAT_TOTAL_KOS ,
  VSSTAT_TOTAL_FALLS ,
  VSSTAT_SD_COUNT ,
  VSSTAT_HIT_PERCENTAGE ,
  VSSTAT_DAMAGE_DEALT ,
  VSSTAT_DAMAGE_TAKEN ,
  VSSTAT_DAMAGE_RECOVERED ,
  VSSTAT_PEAK_DAMAGE ,
  VSSTAT_MATCH_COUNT ,
  VSSTAT_VICTORIES ,
  VSSTAT_LOSSES ,
  VSSTAT_PLAY_TIME ,
  VSSTAT_PLAY_PERCENTAGE ,
  VSSTAT_AVG_PLAYERS ,
  VSSTAT_WALK_DISTANCE ,
  VSSTAT_RUN_DISTANCE ,
  VSSTAT_FALL_DISTANCE ,
  VSSTAT_PEAK_HEIGHT ,
  VSSTAT_COINS_COLLECTED ,
  VSSTAT_COINS_SWIPED ,
  VSSTAT_COINS_LOST ,
  VSSTAT_MOST_PLAYED ,
  VSSTAT_SECOND_PLAYED ,
  VSSTAT_LEAST_PLAYED ,
  VSSTAT_COUNT_FIGHTER = 0x15 ,
  VSSTAT_COUNT_NAME = 0x18
}
 VS Records stat types for mnDiagram2 (page 2 of VS Records menu). More...
 

Functions

 STATIC_ASSERT (sizeof(struct lbl_8046B668_t)==0x38)
 
 STATIC_ASSERT (sizeof(PerfLabelLine)==0x88)
 
 STATIC_ASSERT (sizeof(lbl_8046B378_t)==0x110)
 
 STATIC_ASSERT (sizeof(struct mnGallery_804A0B90_t)==0x96000)
 

Enumeration Type Documentation

◆ CSSMatchType

Enumerator
VS_MELEE 
VS_CAMERA 
VS_STAMINA 
VS_SUDDEN_DEATH 
VS_GIANT 
VS_TINY 
VS_INVISIBLE 
VS_FIXED_CAMERA 
VS_SINGLE_BUTTON 
VS_LIGHTNING 
VS_SLOWMO 
REG_CLASSIC 
REG_ADVENTURE 
REG_ALLSTAR 
EVENT_MATCH 
STADIUM_TARGET 
STADIUM_HOMERUN 
STADIUM_MULTIMAN_10 
STADIUM_MULTIMAN_100 
STADIUM_3_MIN_MELEE 
STADIUM_15_MIN_MELEE 
STADIUM_ENDLESS_MELEE 
STADIUM_CRUEL_MELEE 
TRAINING_MODE 

◆ CSSIconState

Enumerator
ICONSTATE_LOCKED 
ICONSTATE_TEMP 
ICONSTATE_UNLOCKED 

◆ CSSIconJointId

Enumerator
ICONJOINT_DRMARIO 
ICONJOINT_FALCO 
ICONJOINT_GANON 
ICONJOINT_CLINK 
ICONJOINT_PICHU 
ICONJOINT_EMBLEM 
ICONJOINT_MARIO 
ICONJOINT_LUIGI 
ICONJOINT_KOOPA 
ICONJOINT_PEACH 
ICONJOINT_YOSHI 
ICONJOINT_DONKEY 
ICONJOINT_CAPTAIN 
ICONJOINT_FOX 
ICONJOINT_NESS 
ICONJOINT_POPONANA 
ICONJOINT_KIRBY 
ICONJOINT_SAMUS 
ICONJOINT_ZELDA 
ICONJOINT_LINK 
ICONJOINT_PIKACHU 
ICONJOINT_PURIN 
ICONJOINT_MEWTWO 
ICONJOINT_GAMEWATCH 
ICONJOINT_MARS 

◆ VSRecordsStatType

VS Records stat types for mnDiagram2 (page 2 of VS Records menu).

Fighter mode shows stats 0x00-0x14 (21 types). Name mode shows stats 0x00-0x17 (24 types, including character icon stats).

Enumerator
VSSTAT_TOTAL_KOS 

Total KOs across all opponents.

VSSTAT_TOTAL_FALLS 

Total falls (deaths)

VSSTAT_SD_COUNT 

Self-destructs (FD+0x34 / ND+0xF0)

VSSTAT_HIT_PERCENTAGE 

Attack accuracy % (calculated)

VSSTAT_DAMAGE_DEALT 

Total damage dealt (FD+0x40 / ND+0xFC)

VSSTAT_DAMAGE_TAKEN 

Total damage received (FD+0x44 / ND+0x100)

VSSTAT_DAMAGE_RECOVERED 

Damage healed (FD+0x48 / ND+0x104)

VSSTAT_PEAK_DAMAGE 

Highest % survived (FD+0x4C / ND+0x108)

VSSTAT_MATCH_COUNT 

Total matches played (FD+0x4E / ND+0x10A)

VSSTAT_VICTORIES 

Total wins (FD+0x50 / ND+0x10C)

VSSTAT_LOSSES 

Total losses (FD+0x52 / ND+0x10E)

VSSTAT_PLAY_TIME 

Total play time in frames (FD+0x54 / ND+0x110)

VSSTAT_PLAY_PERCENTAGE 

% of total VS play time (calculated)

VSSTAT_AVG_PLAYERS 

Average player count (calculated)

VSSTAT_WALK_DISTANCE 

Distance walked in ft (FD+0x5C / ND+0x118)

VSSTAT_RUN_DISTANCE 

Distance run in ft (FD+0x60 / ND+0x11C)

VSSTAT_FALL_DISTANCE 

Distance fallen in ft (FD+0x64 / ND+0x120)

VSSTAT_PEAK_HEIGHT 

Max height reached in ft (FD+0x68 / ND+0x124)

VSSTAT_COINS_COLLECTED 

Coins picked up (FD+0x6C / ND+0x128)

VSSTAT_COINS_SWIPED 

Coins stolen from opponents (FD+0x70 / ND+0x12C)

VSSTAT_COINS_LOST 

Coins lost to opponents (FD+0x74 / ND+0x130)

VSSTAT_MOST_PLAYED 

Most played fighter (Name mode only, icon)

VSSTAT_SECOND_PLAYED 

2nd most played fighter (Name mode only, icon)

VSSTAT_LEAST_PLAYED 

Least played fighter (Name mode only, icon)

VSSTAT_COUNT_FIGHTER 

Number of stats in fighter mode.

VSSTAT_COUNT_NAME 

Number of stats in name mode.

Function Documentation

◆ STATIC_ASSERT() [1/4]

STATIC_ASSERT ( sizeof(struct lbl_8046B668_t = =0x38)

◆ STATIC_ASSERT() [2/4]

STATIC_ASSERT ( sizeof(PerfLabelLine = =0x88)

◆ STATIC_ASSERT() [3/4]

STATIC_ASSERT ( sizeof(lbl_8046B378_t = =0x110)

◆ STATIC_ASSERT() [4/4]

STATIC_ASSERT ( sizeof(struct mnGallery_804A0B90_t = =0x96000)