removed draw_ functions and replaced with just update_
parent
94d39e2913
commit
f4ccfd43a7
|
@ -35,11 +35,10 @@ int engine_run() {
|
|||
start_game();
|
||||
while(g_context.running) {
|
||||
handle_events();
|
||||
update_game();
|
||||
draw_game();
|
||||
_render_mode = 1;
|
||||
draw_game_ui();
|
||||
update_ui();
|
||||
_render_mode = 0;
|
||||
update_game();
|
||||
swap_buffer();
|
||||
}
|
||||
engine_shutdown();
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
extern void load_game();
|
||||
extern void start_game();
|
||||
extern void update_game();
|
||||
extern void draw_game();
|
||||
extern void draw_game_ui();
|
||||
extern void update_ui();
|
||||
|
||||
#endif /* _engine_h */
|
||||
|
|
Loading…
Reference in New Issue