src/scene/shared/cracked_tile_place_landing.c
Included by anemos_inner_sanctum.c, jupiter_lighthouse_aerie_beacon.c, jupiter_lighthouse_basement.c, jupiter_lighthouse_central_room.c, jupiter_lighthouse_cracked_floor.c, jupiter_lighthouse_entrance.c, jupiter_lighthouse_ground_floor.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_locked_doors.c, jupiter_lighthouse_right_tower_lower.c, jupiter_lighthouse_right_tower_upper.c, jupiter_lighthouse_side_halls.c, jupiter_lighthouse_terraces.c, jupiter_lighthouse_upper_hall.c, mars_lighthouse_entrance.c, mars_lighthouse_star_room.c and mars_lighthouse_towers.c.
Functions
| Name | Description | |
|---|---|---|
void | scCrackedTilePlaceLanding (Sint32 x, Sint32 z, Sint32 effect) | When the leader has fallen through a cracked tile, sets him in the middle of the metatile the two flag bytes saved, counted from metatile (x, z), clears them, centres the view on him and drops him in with the screen transition effect. |
Functions in detail
scCrackedTilePlaceLanding
void scCrackedTilePlaceLanding(Sint32 x, Sint32 z, Sint32 effect)
When the leader has fallen through a cracked tile, sets him in the middle of the metatile the two flag bytes saved, counted from metatile (x, z), clears them, centres the view on him and drops him in with the screen transition effect.
References CrackedTiles, fdActorGet(), fdMapGridCenterOnFollowedPoint(), MainRoutineStateWork, scCrackedTileDropIn(), scFieldGameFlagGetByte(), Sint32 and syGameFlagSetByte().
Referenced by scInit().
Definition at line 5 of file cracked_tile_place_landing.c.