SSBM Decomp
Loading...
Searching...
No Matches
lbbgflash.c File Reference

Background flash effects for dramatic game events. More...

#include "lbbgflash.h"
#include <placeholder.h>
#include "lb/forward.h"
#include "lb/lb_00F9.h"
#include <baselib/gobj.h>
#include <baselib/objalloc.h>

Data Structures

struct  BgFlashState
 
struct  BgFlashData
 
struct  BgFlashData2
 
struct  BgFlashGlobal
 

Functions

static void lbBgFlash_80021A10 (f32 arg8)
 
static void fn_80021C18 (HSD_GObj *gobj, CommandInfo *cmd, int arg2)
 lbBgFlash_80021A18
 
void lbBgFlash_InitState (int *duration)
 Initialize background flash state.
 
void fn_800204C8 (void)
 fn_8001FC08
 
void lbBgFlash_800205F0 (s32 duration)
 Trigger background flash.
 
void lbBgFlash_8002063C (int count)
 Trigger background flash.
 
void lbBgFlash_80020688 (int count)
 
void fn_800219E4 (void *arg0)
 
void fn_80021C1C (void)
 
void lbBgFlash_80021C48 (u32 arg0, u32 arg1)
 
void fn_80021C80 (HSD_GObj *gobj)
 

Variables

BgFlashData lbl_80433658
 
s32 lbl_804D3840
 
s32 lbl_804D3844
 
s32 lbl_804D3848
 
s32 lbl_804D384C
 
HSD_ObjAllocData lbl_804336A0
 fn_800208B0
 
f32 lbl_804D63D8
 
BgFlashGloballbl_804D63E0
 
struct Fighter_804D653C_tlbl_804D63DC
 

Detailed Description

Background flash effects for dramatic game events.

Provides full-screen color overlay flashes triggered by various game events. Called from game mode code (gmallstar.c, gm_17C0.c, gm_1A4C.c, etc).

Function Documentation

◆ lbBgFlash_80021A10()

static void lbBgFlash_80021A10 ( f32  arg8)
static

◆ fn_80021C18()

static void fn_80021C18 ( HSD_GObj gobj,
CommandInfo cmd,
int  arg2 
)
static

◆ lbBgFlash_InitState()

void lbBgFlash_InitState ( int *  duration)

Initialize background flash state.

lbBgFlash_800206D4

◆ fn_800204C8()

void fn_800204C8 ( void  )

◆ lbBgFlash_800205F0()

void lbBgFlash_800205F0 ( s32  duration)

Trigger background flash.

Parameters
durationFlash duration in frames (minimum 1).

◆ lbBgFlash_8002063C()

void lbBgFlash_8002063C ( int  count)

Trigger background flash.

Parameters
countFlash duration in frames (minimum 1).

◆ lbBgFlash_80020688()

void lbBgFlash_80020688 ( int  count)

◆ fn_800219E4()

void fn_800219E4 ( void *  arg0)

◆ fn_80021C1C()

void fn_80021C1C ( void  )

◆ lbBgFlash_80021C48()

void lbBgFlash_80021C48 ( u32  arg0,
u32  arg1 
)

◆ fn_80021C80()

void fn_80021C80 ( HSD_GObj gobj)

Variable Documentation

◆ lbl_80433658

BgFlashData lbl_80433658
extern

◆ lbl_804D3840

s32 lbl_804D3840
extern

◆ lbl_804D3844

s32 lbl_804D3844
extern

◆ lbl_804D3848

s32 lbl_804D3848
extern

◆ lbl_804D384C

s32 lbl_804D384C
extern

◆ lbl_804336A0

◆ lbl_804D63D8

f32 lbl_804D63D8

◆ lbl_804D63E0

BgFlashGlobal* lbl_804D63E0
extern

◆ lbl_804D63DC

struct Fighter_804D653C_t* lbl_804D63DC
extern