32 lines
430 B
C
32 lines
430 B
C
#ifndef INGAME_H
|
|
#define INGAME_H
|
|
|
|
|
|
#include "townengine/game_api.h"
|
|
|
|
#include "../state.h"
|
|
#include "scene.h"
|
|
#include "../player.h"
|
|
#include "../world.h"
|
|
|
|
|
|
struct scene_ingame {
|
|
struct scene base;
|
|
|
|
struct world *world;
|
|
struct player *player;
|
|
|
|
t_camera cam;
|
|
|
|
/* TODO: put this in a better place */
|
|
float yaw;
|
|
float pitch;
|
|
float roll;
|
|
};
|
|
|
|
|
|
struct scene *ingame_scene(struct state *state);
|
|
|
|
|
|
#endif
|