summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-20 04:20:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-20 04:20:51 +0200
commit9099eec2a638bcf61bf46e86740458d933197577 (patch)
treedca1ae5c0f8fc89ebf55624b2988733d094af3bc /editor/update.cpp
parente8a7d188eb186204dc8d8e25aa732e14fac96594 (diff)
wip tests
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 73e5cb00..33c5243c 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -263,13 +263,14 @@ auto app::get_z_bounds() -> z_bounds
void app::update(float dt)
{
update_cursor_tile(cursor.pixel);
+ tests_pre_update();
apply_commands(keys);
update_character(dt);
update_world(dt);
do_camera(dt, keys, get_key_modifiers());
clear_non_repeated_keys();
set_cursor();
-
+ tests_post_update();
M->world().maybe_collect();
}