Mario Kart 64
Loading...
Searching...
No Matches
effects.c File Reference
#include <ultra64.h>
#include <macros.h>
#include <decode.h>
#include <mk64.h>
#include <defines.h>
#include <sounds.h>
#include "code_800029B0.h"
#include "math_util.h"
#include "kart_attributes.h"
#include "waypoints.h"
#include "code_80005FD0.h"
#include "render_player.h"
#include "player_controller.h"
#include "render_objects.h"
#include "code_80057C60.h"
#include "effects.h"
#include "audio/external.h"
#include "spawn_players.h"
#include "code_80091750.h"
Include dependency graph for effects.c:

Macros

#define EFFECT_BLACKLIST_USE_ITEM
 

Functions

UNUSED void func_unnamed (void)
 
s32 func_8008C1D8 (UNUSED s32 *arg0)
 
void func_8008C1E0 (UNUSED s32 *arg0, UNUSED s32 arg1)
 
UNUSED void func_unnamed1 (UNUSED s32 arg0)
 
UNUSED void func_unnamed2 (UNUSED s32 arg0)
 
UNUSED void func_unnamed3 (void)
 
void func_8008C204 (void)
 
UNUSED void func_unnamed4 (void)
 
UNUSED void func_8008C214 (void)
 
UNUSED void func_unnamed5 (void)
 
UNUSED void func_unnamed6 (void)
 
UNUSED void func_unnamed7 (void)
 
UNUSED void func_unnamed8 (void)
 
UNUSED void func_8008C23C (void)
 
UNUSED void func_unnamed9 (void)
 
UNUSED void func_unnamed10 (void)
 
UNUSED void func_unnamed11 (void)
 
UNUSED void func_unnamed12 (void)
 
UNUSED void func_unnamed13 (void)
 
UNUSED void func_unnamed14 (void)
 
UNUSED void func_unnamed15 (void)
 
UNUSED void func_unnamed16 (void)
 
UNUSED void func_unnamed17 (void)
 
UNUSED void func_unnamed18 (void)
 
UNUSED void func_unnamed19 (void)
 
UNUSED void func_unnamed20 (void)
 
UNUSED void func_unnamed21 (void)
 
UNUSED void func_unnamed22 (UNUSED s32 arg0, UNUSED s32 arg1)
 
UNUSED void func_unnamed23 (void)
 
UNUSED void func_unnamed24 (void)
 
UNUSED void func_unnamed25 (void)
 
UNUSED void func_unnamed26 (void)
 
UNUSED void func_unnamed27 (void)
 
UNUSED void func_unnamed28 (void)
 
UNUSED void func_unnamed29 (void)
 
UNUSED void func_unnamed30 (void)
 
UNUSED void func_unnamed31 (void)
 
UNUSED void func_unnamed32 (void)
 
UNUSED void func_unnamed33 (void)
 
void func_8008C310 (Player *player)
 
UNUSED void func_unnamed34 (void)
 
void clean_effect (Player *player, s8 arg1)
 
void func_8008C528 (Player *player, s8 arg1)
 
void func_8008C62C (Player *player, s8 arg1)
 
void func_8008C6D0 (Player *player, s8 arg1)
 
void func_8008C73C (Player *player, s8 arg1)
 
void func_8008C8C4 (Player *player, s8 playerId)
 
void func_8008C9EC (Player *player, s8 arg1)
 
void func_8008CDC0 (Player *player, s8 arg1)
 
void func_8008CEB0 (Player *player, s8 arg1)
 
void func_8008D0E4 (Player *player, UNUSED s8 arg1)
 
void func_8008D0FC (Player *player, s8 arg1)
 
void func_8008D170 (Player *player, s8 arg1)
 
void func_8008D3B0 (Player *player, UNUSED s8 arg1)
 
void apply_boost_sound_effect (Player *player, s8 arg1)
 
void apply_boost_effect (Player *player)
 
void remove_boost_effect (Player *player)
 
void func_8008D570 (Player *player, s8 arg1)
 
void func_8008D698 (Player *player, s8 arg1)
 
void func_8008D760 (Player *player)
 
void func_8008D7B0 (Player *player, s8 arg1)
 
void func_8008D8B4 (Player *player, s8 arg1)
 
void func_8008D97C (Player *player)
 
void func_8008D9C0 (Player *player)
 
void apply_hit_sound_effect (Player *player, s8 arg1)
 
void apply_hit_effect (Player *player, s8 arg1)
 
void apply_hit_rotating_sound_effect (Player *player, s8 arg1)
 
void apply_lightning_effect (Player *player, s8 arg1)
 
