SSBM Decomp
|
#include <platform.h>
#include "ft/forward.h"
#include "pl/forward.h"
#include <baselib/forward.h>
#include "pl/types.h"
#include <dolphin/mtx.h>
#include <baselib/gobj.h>
#include <baselib/jobj.h>
Go to the source code of this file.
Data Structures | |
struct | StaticPlayer |
Functions | |
StaticPlayer * | Player_GetPtrForSlot (int slot) |
void | Player_80031790 (int slot) |
void | Player_80031848 (int slot) |
void | Player_80031900 (void) |
bool | Player_800319C4 (int slot, bool arg1) |
void | Player_80031AD0 (int slot) |
void | Player_80031CB0 (enum_t id, int slot) |
void | Player_80031D2C (enum_t id, int slot) |
void | Player_80031DA8 (s32 param_1, s32 param_2) |
void | Player_80031DC8 (void func_arg(s32, s32)) |
void | Player_80031EBC (int slot) |
void | Player_80031FB0 (int slot, s32 entity_index) |
void | Player_80032070 (int slot, bool bool_arg) |
new match decomp.me/scratch/oHfiV TODO / old match decomp.me/scratch/8otnq | |
bool | Player_8003219C (int slot) |
bool | Player_8003221C (int slot) |
s32 | Player_GetPlayerState (s32 slot) |
CharacterKind | Player_GetPlayerCharacter (int slot) |
void | Player_SetPlayerCharacter (s32 slot, s32 value) |
enum_t | Player_GetPlayerSlotType (s32 slot) |
enum_t | Player_8003248C (s32 slot, bool arg1) |
void | Player_SetSlottype (s32 slot, enum_t value) |
s8 | Player_800325C8 (s32 slot, bool b) |
s8 | Player_80032610 (s32 slot, bool arg1) |
void | Player_LoadPlayerCoords (s32 slot, Vec3 *out_vec) |
void | Player_80032768 (s32 slot, Vec3 *arg_vec) |
void | Player_80032828 (s32 slot, s32 index, Vec3 *arg_vec) |
void | Player_800328D4 (int slot, Vec3 *arg_vec) |
void | Player_80032A04 (int slot, Vec3 *arg_vec) |
void | Player_SetPlayerAndEntityFacingDirection (s32 slot, f32 direction) |
f32 | Player_80032BB0 (s32 slot) |
void | Player_SetScale (s32 slot, f32 scale) |
void | Player_GetSpawnPlatformPos (s32 slot, Vec3 *arg_vec) |
void | Player_SetSpawnPlatformPos (s32 slot, Vec3 *arg_vec) |
void | Player_GetSomePos (s32 slot, Vec3 *arg_vec) |
void | Player_SetSomePos (s32 slot, Vec3 *arg_vec) |
s32 | Player_80032F30 (s32 slot) |
void | Player_80032FA4 (s32 slot, s32 arg) |
f32 | Player_GetFacingDirection (s32 slot) |
void | Player_SetFacingDirection (s32 slot, f32 direction) |
void | Player_SetFacingDirectionConditional (s32 slot, bool b, f32 direction) |
u32 | Player_GetCostumeId (int slot) |
void | Player_SetCostumeId (int slot, s8 costume_id) |
u8 | Player_GetControllerIndex (int slot) |
void | Player_SetControllerIndex (int slot, s8 controller_index) |
int | Player_GetTeam (int slot) |
void | Player_SetTeam (int slot, s8 unk_color) |
int | Player_GetPlayerId (int slot) |
void | Player_SetPlayerId (int slot, s8 player_id) |
int | Player_GetCpuLevel (int slot) |
void | Player_SetPlayerAndEntityCpuLevel (int slot, int cpu_level) |
int | Player_GetCpuType (int slot) |
void | Player_SetPlayerAndEntityCpuType (int slot, int cpu_type) |
int | Player_GetHandicap (int slot) |
void | Player_SetHandicap (int slot, s8 handicap) |
f32 | Player_GetUnk50 (int slot) |
f32 | Player_GetAttackRatio (int slot) |
void | Player_SetAttackRatio (int slot, f32 attack_ratio) |
f32 | Player_GetDefenseRatio (int slot) |
void | Player_SetDefenseRatio (int slot, f32 defense_ratio) |
f32 | Player_GetModelScale (int slot) |
void | Player_SetModelScale (int slot, f32 model_scale) |
s32 | Player_GetStocks (int slot) |
int | Player_GetP1Stock (void) |
void | Player_SetStocks (int slot, int stocks) |
void | Player_LoseStock (int slot) |
int | Player_GetCoins (int slot) |
void | Player_SetCoins (int slot, int current_coins) |
int | Player_GetTotalCoins (int slot) |
void | Player_SetTotalCoins (int slot, int coins) |
s32 | Player_GetUnk98 (s32 slot) |
void | Player_SetUnk98 (s32 slot, s32 unk98) |
s32 | Player_GetUnk9C (s32 slot) |
void | Player_SetUnk9C (s32 slot, s32 unk9C) |
HSD_GObj * | Player_GetEntity (s32 slot) |
HSD_GObj * | Player_GetEntityAtIndex (int slot, int index) |
void | Player_SwapTransformedStates (s32 slot, s32 arg1, s32 arg2) |
s32 | Player_GetDamage (s32 slot) |
void | Player_SetHUDDamage (s32 slot, s32 arg1) |
void | Player_SetHPByIndex (s32 slot, s32 arg1, s32 arg2) |
s16 | Player_GetOtherStamina (s32 slot) |
u32 | Player_GetRemainingHP (s32 slot) |
bool | Player_GetMoreFlagsBit2 (s32 slot) |
void | Player_SetMoreFlagsBit2 (s32 slot, u8 bit2) |
bool | Player_GetMoreFlagsBit3 (s32 slot) |
void | Player_SetMoreFlagsBit3 (s32 slot, u8 bit3) |
void | Player_SetMoreFlagsBit4 (s32 slot, u8 bit4) |
bool | Player_GetMoreFlagsBit4 (s32 slot) |
bool | Player_GetMoreFlagsBit5 (s32 slot) |
void | Player_SetMoreFlagsBit5 (s32 slot, u8 bit5) |
bool | Player_GetMoreFlagsBit6 (s32 slot) |
void | Player_SetMoreFlagsBit6 (s32 slot, u8 bit6) |
u8 | Player_GetFlagsAEBit0 (s32 slot) |
s32 | Player_GetRemainingHPByIndex (s32 slot, s32 index) |
s32 | Player_GetFalls (s32 slot) |
s32 | Player_GetFallsByIndex (s32 slot, s32 index) |
void | Player_SetFalls (int slot, s32 falls) |
void | Player_SetFallsByIndex (int slot, enum_t index, s32 falls) |
s32 | Player_GetKOsByPlayerIndex (int slot, int idx) |
void | Player_UpdateKOsBySlot (int slot, bool bool_arg, int other_slot) |
u32 | Player_GetMatchFrameCount (int slot) |
void | Player_UpdateMatchFrameCount (int slot, bool condition) |
u32 | Player_GetSuicideCount (int slot) |
void | Player_SetSuicideCount (s32 slot, u32 suicide_count) |
void | Player_IncSuicideCount (s32 slot, s32 condition) |
bool | Player_800353BC (s32 slot) |
bool | Player_8003544C (s32 slot, bool condition) |
void | Player_SetFlagsBit0 (int slot, bool bit0) |
u8 | Player_GetNametagSlotID (int slot) |
void | Player_SetNametagSlotID (int slot, int nametag_slot_id) |
s32 | Player_GetFlagsBit1 (s32 slot) |
void | Player_SetFlagsBit1 (s32 slot) |
void | Player_UnsetFlagsBit1 (int slot) |
s32 | Player_GetFlagsBit3 (s32 slot) |
void | Player_SetFlagsBit3 (s32 slot, u8 bit3) |
int | Player_GetFlagsBit4 (int slot) |
u8 | Player_GetFlagsBit5 (s32 slot) |
void | Player_SetFlagsBit5 (s32 slot, u8 bit5) |
u8 | Player_GetFlagsBit6 (s32 slot) |
void | Player_SetFlagsBit6 (s32 slot, u8 bit6) |
u8 | Player_GetFlagsBit7 (s32 slot) |
void | Player_SetFlagsBit7 (s32 slot, u8 bit7) |
bool | Player_GetMoreFlagsBit0 (s32 slot) |
bool | Player_GetMoreFlagsBit1 (s32 slot) |
void | Player_SetMoreFlagsBit1 (s32 slot, u8 bit1) |
s32 | Player_GetUnk4D (s32 slot) |
void | Player_SetUnk4D (s32 slot, s8 unk4D) |
u8 | Player_GetFlagsAEBit1 (s32 slot) |
u8 | Player_SetFlagsAEBit1 (int slot, u8 bit1) |
u8 | Player_GetUnk4C (s32 slot) |
void | Player_SetUnk4C (s32 slot, u8 unk4C) |
bool | Player_80036058 (s32 slot) |
float | Player_800360D8 (s32 slot) |
void | Player_SetStructFunc (s32 slot, void *arg_func) |
pl_800386D8_t * | Player_GetTotalAttackCountPtr (int slot) |
StaleMoveTable * | Player_GetStaleMoveTableIndexPtr (s32 slot) |
int * | Player_GetUnk6A8Ptr (int slot) |
pl_StaleMoveTableExt_t * | Player_GetStaleMoveTableIndexPtr2 (s32 slot) |
s32 | Player_80036394 (s32 slot) |
s32 | Player_80036428 (s32 slot) |
void | Player_SetUnk45 (s32 slot, s8 unk45) |
u8 | Player_GetUnk45 (s32 slot) |
void | Player_UpdateJoystickCountByIndex (s32 slot, s32 index) |
s32 | Player_GetJoystickCountByIndex (s32 slot, s32 index) |
void | Player_800366DC (s32 slot, s32 arg1) |
void | Player_80036790 (s32 slot, f32 arg1) |
void | Player_80036844 (s32 slot, s32 arg1) |
void | Player_800368F8 (s32 slot) |
void | Player_80036978 (s32 slot, s32 arg1) |
void | Player_InitOrResetPlayer (s32 slot) |
void | Player_80036CF0 (s32 slot) |
void | Player_80036D24 (s32 slot) |
void | Player_InitAllPlayers (void) |
void | Player_80036DA4 (void) |
void | Player_80036DD8 (void) |
void | Player_80036E20 (CharacterKind ckind, HSD_Archive *archive, s32 arg2) |
s32 | Player_80036EA0 (s32 slot) |
void | Player_80036F34 (s32 slot, s32 arg1) |
void | Player_80037054 (s32 slot, s32 arg1) |
void | Player_SetOtherStamina (s32 slot, s32 stamina) |
void | Player_SetFlagsAEBit0 (s32 slot, u8 bit0) |
s32 | Player_80033BB8 (int slot) |
Variables | |
pl_804D6470_t * | pl_804D6470 |
StaticPlayer * Player_GetPtrForSlot | ( | int | slot | ) |
void Player_80031790 | ( | int | slot | ) |
transformed will either be [1,0] (normal) or [0,1] (transformed) checks to see if the player is in a transformed state, and calls the function only once depending on the state
void Player_80031848 | ( | int | slot | ) |
transformed will either be [1,0] (normal) or [0,1] (transformed) checks to see if the player is in a transformed state, and calls the function only once depending on the state
void Player_80031900 | ( | void | ) |
void Player_80031CB0 | ( | enum_t | id, |
int | slot | ||
) |
void Player_80031D2C | ( | enum_t | id, |
int | slot | ||
) |
void Player_80031DA8 | ( | s32 | param_1, |
s32 | param_2 | ||
) |
void Player_80031DC8 | ( | void | func_args32, s32 | ) |
void Player_80031EBC | ( | int | slot | ) |
void Player_80031FB0 | ( | int | slot, |
s32 | entity_index | ||
) |
void Player_80032070 | ( | int | slot, |
bool | bool_arg | ||
) |
new match decomp.me/scratch/oHfiV TODO / old match decomp.me/scratch/8otnq
bool Player_8003219C | ( | int | slot | ) |
bool Player_8003221C | ( | int | slot | ) |
s32 Player_GetPlayerState | ( | s32 | slot | ) |
CharacterKind Player_GetPlayerCharacter | ( | int | slot | ) |
void Player_SetPlayerCharacter | ( | s32 | slot, |
s32 | value | ||
) |
enum_t Player_GetPlayerSlotType | ( | s32 | slot | ) |
void Player_SetSlottype | ( | s32 | slot, |
enum_t | value | ||
) |
s8 Player_800325C8 | ( | s32 | slot, |
bool | b | ||
) |
s8 Player_80032610 | ( | s32 | slot, |
bool | arg1 | ||
) |
void Player_LoadPlayerCoords | ( | s32 | slot, |
Vec3 * | out_vec | ||
) |
void Player_80032768 | ( | s32 | slot, |
Vec3 * | arg_vec | ||
) |
void Player_80032828 | ( | s32 | slot, |
s32 | index, | ||
Vec3 * | arg_vec | ||
) |
void Player_800328D4 | ( | int | slot, |
Vec3 * | arg_vec | ||
) |
void Player_80032A04 | ( | int | slot, |
Vec3 * | arg_vec | ||
) |
void Player_SetPlayerAndEntityFacingDirection | ( | s32 | slot, |
f32 | direction | ||
) |
f32 Player_80032BB0 | ( | s32 | slot | ) |
void Player_SetScale | ( | s32 | slot, |
f32 | scale | ||
) |
void Player_GetSpawnPlatformPos | ( | s32 | slot, |
Vec3 * | arg_vec | ||
) |
void Player_SetSpawnPlatformPos | ( | s32 | slot, |
Vec3 * | arg_vec | ||
) |
void Player_GetSomePos | ( | s32 | slot, |
Vec3 * | arg_vec | ||
) |
void Player_SetSomePos | ( | s32 | slot, |
Vec3 * | arg_vec | ||
) |
s32 Player_80032F30 | ( | s32 | slot | ) |
void Player_80032FA4 | ( | s32 | slot, |
s32 | arg | ||
) |
f32 Player_GetFacingDirection | ( | s32 | slot | ) |
void Player_SetFacingDirection | ( | s32 | slot, |
f32 | direction | ||
) |
void Player_SetFacingDirectionConditional | ( | s32 | slot, |
bool | b, | ||
f32 | direction | ||
) |
u32 Player_GetCostumeId | ( | int | slot | ) |
void Player_SetCostumeId | ( | int | slot, |
s8 | costume_id | ||
) |
u8 Player_GetControllerIndex | ( | int | slot | ) |
void Player_SetControllerIndex | ( | int | slot, |
s8 | controller_index | ||
) |
int Player_GetTeam | ( | int | slot | ) |
void Player_SetTeam | ( | int | slot, |
s8 | unk_color | ||
) |
int Player_GetPlayerId | ( | int | slot | ) |
void Player_SetPlayerId | ( | int | slot, |
s8 | player_id | ||
) |
int Player_GetCpuLevel | ( | int | slot | ) |
void Player_SetPlayerAndEntityCpuLevel | ( | int | slot, |
int | cpu_level | ||
) |
int Player_GetCpuType | ( | int | slot | ) |
void Player_SetPlayerAndEntityCpuType | ( | int | slot, |
int | cpu_type | ||
) |
int Player_GetHandicap | ( | int | slot | ) |
void Player_SetHandicap | ( | int | slot, |
s8 | handicap | ||
) |
f32 Player_GetUnk50 | ( | int | slot | ) |
f32 Player_GetAttackRatio | ( | int | slot | ) |
void Player_SetAttackRatio | ( | int | slot, |
f32 | attack_ratio | ||
) |
f32 Player_GetDefenseRatio | ( | int | slot | ) |
void Player_SetDefenseRatio | ( | int | slot, |
f32 | defense_ratio | ||
) |
f32 Player_GetModelScale | ( | int | slot | ) |
void Player_SetModelScale | ( | int | slot, |
f32 | model_scale | ||
) |
s32 Player_GetStocks | ( | int | slot | ) |
int Player_GetP1Stock | ( | void | ) |
void Player_SetStocks | ( | int | slot, |
int | stocks | ||
) |
void Player_LoseStock | ( | int | slot | ) |
int Player_GetCoins | ( | int | slot | ) |
void Player_SetCoins | ( | int | slot, |
int | current_coins | ||
) |
int Player_GetTotalCoins | ( | int | slot | ) |
void Player_SetTotalCoins | ( | int | slot, |
int | coins | ||
) |
s32 Player_GetUnk98 | ( | s32 | slot | ) |
void Player_SetUnk98 | ( | s32 | slot, |
s32 | unk98 | ||
) |
s32 Player_GetUnk9C | ( | s32 | slot | ) |
void Player_SetUnk9C | ( | s32 | slot, |
s32 | unk9C | ||
) |
HSD_GObj * Player_GetEntity | ( | s32 | slot | ) |
HSD_GObj * Player_GetEntityAtIndex | ( | int | slot, |
int | index | ||
) |
void Player_SwapTransformedStates | ( | s32 | slot, |
s32 | arg1, | ||
s32 | arg2 | ||
) |
s32 Player_GetDamage | ( | s32 | slot | ) |
void Player_SetHUDDamage | ( | s32 | slot, |
s32 | arg1 | ||
) |
void Player_SetHPByIndex | ( | s32 | slot, |
s32 | arg1, | ||
s32 | arg2 | ||
) |
s16 Player_GetOtherStamina | ( | s32 | slot | ) |
u32 Player_GetRemainingHP | ( | s32 | slot | ) |
bool Player_GetMoreFlagsBit2 | ( | s32 | slot | ) |
void Player_SetMoreFlagsBit2 | ( | s32 | slot, |
u8 | bit2 | ||
) |
bool Player_GetMoreFlagsBit3 | ( | s32 | slot | ) |
void Player_SetMoreFlagsBit3 | ( | s32 | slot, |
u8 | bit3 | ||
) |
void Player_SetMoreFlagsBit4 | ( | s32 | slot, |
u8 | bit4 | ||
) |
bool Player_GetMoreFlagsBit4 | ( | s32 | slot | ) |
bool Player_GetMoreFlagsBit5 | ( | s32 | slot | ) |
void Player_SetMoreFlagsBit5 | ( | s32 | slot, |
u8 | bit5 | ||
) |
bool Player_GetMoreFlagsBit6 | ( | s32 | slot | ) |
void Player_SetMoreFlagsBit6 | ( | s32 | slot, |
u8 | bit6 | ||
) |
u8 Player_GetFlagsAEBit0 | ( | s32 | slot | ) |
s32 Player_GetRemainingHPByIndex | ( | s32 | slot, |
s32 | index | ||
) |
s32 Player_GetFalls | ( | s32 | slot | ) |
decomp.me/scratch/8ijor
s32 Player_GetFallsByIndex | ( | s32 | slot, |
s32 | index | ||
) |
void Player_SetFalls | ( | int | slot, |
s32 | falls | ||
) |
void Player_SetFallsByIndex | ( | int | slot, |
enum_t | index, | ||
s32 | falls | ||
) |
s32 Player_GetKOsByPlayerIndex | ( | int | slot, |
int | idx | ||
) |
void Player_UpdateKOsBySlot | ( | int | slot, |
bool | bool_arg, | ||
int | other_slot | ||
) |
u32 Player_GetMatchFrameCount | ( | int | slot | ) |
void Player_UpdateMatchFrameCount | ( | int | slot, |
bool | condition | ||
) |
u32 Player_GetSuicideCount | ( | int | slot | ) |
void Player_SetSuicideCount | ( | s32 | slot, |
u32 | suicide_count | ||
) |
void Player_IncSuicideCount | ( | s32 | slot, |
s32 | condition | ||
) |
bool Player_800353BC | ( | s32 | slot | ) |
void Player_SetFlagsBit0 | ( | int | slot, |
bool | bit0 | ||
) |
u8 Player_GetNametagSlotID | ( | int | slot | ) |
void Player_SetNametagSlotID | ( | int | slot, |
int | nametag_slot_id | ||
) |
s32 Player_GetFlagsBit1 | ( | s32 | slot | ) |
void Player_SetFlagsBit1 | ( | s32 | slot | ) |
void Player_UnsetFlagsBit1 | ( | int | slot | ) |
s32 Player_GetFlagsBit3 | ( | s32 | slot | ) |
void Player_SetFlagsBit3 | ( | s32 | slot, |
u8 | bit3 | ||
) |
int Player_GetFlagsBit4 | ( | int | slot | ) |
u8 Player_GetFlagsBit5 | ( | s32 | slot | ) |
void Player_SetFlagsBit5 | ( | s32 | slot, |
u8 | bit5 | ||
) |
u8 Player_GetFlagsBit6 | ( | s32 | slot | ) |
void Player_SetFlagsBit6 | ( | s32 | slot, |
u8 | bit6 | ||
) |
u8 Player_GetFlagsBit7 | ( | s32 | slot | ) |
void Player_SetFlagsBit7 | ( | s32 | slot, |
u8 | bit7 | ||
) |
bool Player_GetMoreFlagsBit0 | ( | s32 | slot | ) |
bool Player_GetMoreFlagsBit1 | ( | s32 | slot | ) |
void Player_SetMoreFlagsBit1 | ( | s32 | slot, |
u8 | bit1 | ||
) |
s32 Player_GetUnk4D | ( | s32 | slot | ) |
void Player_SetUnk4D | ( | s32 | slot, |
s8 | unk4D | ||
) |
u8 Player_GetFlagsAEBit1 | ( | s32 | slot | ) |
u8 Player_SetFlagsAEBit1 | ( | int | slot, |
u8 | bit1 | ||
) |
u8 Player_GetUnk4C | ( | s32 | slot | ) |
void Player_SetUnk4C | ( | s32 | slot, |
u8 | unk4C | ||
) |
bool Player_80036058 | ( | s32 | slot | ) |
float Player_800360D8 | ( | s32 | slot | ) |
void Player_SetStructFunc | ( | s32 | slot, |
void * | arg_func | ||
) |
pl_800386D8_t * Player_GetTotalAttackCountPtr | ( | int | slot | ) |
StaleMoveTable * Player_GetStaleMoveTableIndexPtr | ( | s32 | slot | ) |
int * Player_GetUnk6A8Ptr | ( | int | slot | ) |
pl_StaleMoveTableExt_t * Player_GetStaleMoveTableIndexPtr2 | ( | s32 | slot | ) |
s32 Player_80036394 | ( | s32 | slot | ) |
s32 Player_80036428 | ( | s32 | slot | ) |
void Player_SetUnk45 | ( | s32 | slot, |
s8 | unk45 | ||
) |
u8 Player_GetUnk45 | ( | s32 | slot | ) |
void Player_UpdateJoystickCountByIndex | ( | s32 | slot, |
s32 | index | ||
) |
s32 Player_GetJoystickCountByIndex | ( | s32 | slot, |
s32 | index | ||
) |
void Player_800366DC | ( | s32 | slot, |
s32 | arg1 | ||
) |
void Player_80036790 | ( | s32 | slot, |
f32 | arg1 | ||
) |
void Player_80036844 | ( | s32 | slot, |
s32 | arg1 | ||
) |
void Player_800368F8 | ( | s32 | slot | ) |
void Player_80036978 | ( | s32 | slot, |
s32 | arg1 | ||
) |
void Player_InitOrResetPlayer | ( | s32 | slot | ) |
void Player_80036CF0 | ( | s32 | slot | ) |
void Player_80036D24 | ( | s32 | slot | ) |
void Player_InitAllPlayers | ( | void | ) |
void Player_80036DA4 | ( | void | ) |
void Player_80036DD8 | ( | void | ) |
void Player_80036E20 | ( | CharacterKind | ckind, |
HSD_Archive * | archive, | ||
s32 | arg2 | ||
) |
s32 Player_80036EA0 | ( | s32 | slot | ) |
void Player_80036F34 | ( | s32 | slot, |
s32 | arg1 | ||
) |
void Player_80037054 | ( | s32 | slot, |
s32 | arg1 | ||
) |
void Player_SetOtherStamina | ( | s32 | slot, |
s32 | stamina | ||
) |
void Player_SetFlagsAEBit0 | ( | s32 | slot, |
u8 | bit0 | ||
) |
s32 Player_80033BB8 | ( | int | slot | ) |
|
extern |