|
SSBM Decomp
|
#include <types.h>
Data Fields | |
| u32 | match_kind: 3 |
| MatchKind | |
| u32 | x0_3: 3 |
| unknown enum | |
| u32 | timer_enabled: 1 |
| u32 | timer_counts_up: 1 |
| bool | |
| u32 | x1_0: 1 |
| u32 | x1_1: 1 |
| u32 | x1_2: 1 |
| u32 | x1_3: 1 |
| u32 | x1_4: 1 |
| u32 | x1_5: 1 |
| u32 | timer_shows_hours: 1 |
| u32 | friendly_fire: 1 |
| friendly fire on | |
| u32 | is_stock: 1 |
| u32 | x2_1: 1 |
| u32 | x2_2: 1 |
| u32 | single_button: 1 |
| single-button mode enabled | |
| u32 | disable_pausing: 1 |
| When set, pausing is disabled for both active gameplay and pause menus. | |
| u32 | x2_5: 1 |
| u32 | x2_6: 1 |
| u32 | x2_7: 1 |
| u32 | x3_0: 1 |
| u32 | x3_1: 1 |
| u32 | x3_2: 1 |
| u32 | x3_3: 1 |
| u32 | x3_4: 1 |
| u32 | x3_5: 1 |
| u32 | x3_6: 1 |
| u32 | x3_7: 1 |
| u32 | x4_0: 1 |
| pause camera enabled? | |
| u32 | is_vs: 1 |
| Set only by gmVsMelee_EnterVs. | |
| u32 | x4_2: 1 |
| u32 | x4_3: 1 |
| u32 | x4_4: 1 |
| u32 | x4_5: 1 |
| u32 | x4_6: 1 |
| u32 | x4_7: 1 |
| u32 | x5_0: 1 |
| u32 | x5_1: 1 |
| u32 | x5_2: 1 |
| u32 | x5_3: 1 |
| u32 | x5_4: 1 |
| u32 | x5_5: 1 |
| u32 | x5_6: 1 |
| u32 | x5_7: 1 |
| u8 | x6 |
| u8 | x7 |
| u8 | is_teams |
| u8 | x9 |
| u8 | xA |
| s8 | item_freq |
| s8 | sd_penalty |
| u8 | xD |
| u16 | stkind |
| u32 | time_limit |
| time limit in seconds | |
| u8 | x14 |
| u32 | x18 |
| u32 | x1C_pad [(0x20 - 0x1C)/4] |
| u64 | x20 |
| int | x28 |
| float | x2C |
| float | x30 |
| damage ratio | |
| float | game_speed |
| game speed | |
| void(* | on_unpause_override )(int) |
| on unpause callback. | |
| void(* | on_pause_override )(int) |
| on pause callback. | |
| int(* | check_for_pauser_override )(void) |
| When set, this method is used for checking if a player/which player has pressed pause while unpaused. | |
| Event | on_match_start |
| on VS match start callback | |
| Event | on_frame_start |
| ingame pre-frame callback | |
| Event | on_frame_end |
| ingame post-frame callback | |
| void(* | on_match_end )(u8 outcome) |
| on VS match end callback. | |
| struct { | |
| u8 pad_x0 [0x10] | |
| u8 x10_b0: 1 | |
| u8 x10_b1: 1 | |
| } * | x54 |
| struct lbl_8046B668_t * | x58 |
| u8 | pad_x5C [0x60 - 0x5C] |
| u32 StartMeleeRules::x0_3 |
unknown enum
| u32 StartMeleeRules::timer_enabled |
| u32 StartMeleeRules::x1_0 |
| u32 StartMeleeRules::x1_1 |
| u32 StartMeleeRules::x1_2 |
| u32 StartMeleeRules::x1_3 |
| u32 StartMeleeRules::x1_4 |
| u32 StartMeleeRules::x1_5 |
| u32 StartMeleeRules::timer_shows_hours |
| u32 StartMeleeRules::friendly_fire |
friendly fire on
| u32 StartMeleeRules::is_stock |
| u32 StartMeleeRules::x2_1 |
| u32 StartMeleeRules::x2_2 |
| u32 StartMeleeRules::single_button |
single-button mode enabled
| u32 StartMeleeRules::disable_pausing |
When set, pausing is disabled for both active gameplay and pause menus.
Sourced from the rules pause option and from several game-mode setups.
| u32 StartMeleeRules::x2_5 |
| u32 StartMeleeRules::x2_6 |
| u32 StartMeleeRules::x2_7 |
| u32 StartMeleeRules::x3_0 |
| u32 StartMeleeRules::x3_1 |
| u32 StartMeleeRules::x3_2 |
| u32 StartMeleeRules::x3_3 |
| u32 StartMeleeRules::x3_4 |
| u32 StartMeleeRules::x3_5 |
| u32 StartMeleeRules::x3_6 |
| u32 StartMeleeRules::x3_7 |
| u32 StartMeleeRules::x4_0 |
pause camera enabled?
| u32 StartMeleeRules::is_vs |
Set only by gmVsMelee_EnterVs.
| u32 StartMeleeRules::x4_2 |
| u32 StartMeleeRules::x4_3 |
| u32 StartMeleeRules::x4_4 |
| u32 StartMeleeRules::x4_5 |
| u32 StartMeleeRules::x4_6 |
| u32 StartMeleeRules::x4_7 |
| u32 StartMeleeRules::x5_0 |
| u32 StartMeleeRules::x5_1 |
| u32 StartMeleeRules::x5_2 |
| u32 StartMeleeRules::x5_3 |
| u32 StartMeleeRules::x5_4 |
| u32 StartMeleeRules::x5_5 |
| u32 StartMeleeRules::x5_6 |
| u32 StartMeleeRules::x5_7 |
| u8 StartMeleeRules::x6 |
| u8 StartMeleeRules::x7 |
| u8 StartMeleeRules::is_teams |
| u8 StartMeleeRules::x9 |
| u8 StartMeleeRules::xA |
| s8 StartMeleeRules::item_freq |
| s8 StartMeleeRules::sd_penalty |
| u8 StartMeleeRules::xD |
| u16 StartMeleeRules::stkind |
| u32 StartMeleeRules::time_limit |
time limit in seconds
| u8 StartMeleeRules::x14 |
| u32 StartMeleeRules::x18 |
| u32 StartMeleeRules::x1C_pad[(0x20 - 0x1C)/4] |
| u64 StartMeleeRules::x20 |
| int StartMeleeRules::x28 |
| float StartMeleeRules::x2C |
| float StartMeleeRules::x30 |
damage ratio
| float StartMeleeRules::game_speed |
game speed
| void(* StartMeleeRules::on_unpause_override) (int) |
on unpause callback.
When set, this method is called with the pauser playerId when a player unpauses the match. If not set, falls back to Ground_EnableMatchCamera; StartMeleeRules::x4_0 must also be true.
| void(* StartMeleeRules::on_pause_override) (int) |
on pause callback.
When set, this method is called when a player presses Start during an unpaused match. Otherwise, gm_EnablePlayerPauseCamera is called; StartMeleeRules::x4_0 must also be true.
| int(* StartMeleeRules::check_for_pauser_override) (void) |
When set, this method is used for checking if a player/which player has pressed pause while unpaused.
Otherwise falls back to gm_DefaultVSGetPauser; StartMeleeRules::x4_0 must also be true.
| Event StartMeleeRules::on_match_start |
on VS match start callback
| Event StartMeleeRules::on_frame_start |
ingame pre-frame callback
| Event StartMeleeRules::on_frame_end |
ingame post-frame callback
| void(* StartMeleeRules::on_match_end) (u8 outcome) |
on VS match end callback.
| outcome | MatchOutcome |
| u8 StartMeleeRules::pad_x0[0x10] |
| u8 StartMeleeRules::x10_b0 |
| u8 StartMeleeRules::x10_b1 |
| struct { ... } * StartMeleeRules::x54 |
| struct lbl_8046B668_t* StartMeleeRules::x58 |
| u8 StartMeleeRules::pad_x5C[0x60 - 0x5C] |