void remove_lightning_effect (Player *player, UNUSED s8 arg1)
 
void func_8008E4A4 (Player *player, s8 arg1)
 
void apply_reverse_sound_effect (Player *player, s8 arg1)
 
void func_8008E884 (Player *player, s8 arg1)
 
void apply_hit_by_item_effect (Player *player, s8 arg1)
 
void apply_hit_by_item_sound_effect (Player *player, s8 arg1)
 
void remove_hit_by_item_effect (Player *player, s8 arg1)
 
void apply_boost_ramp_asphalt_sound_effect (Player *player, s8 playerId)
 
void apply_boost_ramp_asphalt_effect (Player *player)
 
void remove_boost_ramp_asphalt_effect (Player *player)
 
void apply_boost_ramp_wood_sound_effect (Player *player, s8 playerId)
 
void apply_boost_ramp_wood_effect (Player *player)
 
void remove_boost_ramp_wood_effect (Player *player)
 
void func_8008F104 (Player *player, s8 arg1)
 
void func_8008F1B8 (Player *player, s8 arg1)
 
void func_8008F3E0 (Player *player)
 
void func_8008F3F4 (Player *player, UNUSED s8 arg1)
 
void func_8008F494 (Player *player, s8 arg1)
 
void func_8008F5A4 (Player *player, s8 arg1)
 
void apply_star_effect (Player *player, s8 arg1)
 
void apply_star_sound_effect (Player *player, s8 arg1)
 
void func_8008F86C (Player *player, s8 arg1)
 
void apply_boo_effect (Player *arg0, s8 arg1)
 
void apply_boo_sound_effect (Player *player, s8 arg1)
 
void func_8008FB30 (Player *arg0, s8 arg1)
 
void func_8008FC1C (Player *player)
 
void func_8008FC64 (Player *player, s8 arg1)
 
void func_8008FCDC (Player *player, s8 arg1)
 
void func_8008FD4C (Player *player, UNUSED s8 arg1)
 
void func_8008FDA8 (Player *player, UNUSED s8 arg1)
 
void func_8008FDF4 (Player *player, UNUSED s8 arg1)
 
void func_8008FE84 (Player *player, UNUSED s8 arg1)
 
void func_8008FEDC (Player *player, UNUSED s8 arg1)
 
void func_8008FF08 (Player *player, s8 playerId)
 
void func_80090178 (Player *player, s8 playerId, Vec3f arg2, Vec3f arg3)
 
void func_80090778 (Player *player)
 
void func_80090868 (Player *player)
 
void func_80090970 (Player *player, s8 playerId, s8 arg2)
 
bool prevent_item_use (Player *player)
 
void func_800911B4 (Player *player, s8 arg1)
 
void func_80091298 (Player *player, s8 arg1)
 
void func_80091440 (s8 arg0)
 

Variables

s32 D_8018D900 [8]
 
s16 D_8018D920 [8]
 
s32 D_8018D930 [8]
 
s32 D_8018D950 [8]
 
s32 D_8018D970 [8]
 
s32 D_8018D990 [8]
 

Macro Definition Documentation

◆ EFFECT_BLACKLIST_USE_ITEM

#define EFFECT_BLACKLIST_USE_ITEM
Value:
LIGHTNING_EFFECT | 0x10000000 | 0x8000000 | HIT_EFFECT | HIT_BY_ITEM_EFFECT | 0x1000000 | 0x800000 | \
BOOST_RAMP_ASPHALT_EFFECT | 0x20000 | 0x10000 | 0x4000 | 0x800 | 0x400 | STAR_EFFECT | 0x80 | 0x40 | \
#define HIT_BY_ITEM_EFFECT
Definition defines.h:381
#define BOOST_RAMP_ASPHALT_EFFECT
Definition defines.h:380
#define STAR_EFFECT
Definition defines.h:378
#define LIGHTNING_EFFECT
Definition defines.h:383
#define BOOST_RAMP_WOOD_EFFECT
effect of player's for effects
Definition defines.h:377
#define HIT_EFFECT
Definition defines.h:382

Function Documentation

◆ apply_boo_effect()

