SSBM Decomp
Loading...
Searching...
No Matches
StaticPlayer Struct Reference

#include <player.h>

Data Structures

union  _StaticPlayer_player_poses
union  _StaticPlayer_staminas
struct  _StaticPlayer_flags
struct  _StaticPlayer_more_flags
struct  _StaticPlayer_flagsAE

Data Fields

enum_t player_state
CharacterKind ckind
Gm_PKind pkind
u8 transformed [PL_MAX_SUB_FIGHTERS]
 bool for each index indicating whether each fighter is active
s16 unk0E
union StaticPlayer::_StaticPlayer_player_poses player_poses
f32 facing_direction
u8 costume_id
 CostumeId; max value depends on CostumeListsForeachCharacter and gm_GetNumCostumesForCKind
u8 unk45
s8 sub_color
 Tint index, 0 to 4; see gm_SetupSubColors.
u8 team
 TeamColor
u8 pad_port
 Physical controller port up to PAD_MAX_CONTROLLERS.
u8 cpu_level
 1 to 9
u8 cpu_type
 CpuKind
u8 handicap
s8 unk4C
s8 unk4D
s8 unk4E
s8 unk4F
f32 unk50
f32 attack_ratio
f32 defense_ratio
f32 model_scale
union StaticPlayer::_StaticPlayer_staminas staminas
s32 falls [PL_MAX_SUB_FIGHTERS]
u32 kos_by_player [GM_MAX_PLAYERS]
u32 match_frame_count
u16 self_destructs
s8 stocks
s8 unk8F
int current_coins
s32 total_coins
s32 unk98
s32 unk9C
s32 joystick_direction_input_count [PL_MAX_SUB_FIGHTERS]
 Incremented every time you move the joystick a different direction from neutral.
int nametag_slot_id
struct StaticPlayer::_StaticPlayer_flags flags
struct StaticPlayer::_StaticPlayer_more_flags more_flags
struct StaticPlayer::_StaticPlayer_flagsAE flagsAE
s8 unkAF
HSD_GObj * player_entity [PL_MAX_SUB_FIGHTERS]
void(* struct_func )(s32 slot)
StaleMoveTable stale_moves
u8 xDB0 [0xE90 - 0xDB0]

Field Documentation

◆ player_state

enum_t StaticPlayer::player_state
Todo
0x02 In-Game (includes dead). 0x00 Otherwise.

◆ ckind

CharacterKind StaticPlayer::ckind

◆ pkind

Gm_PKind StaticPlayer::pkind

◆ transformed

u8 StaticPlayer::transformed[PL_MAX_SUB_FIGHTERS]

bool for each index indicating whether each fighter is active

◆ unk0E

s16 StaticPlayer::unk0E

◆ player_poses

union StaticPlayer::_StaticPlayer_player_poses StaticPlayer::player_poses

◆ facing_direction

f32 StaticPlayer::facing_direction

◆ costume_id

u8 StaticPlayer::costume_id

◆ unk45

u8 StaticPlayer::unk45

◆ sub_color

s8 StaticPlayer::sub_color

Tint index, 0 to 4; see gm_SetupSubColors.

◆ team

u8 StaticPlayer::team

◆ pad_port

u8 StaticPlayer::pad_port

Physical controller port up to PAD_MAX_CONTROLLERS.

◆ cpu_level

u8 StaticPlayer::cpu_level

1 to 9

◆ cpu_type

u8 StaticPlayer::cpu_type

◆ handicap

u8 StaticPlayer::handicap

◆ unk4C

s8 StaticPlayer::unk4C

◆ unk4D

s8 StaticPlayer::unk4D

◆ unk4E

s8 StaticPlayer::unk4E

◆ unk4F

s8 StaticPlayer::unk4F

◆ unk50

f32 StaticPlayer::unk50

◆ attack_ratio

f32 StaticPlayer::attack_ratio

◆ defense_ratio

f32 StaticPlayer::defense_ratio

◆ model_scale

f32 StaticPlayer::model_scale

◆ staminas

union StaticPlayer::_StaticPlayer_staminas StaticPlayer::staminas

◆ falls

s32 StaticPlayer::falls[PL_MAX_SUB_FIGHTERS]

◆ kos_by_player

u32 StaticPlayer::kos_by_player[GM_MAX_PLAYERS]

◆ match_frame_count

u32 StaticPlayer::match_frame_count
Remarks
If -1 in zz_0035184, then it's set to MatchInfo->frame_count

◆ self_destructs

u16 StaticPlayer::self_destructs

◆ stocks

s8 StaticPlayer::stocks

◆ unk8F

s8 StaticPlayer::unk8F

◆ current_coins

int StaticPlayer::current_coins

◆ total_coins

s32 StaticPlayer::total_coins

◆ unk98

s32 StaticPlayer::unk98

◆ unk9C

s32 StaticPlayer::unk9C

◆ joystick_direction_input_count

s32 StaticPlayer::joystick_direction_input_count[PL_MAX_SUB_FIGHTERS]

Incremented every time you move the joystick a different direction from neutral.

◆ nametag_slot_id

int StaticPlayer::nametag_slot_id

◆ flags

struct StaticPlayer::_StaticPlayer_flags StaticPlayer::flags

◆ more_flags

struct StaticPlayer::_StaticPlayer_more_flags StaticPlayer::more_flags

◆ flagsAE

struct StaticPlayer::_StaticPlayer_flagsAE StaticPlayer::flagsAE

◆ unkAF

s8 StaticPlayer::unkAF

◆ player_entity

HSD_GObj* StaticPlayer::player_entity[PL_MAX_SUB_FIGHTERS]

◆ struct_func

void(* StaticPlayer::struct_func) (s32 slot)

◆ stale_moves

StaleMoveTable StaticPlayer::stale_moves

◆ xDB0

u8 StaticPlayer::xDB0[0xE90 - 0xDB0]

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