Kolima Forest's river, between the clearing and the bend. More...
Go to the source code of this file.
Macros | |
| #define | DIRECTION_STEP(dx, dz) |
| Pixel step by direction: X in the upper halfword, Z in the lower. | |
Enumerations | |
| enum | { RIVER_LOG = 10 } |
| Actors 8 to 10 are the logs; 10 is the one that can reach the river. More... | |
Functions | |
| const struct SceneEntrance * | KolimaForestRiver_GetEntrances (void) |
| const struct SceneRegion * | KolimaForestRiver_GetRegions (void) |
| const u32 * | KolimaForestRiver_GetExits (void) |
| const struct ScenePlacement * | KolimaForestRiver_GetPlacements (void) |
| The three logs. | |
| static void | KolimaForestRiver_PushLog (void) |
| Walking into a log: it rolls ahead until something stops it. | |
| const struct SceneEvent * | KolimaForestRiver_GetEvents (void) |
| The logs, the two paths and the jump east from the bank. | |
| s32 | KolimaForestRiver_Initialize (void) |
| On entry a log already in the river floats there again, the logs mark the cells they cover, and the forest keeps its cursed colours until the curse is lifted. | |
Variables | |
| s32 | gStagedActor_DirectionSteps [] |
| Pixel step by direction: X in the upper halfword, Z in the lower. | |
| u32 | gStagedActor_FootprintKinds [] |
| s32 | gStagedActor_FootprintBounds [] |
| struct SceneEntrance | gKolimaForestRiverEntrances [] |
| u32 | gKolimaForestRiverExits [] |
| Exit 1 to the bend (scene 43), exit 2 to the clearing (scene 41). | |
| struct ScenePlacement | gKolimaForestRiverPlacements [] |
| struct SceneEvent | gKolimaForestRiverEvents [] |
| u8 | gKolimaPalette_First [1792] |
| u8 | gKolimaPalette_Second [896] |
Kolima Forest's river, between the clearing and the bend.
Of its three logs, the one pushed west to the bank tips into the river and floats there, a bridge to the far side.
FLAG_SCENE_TEMP_01: the log is in the river.
Definition in file kolima_forest_river.c.
| #define DIRECTION_STEP | ( | dx, | |
| dz ) |
Pixel step by direction: X in the upper halfword, Z in the lower.
Definition at line 116 of file kolima_forest_river.c.
| anonymous enum |
Actors 8 to 10 are the logs; 10 is the one that can reach the river.
| Enumerator | |
|---|---|
| RIVER_LOG | |
Definition at line 38 of file kolima_forest_river.c.
| const struct SceneEntrance * KolimaForestRiver_GetEntrances | ( | void | ) |
Definition at line 42 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetEntrances().
| const struct SceneRegion * KolimaForestRiver_GetRegions | ( | void | ) |
Definition at line 46 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetRegions().
| const u32 * KolimaForestRiver_GetExits | ( | void | ) |
Definition at line 48 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetExits().
| const struct ScenePlacement * KolimaForestRiver_GetPlacements | ( | void | ) |
The three logs.
Definition at line 51 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetPlacements().
|
static |
Walking into a log: it rolls ahead until something stops it.
The river log, stopped at the bank (cell column 12), tips over with a splash and floats in the water; its cells become ground the party can cross.
Definition at line 58 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_PushLog().
| const struct SceneEvent * KolimaForestRiver_GetEvents | ( | void | ) |
The logs, the two paths and the jump east from the bank.
Definition at line 84 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetEvents().
| s32 KolimaForestRiver_Initialize | ( | void | ) |
On entry a log already in the river floats there again, the logs mark the cells they cover, and the forest keeps its cursed colours until the curse is lifted.
Definition at line 91 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_Initialize().
| s32 gStagedActor_DirectionSteps[] |
Pixel step by direction: X in the upper halfword, Z in the lower.
Definition at line 118 of file kolima_forest_river.c.
| u32 gStagedActor_FootprintKinds[] |
Definition at line 128 of file kolima_forest_river.c.
| s32 gStagedActor_FootprintBounds[] |
Definition at line 132 of file kolima_forest_river.c.
| struct SceneEntrance gKolimaForestRiverEntrances[] |
Definition at line 141 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetEntrances().
| u32 gKolimaForestRiverExits[] |
Exit 1 to the bend (scene 43), exit 2 to the clearing (scene 41).
Definition at line 149 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetExits().
| struct ScenePlacement gKolimaForestRiverPlacements[] |
Definition at line 156 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetPlacements().
| struct SceneEvent gKolimaForestRiverEvents[] |
Definition at line 167 of file kolima_forest_river.c.
Referenced by KolimaForestRiver_GetEvents().
| u8 gKolimaPalette_First[1792] |
Definition at line 178 of file kolima_forest_river.c.
| u8 gKolimaPalette_Second[896] |
Definition at line 179 of file kolima_forest_river.c.