papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
state_map_transitions.c File Reference

Enumerations

enum  EnterWorldStates { ENTER_WORLD_LOAD_MAP = 0 , ENTER_WORLD_AWAIT_MAIN = 1 , ENTER_WORLD_FADE_IN = 2 }
 
enum  ChangeMapStates {
  CHANGE_MAP_INIT = 0 , CHANGE_MAP_DELAY = 1 , CHANGE_MAP_LOAD_MAP = 2 , CHANGE_MAP_AWAIT_MAIN = 3 ,
  CHANGE_MAP_FADE_IN = 4
}
 
enum  GameOverStates { GAME_OVER_INIT = 1 , GAME_OVER_LOAD_MAP = 2 , GAME_OVER_AWAIT_MAIN = 3 , GAME_OVER_FADE_IN = 4 }
 

Functions

void set_map_change_fade_rate (s16 fadeRate)
 
void state_init_enter_demo (void)
 
void state_init_enter_world (void)
 
void init_enter_world_shared (void)
 
void state_step_enter_world (void)
 
void state_drawUI_enter_world (void)
 
void state_init_change_map (void)
 
void state_step_change_map (void)
 
void state_drawUI_change_map (void)
 
void state_init_game_over (void)
 
void state_step_game_over (void)
 
void state_drawUI_game_over (void)
 

Variables

BSS s16 gMapTransitionAlpha
 
BSS s16 gMapTransitionFadeRate
 
BSS s16 gMapTransitionState
 
BSS s16 gMapTransitionStateTime
 
BSS s16 gLoadedFromFileSelect
 

Enumeration Type Documentation

◆ ChangeMapStates

Enumerator
CHANGE_MAP_INIT 
CHANGE_MAP_DELAY 
CHANGE_MAP_LOAD_MAP 
CHANGE_MAP_AWAIT_MAIN 
CHANGE_MAP_FADE_IN 

◆ EnterWorldStates

Enumerator
ENTER_WORLD_LOAD_MAP 
ENTER_WORLD_AWAIT_MAIN 
ENTER_WORLD_FADE_IN 

◆ GameOverStates

Enumerator
GAME_OVER_INIT 
GAME_OVER_LOAD_MAP 
GAME_OVER_AWAIT_MAIN 
GAME_OVER_FADE_IN 

Function Documentation

◆ init_enter_world_shared()

void init_enter_world_shared ( void )

◆ set_map_change_fade_rate()

void set_map_change_fade_rate ( s16 fadeRate)

◆ state_drawUI_change_map()

void state_drawUI_change_map ( void )

◆ state_drawUI_enter_world()

void state_drawUI_enter_world ( void )

◆ state_drawUI_game_over()

void state_drawUI_game_over ( void )

◆ state_init_change_map()

void state_init_change_map ( void )

◆ state_init_enter_demo()

void state_init_enter_demo ( void )

◆ state_init_enter_world()

void state_init_enter_world ( void )

◆ state_init_game_over()

void state_init_game_over ( void )

◆ state_step_change_map()

void state_step_change_map ( void )

◆ state_step_enter_world()

void state_step_enter_world ( void )

◆ state_step_game_over()

void state_step_game_over ( void )

Variable Documentation

◆ gLoadedFromFileSelect

BSS s16 gLoadedFromFileSelect

◆ gMapTransitionAlpha

◆ gMapTransitionFadeRate

◆ gMapTransitionState

◆ gMapTransitionStateTime