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

Functions

void worker_delegate_do_nothing (void)
 
void clear_worker_list (void)
 
void init_worker_list (void)
 
s32 create_worker_scene (void(*updateFunc)(void), void(*renderFunc)(void))
 
s32 create_worker_frontUI (void(*updateFunc)(void), void(*drawFunc)(void))
 
s32 create_worker_backUI (void(*updateFunc)(void), void(*drawFunc)(void))
 
void update_workers (void)
 
void render_workers_scene (void)
 
void render_workers_frontUI (void)
 
void render_workers_backUI (void)
 
void free_worker (s32 idx)
 
Workerget_worker (s32 idx)
 

Variables

BSS WorkerList gWorldWorkerList
 
BSS WorkerList gBattleWorkerList
 
BSS WorkerListgCurrentWorkerListPtr
 

Function Documentation

◆ clear_worker_list()

◆ create_worker_backUI()

s32 create_worker_backUI ( void(*)(void) updateFunc,
void(*)(void) drawFunc )

◆ create_worker_frontUI()

s32 create_worker_frontUI ( void(*)(void) updateFunc,
void(*)(void) drawFunc )

◆ create_worker_scene()

s32 create_worker_scene ( void(*)(void) updateFunc,
void(*)(void) renderFunc )

◆ free_worker()

void free_worker ( s32 idx)

Referenced by popup_menu_update().

◆ get_worker()

Worker * get_worker ( s32 idx)

Referenced by partner_reset_data().

◆ init_worker_list()

void init_worker_list ( void )

◆ render_workers_backUI()

void render_workers_backUI ( void )

Referenced by gfx_draw_frame().

◆ render_workers_frontUI()

void render_workers_frontUI ( void )

Referenced by gfx_draw_frame().

◆ render_workers_scene()

void render_workers_scene ( void )

Referenced by render_frame().

◆ update_workers()

void update_workers ( void )

Referenced by step_game_loop().

◆ worker_delegate_do_nothing()

void worker_delegate_do_nothing ( void )

Variable Documentation

◆ gBattleWorkerList

BSS WorkerList gBattleWorkerList

◆ gCurrentWorkerListPtr

BSS WorkerList* gCurrentWorkerListPtr

◆ gWorldWorkerList

BSS WorkerList gWorldWorkerList