townengine/apps/platformer/scenes/ingame.h

31 lines
404 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"
typedef struct SceneIngame {
Scene base;
World *world;
Player *player;
Camera cam;
/* TODO: put this in a better place */
float yaw;
float pitch;
float roll;
} SceneIngame;
Scene *ingame_scene(State *state);
#endif