Removing debug code (put in #if 0 for now)

Added a very simple camera system.
This commit is contained in:
2026-08-05 19:12:34 -04:00
parent f122533f92
commit 6c7b7c0124
9 changed files with 104 additions and 5 deletions
+4
View File
@@ -11,6 +11,7 @@
#include <Core/Memory/MemoryArena.h>
#include <Entity/Entity.h>
#include <Entity/EntityManager.h>
#include <Graphics/Camera.h>
GameState* gGameState = nullptr;
GameState* GetGameState()
@@ -64,6 +65,9 @@ extern "C" JULIET_API void __cdecl GameUpdate(Juliet::GameData* params, [[maybe_
printf("Game Arena Allocated: %p\n", static_cast<void*>(gameState));
// Reserve cameras. Lets go with 4 for now
ReserveCamera(4);
// Bootstrap world
auto* worldArena = ArenaAllocate({ .ReserveSize = Megabytes(1) } JULIET_DEBUG_PARAM("World Arena"));
World* world = ArenaPushStruct<World>(worldArena JULIET_DEBUG_PARAM("World"));