diff --git a/Adventures in Lestoria/AdventuresInLestoria.cpp b/Adventures in Lestoria/AdventuresInLestoria.cpp index 03d6b173..f0da1a2b 100644 --- a/Adventures in Lestoria/AdventuresInLestoria.cpp +++ b/Adventures in Lestoria/AdventuresInLestoria.cpp @@ -2924,7 +2924,7 @@ void AiL::InitializeDefaultKeybinds(){ KEY_BACK.AddKeybind({KEY,X}); KEY_BACK.AddKeybind({KEY,SHIFT}); KEY_BACK.AddKeybind({KEY,ESCAPE}); - KEY_BACK.AddKeybind({STEAM,BACK}); + KEY_BACK.AddKeybind({STEAM,Steam::BACK}); KEY_BACK.AddKeybind({CONTROLLER,static_cast(GPButtons::FACE_D)}); KEY_MENU.AddKeybind({KEY,ESCAPE}); KEY_MENU.AddKeybind({CONTROLLER,static_cast(GPButtons::START)}); @@ -3299,8 +3299,6 @@ void AiL::RenderVersionInfo(){ DrawShadowStringDecal({4.f,4.f},"Save Complete.",{255,255,255,alpha},{0,0,0,alpha}); } - DrawShadowStringDecal({0.f,0.f},"Holding down A: "+std::to_string(KEY_CONFIRM.Held())); - std::string versionStr("v" + std::to_string(VERSION_MAJOR) + "." + std::to_string(VERSION_MINOR) + "." + std::to_string(VERSION_PATCH) + "." + std::to_string(VERSION_BUILD)); DrawShadowStringDecal(vf2d{ GetScreenSize() } - vf2d{ GetTextSize(versionStr) }*0.4f,versionStr,WHITE,BLACK,{0.4f,0.4f},std::numeric_limits::max(),0.4f); } diff --git a/Adventures in Lestoria/Key.cpp b/Adventures in Lestoria/Key.cpp index f9d8e523..9979d342 100644 --- a/Adventures in Lestoria/Key.cpp +++ b/Adventures in Lestoria/Key.cpp @@ -116,7 +116,7 @@ void Input::UpdateSteamInput(){ } bool Input::Pressed(){ - //if(!game->IsFocused())return false; + if(!game->IsFocused())return false; bool inputPressed=false; switch(type){ case KEY:{ @@ -150,7 +150,7 @@ bool Input::Pressed(){ } bool Input::Held(){ - //if(!game->IsFocused())return false; + if(!game->IsFocused())return false; bool inputHeld=false; switch(type){ case KEY:{ @@ -184,7 +184,7 @@ bool Input::Held(){ } bool Input::Released(){ - //if(!game->IsFocused())return false; + if(!game->IsFocused())return false; bool inputReleased=false; switch(type){ case KEY:{ diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index eb8117a5..4258e3cf 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 0 #define VERSION_MINOR 5 #define VERSION_PATCH 1 -#define VERSION_BUILD 8281 +#define VERSION_BUILD 8283 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 9ff02053..fb3b73fd 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