townengine/apps/demos/scenery/scenes/ingame.h

32 lines
395 B
C
Raw Normal View History

2024-07-08 00:44:20 +00:00
#ifndef INGAME_H
#define INGAME_H
#include "twn_game_api.h"
2024-08-21 13:55:34 +00:00
2024-07-08 00:44:20 +00:00
#include "../state.h"
#include "scene.h"
#include <stdbool.h>
2024-07-08 00:44:20 +00:00
typedef struct SceneIngame {
Scene base;
2024-07-08 00:44:20 +00:00
2025-02-26 14:08:45 +00:00
Vec3 looking_direction;
Vec2 world_center;
2025-02-26 14:08:45 +00:00
2024-10-28 09:34:48 +00:00
Vec3 pos;
2024-07-30 21:05:28 +00:00
float yaw;
float pitch;
float roll;
bool mouse_captured;
2025-03-02 20:19:27 +00:00
int camera_mode;
} SceneIngame;
2024-07-08 00:44:20 +00:00
Scene *ingame_scene(State *state);
2024-07-08 00:44:20 +00:00
#endif