summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-01-04 19:52:40 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-01-05 20:59:30 +0100
commitaab3b18e4b9f847ba1e521d5a73624b0bb6a467a (patch)
tree913de68fcd9211c2433bc2fa78315b0002b1640f /src/game.h
parent3a772e7ed6c02f91de57320b1694c7d11e1c7618 (diff)
downloadminetest-aab3b18e4b9f847ba1e521d5a73624b0bb6a467a.tar.gz
minetest-aab3b18e4b9f847ba1e521d5a73624b0bb6a467a.tar.bz2
minetest-aab3b18e4b9f847ba1e521d5a73624b0bb6a467a.zip
GameUI refactor (part 3/X): Move Game::guitext2, Game::guitext_info, Game::infotext to GameUI class
Other enhancements: * Drop unused GameRunData::time_of_day * Little GameUI::update code path optimizations
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 6101c4f7a..69e6eed0b 100644
--- a/src/game.h
+++ b/src/game.h
@@ -36,6 +36,11 @@ struct RunStats {
Jitter dtime_jitter, busy_time_jitter;
};
+struct CameraOrientation {
+ f32 camera_yaw; // "right/left"
+ f32 camera_pitch; // "up/down"
+};
+
void the_game(bool *kill,
bool random_input,
InputHandler *input,