Go to the source code of this file.
Data Structures | |
| struct | CompetitorState |
| The mode and stage bytes of the menu control work, set while Isaac is shown on the stage and reset when he is put back. More... | |
| union | MarkerCoordinate |
| The pointer's glide start on one axis, read signed or unsigned. More... | |
Functions | |
| void | Colosso_FadeInCompetitor (s32 id, s32 x, s32 z) |
| Isaac (id) appears at pixel (x, z) on the stage, facing south: he fades in through the backgrounds while he stretches from thin and tall to his own shape, settles and nods. | |
| void | Colosso_RestoreCompetitor (s32 id) |
| Puts Isaac (id) back where Colosso_FadeInCompetitor found him: he stands (or turns south, nods and waits half a second), then returns to his kept position and facing with his motion stopped. | |
| void | OverlayObject_ResetMotionFields (s32 actor) |
| Stops the actor where it is: no velocity and no destination. | |
| static void | Colosso_EnsureMarkerSlot (void) |
| Loads the pointer's picture into a free VRAM block, once. | |
| static void | Colosso_UpdateMarker (void) |
| The pointer's scene callback: glide one step, then draw it while it blinks on (a glide keeps it on). | |
| void | Colosso_ShowPointer (u32 x, u32 y, u32 style) |
| Shows the pointer at screen pixel (x, y), drawn at priority style & 3. | |
| void | Colosso_MovePointer (u32 x, u32 y, u32 duration) |
| Glides the pointer to screen pixel (x, y) over duration frames. | |
| void | Colosso_HidePointer (void) |
| Hides the pointer and frees its VRAM block. | |
| void | Colosso_WalkActorTo (s32 actorId, s32 x, s32 z) |
| Walks the actor at 2 pixels a frame towards pixel (x, z) and returns at once. | |
| void | Colosso_WalkActorToAndStand (s32 actorId, s32 x, s32 z) |
| Walks the actor at 1.25 pixels a frame to pixel (x, z), waits until it arrives and stands it there. | |
Isaac (id) appears at pixel (x, z) on the stage, facing south: he fades in through the backgrounds while he stretches from thin and tall to his own shape, settles and nods.
His position and facing are kept for Colosso_RestoreCompetitor.
Definition at line 41 of file colosso_marker.h.
Referenced by Colosso_FadeInCompetitor(), Event_TalkToBoardWalkAttendant(), Event_TalkToBridgeAttendant(), Event_TalkToFreeClimbAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToMiniMazeAttendant(), Event_TalkToMovingSidewalkAttendant(), Event_TalkToRockAttendant(), Event_TalkToShiftingFloorAttendant(), Event_TalkToSteppingStoneAttendant(), Event_TalkToWallAttendant(), and Event_TalkToWallWedgeAttendant().
| void Colosso_RestoreCompetitor | ( | s32 | id | ) |
Puts Isaac (id) back where Colosso_FadeInCompetitor found him: he stands (or turns south, nods and waits half a second), then returns to his kept position and facing with his motion stopped.
Definition at line 92 of file colosso_marker.h.
Referenced by Colosso_RestoreCompetitor(), Event_TalkToBoardWalkAttendant(), Event_TalkToBridgeAttendant(), Event_TalkToFreeClimbAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToMiniMazeAttendant(), Event_TalkToMovingSidewalkAttendant(), Event_TalkToRockAttendant(), Event_TalkToShiftingFloorAttendant(), Event_TalkToSteppingStoneAttendant(), Event_TalkToWallAttendant(), and Event_TalkToWallWedgeAttendant().
| void OverlayObject_ResetMotionFields | ( | s32 | actor | ) |
Stops the actor where it is: no velocity and no destination.
Definition at line 135 of file colosso_marker.h.
Referenced by Event_TalkToMovingSidewalkAttendant(), Event_TalkToRockAttendant(), and OverlayObject_ResetMotionFields().
|
static |
Loads the pointer's picture into a free VRAM block, once.
Definition at line 149 of file colosso_marker.h.
Referenced by Colosso_EnsureMarkerSlot(), and Colosso_ShowPointer().
|
static |
The pointer's scene callback: glide one step, then draw it while it blinks on (a glide keeps it on).
Definition at line 175 of file colosso_marker.h.
Referenced by Colosso_HidePointer(), Colosso_MovePointer(), Colosso_ShowPointer(), and Colosso_UpdateMarker().
Shows the pointer at screen pixel (x, y), drawn at priority style & 3.
Definition at line 227 of file colosso_marker.h.
Referenced by Colosso_ShowPointer(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToPipeworksAttendant(), Event_TalkToScalesAttendant(), and Event_TalkToSteppingStoneAttendant().
Glides the pointer to screen pixel (x, y) over duration frames.
Definition at line 240 of file colosso_marker.h.
Referenced by Colosso_MovePointer(), Event_TalkToLogRollingAttendant(), Event_TalkToPipeworksAttendant(), Event_TalkToScalesAttendant(), and Event_TalkToSteppingStoneAttendant().
| void Colosso_HidePointer | ( | void | ) |
Hides the pointer and frees its VRAM block.
Definition at line 252 of file colosso_marker.h.
Referenced by Colosso_HidePointer(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToPipeworksAttendant(), Event_TalkToScalesAttendant(), and Event_TalkToSteppingStoneAttendant().
Walks the actor at 2 pixels a frame towards pixel (x, z) and returns at once.
Definition at line 261 of file colosso_marker.h.
Referenced by Colosso_WalkActorTo(), and Event_TalkToWallWedgeAttendant().
Walks the actor at 1.25 pixels a frame to pixel (x, z), waits until it arrives and stands it there.
Definition at line 279 of file colosso_marker.h.
Referenced by Colosso_WalkActorToAndStand(), Event_TalkToBoardWalkAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToMiniMazeAttendant(), Event_TalkToRockAttendant(), Event_TalkToShiftingFloorAttendant(), Event_TalkToSteppingStoneAttendant(), and Event_TalkToWallAttendant().
|
extern |
Referenced by Colosso_MovePointer(), Colosso_ShowPointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_MovePointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_MovePointer(), Colosso_ShowPointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_MovePointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_MovePointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_MovePointer(), Colosso_ShowPointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_MovePointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_MovePointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_ShowPointer(), and Colosso_UpdateMarker().
|
extern |
Referenced by Colosso_ShowPointer(), and Colosso_UpdateMarker().