chore: struct reorg
This commit is contained in:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user