void apply_boo_effect ( Player * arg0,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_boo_sound_effect()

void apply_boo_sound_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_boost_effect()

void apply_boost_effect ( Player * player)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_boost_ramp_asphalt_effect()

void apply_boost_ramp_asphalt_effect ( Player * player)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_boost_ramp_asphalt_sound_effect()

void apply_boost_ramp_asphalt_sound_effect ( Player * player,
s8 playerId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_boost_ramp_wood_effect()

void apply_boost_ramp_wood_effect ( Player * player)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_boost_ramp_wood_sound_effect()

void apply_boost_ramp_wood_sound_effect ( Player * player,
s8 playerId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_boost_sound_effect()

void apply_boost_sound_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_hit_by_item_effect()

void apply_hit_by_item_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_hit_by_item_sound_effect()

void apply_hit_by_item_sound_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_hit_effect()

void apply_hit_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_hit_rotating_sound_effect()

void apply_hit_rotating_sound_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_hit_sound_effect()

void apply_hit_sound_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_lightning_effect()

void apply_lightning_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_reverse_sound_effect()

void apply_reverse_sound_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_star_effect()

void apply_star_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply_star_sound_effect()

void apply_star_sound_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clean_effect()

void clean_effect ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008C1D8()

s32 func_8008C1D8 ( UNUSED s32 * arg0)
Here is the caller graph for this function:

◆ func_8008C1E0()

void func_8008C1E0 ( UNUSED s32 * arg0,
UNUSED s32 arg1 )
Here is the caller graph for this function:

◆ func_8008C204()

void func_8008C204 ( void )
Here is the caller graph for this function:

◆ func_8008C214()

UNUSED void func_8008C214 ( void )
Here is the caller graph for this function:

◆ func_8008C23C()

UNUSED void func_8008C23C ( void )
Here is the caller graph for this function:

◆ func_8008C310()

void func_8008C310 ( Player * player)
Here is the caller graph for this function:

◆ func_8008C528()

void func_8008C528 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008C62C()

void func_8008C62C ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008C6D0()

void func_8008C6D0 ( Player * player,
s8 arg1 )
Here is the caller graph for this function:

◆ func_8008C73C()

void func_8008C73C ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008C8C4()

void func_8008C8C4 ( Player * player,
s8 playerId )
Here is the caller graph for this function:

◆ func_8008C9EC()

void func_8008C9EC ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008CDC0()

void func_8008CDC0 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008CEB0()

void func_8008CEB0 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008D0E4()

void func_8008D0E4 ( Player * player,
UNUSED s8 arg1 )
Here is the caller graph for this function:

◆ func_8008D0FC()

void func_8008D0FC ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008D170()

void func_8008D170 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008D3B0()

void func_8008D3B0 ( Player * player,
UNUSED s8 arg1 )
Here is the caller graph for this function:

◆ func_8008D570()

void func_8008D570 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008D698()

void func_8008D698 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008D760()

void func_8008D760 ( Player * player)
Here is the caller graph for this function:

◆ func_8008D7B0()

void func_8008D7B0 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008D8B4()

void func_8008D8B4 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008D97C()

void func_8008D97C ( Player * player)
Here is the caller graph for this function:

◆ func_8008D9C0()

void func_8008D9C0 ( Player * player)
Here is the caller graph for this function:

◆ func_8008E4A4()

void func_8008E4A4 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008E884()

void func_8008E884 ( Player * player,
s8 arg1 )
Here is the caller graph for this function:

◆ func_8008F104()

void func_8008F104 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008F1B8()

void func_8008F1B8 ( Player * player,
s8 arg1 )
Here is the caller graph for this function:

◆ func_8008F3E0()

void func_8008F3E0 ( Player * player)
Here is the caller graph for this function:

◆ func_8008F3F4()

void func_8008F3F4 ( Player * player,
UNUSED s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008F494()

void func_8008F494 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008F5A4()

void func_8008F5A4 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008F86C()

void func_8008F86C ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008FB30()

void func_8008FB30 ( Player * arg0,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008FC1C()

void func_8008FC1C ( Player * player)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008FC64()

void func_8008FC64 ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008FCDC()

void func_8008FCDC ( Player * player,
s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008FD4C()

void func_8008FD4C ( Player * player,
UNUSED s8 arg1 )
Here is the caller graph for this function:

◆ func_8008FDA8()

void func_8008FDA8 ( Player * player,
UNUSED s8 arg1 )
Here is the caller graph for this function:

◆ func_8008FDF4()

void func_8008FDF4 ( Player * player,
UNUSED s8 arg1 )
Here is the call graph for this function:

◆ func_8008FE84()

void func_8008FE84 ( Player * player,
UNUSED s8 arg1 )

◆ func_8008FEDC()

void func_8008FEDC ( Player * player,
UNUSED s8 arg1 )
Here is the caller graph for this function:

◆ func_8008FF08()

void func_8008FF08 ( Player * player,
s8 playerId )
Here is the caller graph for this function:

◆ func_80090178()

void func_80090178 ( Player * player,
s8 playerId,
Vec3f arg2,
Vec3f arg3 )
Here is the caller graph for this function:

◆ func_80090778()

void func_80090778 ( Player * player)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80090868()

void func_80090868 ( Player * player)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80090970()

void func_80090970 ( Player * player,
s8 playerId,
s8 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800911B4()

void func_800911B4 ( Player * player,
s8 arg1 )
Here is the caller graph for this function:

◆ func_80091298()

void func_80091298 ( Player * player,
s8 arg1 )
Here is the caller graph for this function:

◆ func_80091440()

void func_80091440 ( s8 arg0)
Here is the caller graph for this function:

◆ func_unnamed()

UNUSED void func_unnamed ( void )

◆ func_unnamed1()

UNUSED void func_unnamed1 ( UNUSED s32 arg0)

◆ func_unnamed10()

UNUSED void func_unnamed10 ( void )

◆ func_unnamed11()

UNUSED void func_unnamed11 ( void )

◆ func_unnamed12()

UNUSED void func_unnamed12 ( void )

◆ func_unnamed13()

UNUSED void func_unnamed13 ( void )

◆ func_unnamed14()

UNUSED void func_unnamed14 ( void )

◆ func_unnamed15()

UNUSED void func_unnamed15 ( void )

◆ func_unnamed16()

UNUSED void func_unnamed16 ( void )

◆ func_unnamed17()

UNUSED void func_unnamed17 ( void )

◆ func_unnamed18()

UNUSED void func_unnamed18 ( void )

◆ func_unnamed19()

UNUSED void func_unnamed19 ( void )

◆ func_unnamed2()

UNUSED void func_unnamed2 ( UNUSED s32 arg0)

◆ func_unnamed20()

UNUSED void func_unnamed20 ( void )

◆ func_unnamed21()

UNUSED void func_unnamed21 ( void )

◆ func_unnamed22()

UNUSED void func_unnamed22 ( UNUSED s32 arg0,
UNUSED s32 arg1 )

◆ func_unnamed23()

UNUSED void func_unnamed23 ( void )

◆ func_unnamed24()

UNUSED void func_unnamed24 ( void )

◆ func_unnamed25()

UNUSED void func_unnamed25 ( void )

◆ func_unnamed26()

UNUSED void func_unnamed26 ( void )

◆ func_unnamed27()

UNUSED void func_unnamed27 ( void )

◆ func_unnamed28()

UNUSED void func_unnamed28 ( void )

◆ func_unnamed29()

UNUSED void func_unnamed29 ( void )

◆ func_unnamed3()

UNUSED void func_unnamed3 ( void )

◆ func_unnamed30()

UNUSED void func_unnamed30 ( void )

◆ func_unnamed31()

UNUSED void func_unnamed31 ( void )

◆ func_unnamed32()

UNUSED void func_unnamed32 ( void )

◆ func_unnamed33()

UNUSED void func_unnamed33 ( void )

◆ func_unnamed34()

UNUSED void func_unnamed34 ( void )

◆ func_unnamed4()

UNUSED void func_unnamed4 ( void )

◆ func_unnamed5()

UNUSED void func_unnamed5 ( void )

◆ func_unnamed6()

UNUSED void func_unnamed6 ( void )

◆ func_unnamed7()

UNUSED void func_unnamed7 ( void )

◆ func_unnamed8()

UNUSED void func_unnamed8 ( void )

◆ func_unnamed9()

UNUSED void func_unnamed9 ( void )

◆ prevent_item_use()

bool prevent_item_use ( Player * player)
Here is the caller graph for this function:

◆ remove_boost_effect()

void remove_boost_effect ( Player * player)
Here is the caller graph for this function:

◆ remove_boost_ramp_asphalt_effect()

void remove_boost_ramp_asphalt_effect ( Player * player)
Here is the caller graph for this function:

◆ remove_boost_ramp_wood_effect()

void remove_boost_ramp_wood_effect ( Player * player)
Here is the caller graph for this function:

◆ remove_hit_by_item_effect()

void remove_hit_by_item_effect ( Player * player,
s8 arg1 )
Here is the caller graph for this function:

◆ remove_lightning_effect()

void remove_lightning_effect ( Player * player,
UNUSED s8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ D_8018D900

s32 D_8018D900[8]

◆ D_8018D920

s16 D_8018D920[8]

◆ D_8018D930

s32 D_8018D930[8]

◆ D_8018D950

s32 D_8018D950[8]

◆ D_8018D970

s32 D_8018D970[8]

◆ D_8018D990

s32 D_8018D990[8]