papermario/src/state_world.c
HailSanta e41923e55d
image fx (#1015)
* more fold

* fold render modes

* fold rename 1

* fold rename 2

* fold rename 3

* imgfx struct reorg

* post merge

* the rest

* extras

* forgot these

* done

* ImgFx

* ImgFX

* check

* misc cam stuff

* ws

---------

Co-authored-by: HailSanta <Hail2Santa@gmail.com>
2023-04-20 17:15:58 +09:00

29 lines
537 B
C

#include "functions.h"
#include "npc.h"
void state_world_draw_aux_ui(void);
void state_init_world(void) {
game_mode_set_fpDrawAuxUI(0, state_world_draw_aux_ui);
}
void state_step_world(void) {
update_encounters();
update_npcs();
update_player();
update_item_entities();
update_effects();
iterate_models();
update_cameras();
}
void state_drawUI_world(void) {
draw_status_ui();
draw_encounter_ui();
imgfx_update_cache();
}
void state_world_draw_aux_ui(void) {
draw_first_strike_ui();
}