Alchemy
Loading...
Searching...
No Matches

kolima_forest_bend.h File Reference

Go to the source code of this file.

Data Structures

struct  BendLog
 A log's saved record: its sprite, first map cell and orientation, then its actor once created. More...

Functions

 STATIC_ASSERT (sizeof(struct BendLog)==12)
 STATIC_ASSERT (offsetof(struct BendLog, x)==2)
 STATIC_ASSERT (offsetof(struct BendLog, vertical)==6)
 STATIC_ASSERT (offsetof(struct BendLog, actor)==8)
const struct SceneEntrance * KolimaForestBend_GetEntrances (void)
 Where the party enters from the river and from Tret's tree.
const struct SceneRegion * KolimaForestBend_GetRegions (void)
const u32 * KolimaForestBend_GetExits (void)
 The paths back to the river and on to Tret's tree.
const struct ScenePlacement * KolimaForestBend_GetPlacements (void)
 The short log, the switch and the sign.
const struct SceneEvent * KolimaForestBend_GetEvents (void)
 The logs, the switch, the sign, the jump and the chest.
s32 KolimaForestBend_Initialize (void)
 On entry: the logs' records come back from gSceneState, or on a first visit from the defaults with the water high; the logs are made and the river is drawn at its level.

Variables

struct BendLog gKolimaForestBend_DefaultRecords []
 The logs on a first visit, as struct BendLog: sprite 0xcd runs north to south and 0xcf west to east.
u8 gKolimaForestBend_PushAnimations []
s8 gKolimaForestBend_PushStepX []
s8 gKolimaForestBend_PushStepZ []
struct SceneEntrance gKolimaForestBendEntrances []
u32 gKolimaForestBendExits []
 Exit 1 to the river (scene 42), exit 2 to Tret's tree (scene 44).
struct ScenePlacement gKolimaForestBendPlacements []
struct SceneEvent gKolimaForestBendEvents []

Function Documentation

◆ STATIC_ASSERT() [1/4]

STATIC_ASSERT ( sizeof(struct BendLog) = =12)

◆ STATIC_ASSERT() [2/4]

STATIC_ASSERT ( offsetof(struct BendLog, x) = =2)

◆ STATIC_ASSERT() [3/4]

STATIC_ASSERT ( offsetof(struct BendLog, vertical) = =6)

◆ STATIC_ASSERT() [4/4]

STATIC_ASSERT ( offsetof(struct BendLog, actor) = =8)

◆ KolimaForestBend_GetEntrances()

const struct SceneEntrance * KolimaForestBend_GetEntrances ( void )

Where the party enters from the river and from Tret's tree.

Definition at line 60 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetEntrances(), and STATIC_ASSERT().

◆ KolimaForestBend_GetRegions()

const struct SceneRegion * KolimaForestBend_GetRegions ( void )

Definition at line 64 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetRegions(), and STATIC_ASSERT().

◆ KolimaForestBend_GetExits()

const u32 * KolimaForestBend_GetExits ( void )

The paths back to the river and on to Tret's tree.

Definition at line 67 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetExits(), and STATIC_ASSERT().

◆ KolimaForestBend_GetPlacements()

const struct ScenePlacement * KolimaForestBend_GetPlacements ( void )

The short log, the switch and the sign.

Definition at line 70 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetPlacements(), and STATIC_ASSERT().

◆ KolimaForestBend_GetEvents()

const struct SceneEvent * KolimaForestBend_GetEvents ( void )

The logs, the switch, the sign, the jump and the chest.

Definition at line 75 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetEvents(), and STATIC_ASSERT().

◆ KolimaForestBend_Initialize()

s32 KolimaForestBend_Initialize ( void )

On entry: the logs' records come back from gSceneState, or on a first visit from the defaults with the water high; the logs are made and the river is drawn at its level.

The forest keeps its cursed colours until the curse is lifted.

Definition at line 361 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_Initialize(), and STATIC_ASSERT().

Variable Documentation

◆ gKolimaForestBend_DefaultRecords

struct BendLog gKolimaForestBend_DefaultRecords[]
extern

The logs on a first visit, as struct BendLog: sprite 0xcd runs north to south and 0xcf west to east.

Definition at line 570 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_Initialize(), and STATIC_ASSERT().

◆ gKolimaForestBend_PushAnimations

u8 gKolimaForestBend_PushAnimations[]
extern

Definition at line 579 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_RollLog(), and STATIC_ASSERT().

◆ gKolimaForestBend_PushStepX

s8 gKolimaForestBend_PushStepX[]
extern

Definition at line 581 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_RollLog(), and STATIC_ASSERT().

◆ gKolimaForestBend_PushStepZ

s8 gKolimaForestBend_PushStepZ[]
extern

Definition at line 583 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_RollLog(), and STATIC_ASSERT().

◆ gKolimaForestBendEntrances

struct SceneEntrance gKolimaForestBendEntrances[]
extern

Definition at line 585 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetEntrances(), and STATIC_ASSERT().

◆ gKolimaForestBendExits

u32 gKolimaForestBendExits[]
extern

Exit 1 to the river (scene 42), exit 2 to Tret's tree (scene 44).

Definition at line 593 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetExits(), and STATIC_ASSERT().

◆ gKolimaForestBendPlacements

struct ScenePlacement gKolimaForestBendPlacements[]
extern

Definition at line 600 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetPlacements(), and STATIC_ASSERT().

◆ gKolimaForestBendEvents

struct SceneEvent gKolimaForestBendEvents[]
extern

Definition at line 611 of file kolima_forest_bend.c.

Referenced by KolimaForestBend_GetEvents(), and STATIC_ASSERT().