Optimized Renderer

This commit is contained in:
Isuru Samarathunga
2025-10-21 10:44:11 +05:30
parent b10aacaee7
commit 86ed9346aa
21 changed files with 516 additions and 241 deletions

View File

@ -41,7 +41,10 @@ namespace ia::iae
STATIC VOID SwitchModeToText();
STATIC VOID SwitchModeToAction();
STATIC BOOL IsPointerDown();
STATIC Vec2 GetPointerPosition();
STATIC BOOL IsPointerDown(IN CONST Vec2& start, IN CONST Vec2& end);
STATIC BOOL DidPointerClick(IN CONST Vec2& start, IN CONST Vec2& end);
STATIC BOOL IsKeyDown(IN InputKey key);
STATIC BOOL WasKeyPressed(IN InputKey key);
@ -74,6 +77,8 @@ namespace ia::iae
STATIC INT16 s_horizontalAxis;
STATIC BOOL s_keys[256];
STATIC BOOL s_prevKeys[256];
STATIC BOOL s_pointerState;
STATIC BOOL s_pointerPrevState;
STATIC Vec2 s_pointerPosition;
STATIC BOOL s_onScreenGamePadEnabled;
STATIC BOOL s_keyboardGamePadEnabled;