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

#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_tx58
u8 pad_x5C [0x60 - 0x5C]

Field Documentation

◆ match_kind

u32 StartMeleeRules::match_kind

◆ x0_3

u32 StartMeleeRules::x0_3

unknown enum

◆ timer_enabled

u32 StartMeleeRules::timer_enabled

◆ timer_counts_up

u32 StartMeleeRules::timer_counts_up

◆ x1_0

u32 StartMeleeRules::x1_0

◆ x1_1

u32 StartMeleeRules::x1_1

◆ x1_2

u32 StartMeleeRules::x1_2

◆ x1_3

u32 StartMeleeRules::x1_3

◆ x1_4

u32 StartMeleeRules::x1_4

◆ x1_5

u32 StartMeleeRules::x1_5

◆ timer_shows_hours

u32 StartMeleeRules::timer_shows_hours

◆ friendly_fire

u32 StartMeleeRules::friendly_fire

friendly fire on

◆ is_stock

u32 StartMeleeRules::is_stock

◆ x2_1

u32 StartMeleeRules::x2_1

◆ x2_2

u32 StartMeleeRules::x2_2

◆ single_button

u32 StartMeleeRules::single_button

single-button mode enabled

◆ disable_pausing

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.

◆ x2_5

u32 StartMeleeRules::x2_5

◆ x2_6

u32 StartMeleeRules::x2_6

◆ x2_7

u32 StartMeleeRules::x2_7

◆ x3_0

u32 StartMeleeRules::x3_0

◆ x3_1

u32 StartMeleeRules::x3_1

◆ x3_2

u32 StartMeleeRules::x3_2

◆ x3_3

u32 StartMeleeRules::x3_3

◆ x3_4

u32 StartMeleeRules::x3_4

◆ x3_5

u32 StartMeleeRules::x3_5

◆ x3_6

u32 StartMeleeRules::x3_6

◆ x3_7

u32 StartMeleeRules::x3_7

◆ x4_0

u32 StartMeleeRules::x4_0

pause camera enabled?

◆ is_vs

u32 StartMeleeRules::is_vs

Set only by gmVsMelee_EnterVs.

◆ x4_2

u32 StartMeleeRules::x4_2

◆ x4_3

u32 StartMeleeRules::x4_3

◆ x4_4

u32 StartMeleeRules::x4_4

◆ x4_5

u32 StartMeleeRules::x4_5

◆ x4_6

u32 StartMeleeRules::x4_6

◆ x4_7

u32 StartMeleeRules::x4_7

◆ x5_0

u32 StartMeleeRules::x5_0

◆ x5_1

u32 StartMeleeRules::x5_1

◆ x5_2

u32 StartMeleeRules::x5_2

◆ x5_3

u32 StartMeleeRules::x5_3

◆ x5_4

u32 StartMeleeRules::x5_4

◆ x5_5

u32 StartMeleeRules::x5_5

◆ x5_6

u32 StartMeleeRules::x5_6

◆ x5_7

u32 StartMeleeRules::x5_7

◆ x6

u8 StartMeleeRules::x6

◆ x7

u8 StartMeleeRules::x7

◆ is_teams

u8 StartMeleeRules::is_teams

◆ x9

u8 StartMeleeRules::x9

◆ xA

u8 StartMeleeRules::xA

◆ item_freq

s8 StartMeleeRules::item_freq

◆ sd_penalty

s8 StartMeleeRules::sd_penalty

◆ xD

u8 StartMeleeRules::xD

◆ stkind

u16 StartMeleeRules::stkind

◆ time_limit

u32 StartMeleeRules::time_limit

time limit in seconds

◆ x14

u8 StartMeleeRules::x14

◆ x18

u32 StartMeleeRules::x18

◆ x1C_pad

u32 StartMeleeRules::x1C_pad[(0x20 - 0x1C)/4]

◆ x20

u64 StartMeleeRules::x20

◆ x28

int StartMeleeRules::x28

◆ x2C

float StartMeleeRules::x2C

◆ x30

float StartMeleeRules::x30

damage ratio

◆ game_speed

float StartMeleeRules::game_speed

game speed

◆ on_unpause_override

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.

◆ on_pause_override

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.

◆ check_for_pauser_override

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.

◆ on_match_start

Event StartMeleeRules::on_match_start

on VS match start callback

◆ on_frame_start

Event StartMeleeRules::on_frame_start

ingame pre-frame callback

◆ on_frame_end

Event StartMeleeRules::on_frame_end

ingame post-frame callback

◆ on_match_end

void(* StartMeleeRules::on_match_end) (u8 outcome)

on VS match end callback.

Parameters
outcomeMatchOutcome

◆ pad_x0

u8 StartMeleeRules::pad_x0[0x10]

◆ x10_b0

u8 StartMeleeRules::x10_b0

◆ x10_b1

u8 StartMeleeRules::x10_b1

◆ [struct]

struct { ... } * StartMeleeRules::x54

◆ x58

struct lbl_8046B668_t* StartMeleeRules::x58

◆ pad_x5C

u8 StartMeleeRules::pad_x5C[0x60 - 0x5C]

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