chore: struct reorg

This commit is contained in:
2025-10-05 15:21:23 +01:00
parent 1d70f3ae20
commit 7306c8fba4
2 changed files with 38 additions and 26 deletions

View File

@@ -1,5 +1,6 @@
#if !defined(LD_GAME_CORE_H_)
#define LD_GAME_CORE_H_
#include "world.h"
typedef struct G_Camera G_Camera;
struct G_Camera {
@@ -18,6 +19,8 @@ struct G_State {
D_Context draw;
G_Camera camera;
World *world;
};
function void G_ImagesLoad(G_State *game);
@@ -29,6 +32,5 @@ function void G_CalulateCamera(G_Camera *camera, F32 aspect);
#include "player.h"
#include "nav.h"
#include "npc.h"
#include "world.h"
#endif // LD_GAME_CORE_H_