Go to the source code of this file.
Functions | |
void | player_surface_spawn_basic_fx (void) |
void | player_surface_spawn_flower_fx (void) |
void | player_surface_spawn_cloud_fx (void) |
void | player_surface_spawn_snow_fx (void) |
void | player_surface_spawn_hedges_fx (void) |
void | player_surface_spawn_water_fx (void) |
void | surface_set_walk_effect (s32 effect) |
Select the type of surface effect spawned by the player while moving The effect is reset between maps, so include this in the Main script for every map you wish to change. | |
void | player_surface_spawn_fx (void) |
void | npc_surface_spawn_basic_fx (Npc *npc, SurfaceInteractMode mode) |
void | npc_surface_spawn_flower_fx (Npc *npc, SurfaceInteractMode mode) |
void | npc_surface_spawn_cloud_fx (Npc *npc, SurfaceInteractMode mode) |
void | npc_surface_spawn_snow_fx (Npc *npc, SurfaceInteractMode mode) |
void | npc_surface_spawn_hedges_fx (Npc *npc, SurfaceInteractMode mode) |
void | npc_surface_spawn_water_fx (Npc *npc, SurfaceInteractMode mode) |
void | npc_surface_spawn_fx (Npc *npc, SurfaceInteractMode mode) |
Variables | |
BSS s32 | PrevTimeInAir |
BSS s32 | LandedTimeInAir |
s32 | PrevSurfaceType = SURFACE_TYPE_DEFAULT |
s32 | SurfaceWalkEffectType = SURFACE_WALK_FX_STANDARD |
s16 | PlayerDustSpawnDelay = 4 |
f32 | PlayerFlowerSplashAngle = 0.0f |
s16 | PlayerFlowerSplashDelay = 5 |
s16 | PlayerFlowerTrailDelay = 4 |
s32 | PlayerFlowerTrailVariant = 0 |
f32 | PlayerCloudPuffAngle = 0.0f |
s16 | PlayerSnowSpawnDelay = 4 |
b32 | PlayerNextFootParity = FALSE |
s16 | PlayerHedgeSpawnDelay = 4 |
s16 | PlayerWaterSpawnDelay = 4 |
s16 | NpcDustSpawnDelay = 4 |
f32 | NpcDustSpawnAngle = 0.0f |
s16 | NpcFlowerSplashDelay = 5 |
f32 | NpcFlowerSplashAngle = 0 |
s16 | NpcFlowerTrailDelay = 4 |
s32 | NpcFlowerTrailVariant = 0 |
f32 | NpcCloudPuffAngle = 0.0f |
s16 | NpcSnowSpawnDelay = 4 |
s32 | NpcNextFootParity = 0 |
s16 | NpcHedgeSpawnDelay = 4 |
s16 | NpcWaterSpawnDelay = 4 |
void player_surface_spawn_basic_fx | ( | void | ) |
Definition at line 83 of file surfaces.c.
Referenced by player_surface_spawn_fx().
void player_surface_spawn_flower_fx | ( | void | ) |
Definition at line 195 of file surfaces.c.
Referenced by player_surface_spawn_fx().
void player_surface_spawn_cloud_fx | ( | void | ) |
Definition at line 240 of file surfaces.c.
Referenced by player_surface_spawn_fx().
void player_surface_spawn_snow_fx | ( | void | ) |
Definition at line 294 of file surfaces.c.
Referenced by player_surface_spawn_fx().
void player_surface_spawn_hedges_fx | ( | void | ) |
Definition at line 322 of file surfaces.c.
Referenced by player_surface_spawn_fx().
void player_surface_spawn_water_fx | ( | void | ) |
Definition at line 348 of file surfaces.c.
Referenced by player_surface_spawn_fx().
void surface_set_walk_effect | ( | s32 | effect | ) |
Select the type of surface effect spawned by the player while moving The effect is reset between maps, so include this in the Main script for every map you wish to change.
type | enum value from SurfaceWalkEffect |
Definition at line 18 of file surfaces.c.
Referenced by load_map_by_IDs().
void player_surface_spawn_fx | ( | void | ) |
Definition at line 42 of file surfaces.c.
Referenced by player_jump(), and update_player().
void npc_surface_spawn_basic_fx | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Definition at line 424 of file surfaces.c.
Referenced by npc_surface_spawn_fx().
void npc_surface_spawn_flower_fx | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Definition at line 469 of file surfaces.c.
Referenced by npc_surface_spawn_fx().
void npc_surface_spawn_cloud_fx | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Definition at line 502 of file surfaces.c.
Referenced by npc_surface_spawn_fx().
void npc_surface_spawn_snow_fx | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Definition at line 540 of file surfaces.c.
Referenced by npc_surface_spawn_fx().
void npc_surface_spawn_hedges_fx | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Definition at line 560 of file surfaces.c.
Referenced by npc_surface_spawn_fx().
void npc_surface_spawn_water_fx | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Definition at line 574 of file surfaces.c.
Referenced by npc_surface_spawn_fx().
void npc_surface_spawn_fx | ( | Npc * | npc, |
SurfaceInteractMode | mode ) |
Definition at line 394 of file surfaces.c.
Referenced by _npc_jump_to(), AvoidPlayerAI_Chase(), basic_ai_chase(), CleftAI_Tackle(), GuardAI_Chase(), partner_get_out(), partner_move_to_goal(), partner_walking_follow_player(), PatrolAI_Chase(), PatrolAI_Move(), player_jump(), and update_riding_physics().
BSS s32 PrevTimeInAir |
Definition at line 11 of file surfaces.c.
Referenced by player_surface_spawn_fx().
BSS s32 LandedTimeInAir |
Definition at line 12 of file surfaces.c.
Referenced by player_surface_spawn_basic_fx(), player_surface_spawn_cloud_fx(), and player_surface_spawn_fx().
s32 PrevSurfaceType = SURFACE_TYPE_DEFAULT |
Definition at line 14 of file surfaces.c.
Referenced by player_surface_spawn_fx().
s32 SurfaceWalkEffectType = SURFACE_WALK_FX_STANDARD |
Definition at line 16 of file surfaces.c.
Referenced by npc_surface_spawn_basic_fx(), player_surface_spawn_basic_fx(), and surface_set_walk_effect().
s16 PlayerDustSpawnDelay = 4 |
Definition at line 30 of file surfaces.c.
Referenced by player_surface_spawn_basic_fx().
f32 PlayerFlowerSplashAngle = 0.0f |
Definition at line 31 of file surfaces.c.
Referenced by player_surface_spawn_flower_fx().
s16 PlayerFlowerSplashDelay = 5 |
Definition at line 32 of file surfaces.c.
Referenced by player_surface_spawn_flower_fx().
s16 PlayerFlowerTrailDelay = 4 |
Definition at line 33 of file surfaces.c.
Referenced by player_surface_spawn_flower_fx().
s32 PlayerFlowerTrailVariant = 0 |
Definition at line 34 of file surfaces.c.
Referenced by player_surface_spawn_flower_fx().
f32 PlayerCloudPuffAngle = 0.0f |
Definition at line 35 of file surfaces.c.
Referenced by player_surface_spawn_cloud_fx().
s16 PlayerSnowSpawnDelay = 4 |
Definition at line 36 of file surfaces.c.
Referenced by player_surface_spawn_snow_fx().
b32 PlayerNextFootParity = FALSE |
Definition at line 37 of file surfaces.c.
Referenced by player_surface_spawn_snow_fx().
s16 PlayerHedgeSpawnDelay = 4 |
Definition at line 38 of file surfaces.c.
Referenced by player_surface_spawn_hedges_fx().
s16 PlayerWaterSpawnDelay = 4 |
Definition at line 39 of file surfaces.c.
Referenced by player_surface_spawn_water_fx().
s16 NpcDustSpawnDelay = 4 |
Definition at line 375 of file surfaces.c.
Referenced by npc_surface_spawn_basic_fx().
f32 NpcDustSpawnAngle = 0.0f |
Definition at line 376 of file surfaces.c.
Referenced by npc_surface_spawn_basic_fx().
s16 NpcFlowerSplashDelay = 5 |
Definition at line 377 of file surfaces.c.
Referenced by npc_surface_spawn_flower_fx().
f32 NpcFlowerSplashAngle = 0 |
Definition at line 378 of file surfaces.c.
Referenced by npc_surface_spawn_flower_fx().
s16 NpcFlowerTrailDelay = 4 |
Definition at line 379 of file surfaces.c.
Referenced by npc_surface_spawn_flower_fx().
s32 NpcFlowerTrailVariant = 0 |
Definition at line 380 of file surfaces.c.
Referenced by npc_surface_spawn_flower_fx().
f32 NpcCloudPuffAngle = 0.0f |
Definition at line 381 of file surfaces.c.
Referenced by npc_surface_spawn_cloud_fx().
s16 NpcSnowSpawnDelay = 4 |
Definition at line 382 of file surfaces.c.
Referenced by npc_surface_spawn_snow_fx().
s32 NpcNextFootParity = 0 |
Definition at line 383 of file surfaces.c.
Referenced by npc_surface_spawn_snow_fx().
s16 NpcHedgeSpawnDelay = 4 |
Definition at line 384 of file surfaces.c.
Referenced by npc_surface_spawn_hedges_fx().
s16 NpcWaterSpawnDelay = 4 |
Definition at line 385 of file surfaces.c.
Referenced by npc_surface_spawn_water_fx().