camera movement & formatting

This commit is contained in:
Asuro
2025-02-12 01:24:28 +01:00
parent bf2371eca0
commit 03aecb6d44
18 changed files with 1316 additions and 574 deletions

11
src/game/Input.cpp Normal file
View File

@@ -0,0 +1,11 @@
#include "../engine/Shared.h"
#include "Global.h"
#include "Input.h"
namespace Game
{
bool GetKey(ScanCode key)
{
return GetShared().Window.HeldScanCodes[(int32_t)key];
}
} // namespace Game