Fixed ???
Some files have been renamed
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#if !defined(LD_GAME_CORE_H_)
|
||||
#define LD_GAME_CORE_H_
|
||||
#include "world.h"
|
||||
|
||||
typedef struct World World;
|
||||
|
||||
typedef struct G_Camera G_Camera;
|
||||
struct G_Camera {
|
||||
@@ -44,6 +45,48 @@ struct G_State {
|
||||
World *world;
|
||||
};
|
||||
|
||||
typedef U32 G_OutfitDirection;
|
||||
enum {
|
||||
G_OUTFIT_DIR_FRONT = 0,
|
||||
G_OUTFIT_DIR_SIDE,
|
||||
G_OUTFIT_DIR_BACK,
|
||||
|
||||
G_OUTFIT_DIR_FLIPPED = (1 << 16)
|
||||
};
|
||||
|
||||
typedef union G_OutfitSet G_OutfitSet;
|
||||
union G_OutfitSet {
|
||||
struct {
|
||||
U32 base;
|
||||
U32 eyes;
|
||||
U32 face;
|
||||
U32 hair;
|
||||
U32 hat;
|
||||
U32 shirt;
|
||||
U32 shoes;
|
||||
U32 trousers;
|
||||
};
|
||||
|
||||
U32 e[8];
|
||||
};
|
||||
|
||||
typedef struct G_Outfit G_Outfit;
|
||||
struct G_Outfit {
|
||||
D_Animation state; // .id in here isn't used for drawing
|
||||
|
||||
G_OutfitDirection dir;
|
||||
|
||||
union {
|
||||
struct {
|
||||
G_OutfitSet front;
|
||||
G_OutfitSet side;
|
||||
G_OutfitSet back;
|
||||
};
|
||||
|
||||
G_OutfitSet e[3];
|
||||
};
|
||||
};
|
||||
|
||||
function void G_ImagesLoad(G_State *game);
|
||||
function void G_PipelinesLoad(G_State *game);
|
||||
function void G_AudioLoad(G_State *game);
|
||||
@@ -56,6 +99,7 @@ function V3f G_CameraUnproject(G_Camera *camera, V2f clip);
|
||||
|
||||
function R3f G_CameraBounds(G_Camera *camera);
|
||||
|
||||
#include "world.h"
|
||||
#include "aabb.h"
|
||||
#include "player.h"
|
||||
#include "nav.h"
|
||||
|
||||
Reference in New Issue
Block a user