31 lines
422 B
C
31 lines
422 B
C
#ifndef INGAME_H
|
|
#define INGAME_H
|
|
|
|
#include "twn_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
|