textures almost work?

This commit is contained in:
Asuro
2025-02-15 04:13:03 +01:00
parent ab326d3624
commit f93c40f3b6
19 changed files with 643 additions and 456 deletions

View File

@@ -6,7 +6,10 @@ struct SharedWindowData
void* Handle = nullptr;
int32_t WindowWidth = 1920;
int32_t WindowHeight = 1080;
bool HeldScanCodes[512]{0};
bool HeldScanCodes[512]{false};
bool LastHeldScanCodes[512]{false};
bool HeldMouseButtons[8]{false};
bool LastHeldMouseButtons[8]{false};
float MouseDeltaX = 0.0f;
float MouseDeltaY = 0.0f;
};
@@ -29,6 +32,9 @@ struct GameData
void* EntityStorage = nullptr;
uint64_t EntityStorageSize = 0;
void* TransientStorage = nullptr;
uint64_t TransientStorageSize = 0;
};
struct SharedData