Not sure
This commit is contained in:
@@ -66,9 +66,8 @@ coven_init :: (window_title: string, window_width: u32, window_height: u32, full
|
||||
|
||||
#if EDITOR {
|
||||
init_editor();
|
||||
ui_init();
|
||||
}
|
||||
|
||||
ui_init();
|
||||
}
|
||||
|
||||
coven_run :: (game_update_proc: (float), game_update_post_physics_proc: (float)) {
|
||||
@@ -94,7 +93,9 @@ coven_run :: (game_update_proc: (float), game_update_post_physics_proc: (float))
|
||||
|
||||
update_console();
|
||||
|
||||
#if EDITOR {
|
||||
ui_begin();
|
||||
}
|
||||
|
||||
clamped_dt := min(0.4, dt);
|
||||
|
||||
@@ -113,7 +114,9 @@ coven_run :: (game_update_proc: (float), game_update_post_physics_proc: (float))
|
||||
|
||||
update_particle_systems(clamped_dt);
|
||||
|
||||
#if EDITOR {
|
||||
ui_end();
|
||||
}
|
||||
|
||||
update_audio(dt);
|
||||
|
||||
@@ -153,6 +156,7 @@ switch_engine_mode :: (to_mode: Engine_Mode) {
|
||||
#load "animation/animator.jai";
|
||||
#load "core/entity.jai";
|
||||
#load "core/parray.jai";
|
||||
#load "core/static_array.jai";
|
||||
#load "core/scene.jai";
|
||||
#load "core/transform.jai";
|
||||
#load "core/camera.jai";
|
||||
|
||||
Reference in New Issue
Block a user