dangling pointer crash semi-fix, minor bug fixes, minor code correctness enhancements

This commit is contained in:
tmj-fstate
2018-07-16 02:40:53 +02:00
parent ed1e0d8a10
commit 3751c8a0a8
28 changed files with 895 additions and 946 deletions

View File

@@ -69,14 +69,14 @@ private:
// members
commandsetup_sequence m_commands;
user_command m_command; // last, if any, issued command
user_command m_command { user_command::none }; // last, if any, issued command
usercommand_map m_bindings;
command_relay m_relay;
bool m_shift{ false };
bool m_ctrl{ false };
bool m_shift { false };
bool m_ctrl { false };
bindings_cache m_bindingscache;
glm::vec2 m_movementhorizontal;
float m_movementvertical;
glm::vec2 m_movementhorizontal { 0.f };
float m_movementvertical { 0.f };
std::array<char, GLFW_KEY_LAST + 1> m_keys;
};