diff --git a/base/tests/fall/sources/main.ts b/base/tests/fall/sources/main.ts index 24622941..27f24ed7 100644 --- a/base/tests/fall/sources/main.ts +++ b/base/tests/fall/sources/main.ts @@ -149,7 +149,7 @@ function scene_ready() { } function scene_update() { - asim_world_update(); + asim_world_update(sys_delta()); camera_update(); if (keyboard_started("space")) { diff --git a/base/tools/pad/sources/main.ts b/base/tools/pad/sources/main.ts index b138dd35..a98c7c1a 100644 --- a/base/tools/pad/sources/main.ts +++ b/base/tools/pad/sources/main.ts @@ -88,6 +88,10 @@ function main() { mode: window_mode_t.WINDOWED, frequency: 60, vsync: true, + display_index: 0, + visible: true, + color_bits: 32, + depth_bits: 0 }; sys_start(ops); @@ -116,7 +120,7 @@ function main() { ui_text_area_line_numbers = true; ui_text_area_scroll_past_end = true; - sys_notify_on_frames(render); + sys_notify_on_render(render); _iron_set_drop_files_callback(drop_files); iron_set_application_state_callback(null, null, null, null, on_shutdown); } @@ -379,6 +383,7 @@ function on_text_hover() { //// type config_t = { server: string; }; let config_raw: config_t; -function strings_check_internet_connection(): string { return ""; }; -function console_error(s: string) { }; -function plugin_embed() { } +function strings_check_internet_connection(): string { return ""; } +function console_error(s: string) {} +function plugin_embed() {} +function tr(id: string, vars: map_t = null): string {}