move platformes and scenery to /apps/demos/
This commit is contained in:
30
apps/demos/platformer/scenes/ingame.h
Normal file
30
apps/demos/platformer/scenes/ingame.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user