fixed several memory leaks caused by not including virtual destructors, added a config for the visualizer, next up is lua

This commit is contained in:
2021-12-22 12:33:47 -05:00
parent 00abbbebbd
commit 1a917af13c
23 changed files with 272 additions and 64 deletions

View File

@@ -15,6 +15,8 @@ class SdlInputProcessor : public InputProcessor {
public:
SdlInputProcessor();
~SdlInputProcessor() override = default;
private:
std::unordered_map<SDL_Keycode,InputProcessorKeycode> keycode_map;
InputProcessorKeycode get_keycode(SDL_Keycode keycode);