From 02e7b57d9b0fc237f1198faceac08b9e7ca124ed Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Sat, 11 Jun 2016 22:10:35 -0400 Subject: [PATCH] fixed dt bug --- 4ed.cpp | 2 ++ build_all.bat | 4 ++-- power/4coder_casey.cpp | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/4ed.cpp b/4ed.cpp index 06237dbf..d31e71f5 100644 --- a/4ed.cpp +++ b/4ed.cpp @@ -3846,10 +3846,12 @@ App_Step_Sig(app_step){ Input_Summary dead_input = {}; dead_input.mouse.x = input->mouse.x; dead_input.mouse.y = input->mouse.y; + dead_input.dt = input->dt; Input_Summary active_input = {}; active_input.mouse.x = input->mouse.x; active_input.mouse.y = input->mouse.y; + active_input.dt = input->dt; active_input.keys = get_key_data(&vars->available_input); diff --git a/build_all.bat b/build_all.bat index a5873ee7..1f2e363f 100644 --- a/build_all.bat +++ b/build_all.bat @@ -22,8 +22,8 @@ popd pushd ..\build REM call "..\code\buildsuper.bat" ..\code\4coder_default_bindings.cpp -call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp -REM call "..\code\buildsuper.bat" ..\code\power\4coder_casey.cpp +REM call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp +call "..\code\buildsuper.bat" ..\code\power\4coder_casey.cpp if %ERRORLEVEL% neq 0 (set FirstError=1) set EXPORTS=/EXPORT:app_get_functions diff --git a/power/4coder_casey.cpp b/power/4coder_casey.cpp index aab5054b..3e859c74 100644 --- a/power/4coder_casey.cpp +++ b/power/4coder_casey.cpp @@ -1222,7 +1222,7 @@ DEFINE_MODAL_KEY(modal_y, cmdid_redo); DEFINE_MODAL_KEY(modal_z, cmdid_interactive_open); DEFINE_MODAL_KEY(modal_1, casey_build_search); // TODO(casey): Shouldn't need to bind a key for this? -DEFINE_MODAL_KEY(modal_2, write_character); // TODO(casey): Available +DEFINE_MODAL_KEY(modal_2, cmdid_open_debug); // TODO(casey): Available DEFINE_MODAL_KEY(modal_3, write_character); // TODO(casey): Available DEFINE_MODAL_KEY(modal_4, write_character); // TODO(casey): Available DEFINE_MODAL_KEY(modal_5, write_character); // TODO(casey): Available