28 lines
322 B
C
28 lines
322 B
C
#ifndef INGAME_H
|
|
#define INGAME_H
|
|
|
|
#include "twn_game_api.h"
|
|
|
|
#include "../state.h"
|
|
#include "scene.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
typedef struct SceneIngame {
|
|
Scene base;
|
|
|
|
Vec3 pos;
|
|
float yaw;
|
|
float pitch;
|
|
float roll;
|
|
|
|
bool mouse_captured;
|
|
} SceneIngame;
|
|
|
|
|
|
Scene *ingame_scene(State *state);
|
|
|
|
|
|
#endif
|