diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-01-04 19:52:40 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-01-05 20:59:30 +0100 |
commit | aab3b18e4b9f847ba1e521d5a73624b0bb6a467a (patch) | |
tree | 913de68fcd9211c2433bc2fa78315b0002b1640f /src/game.h | |
parent | 3a772e7ed6c02f91de57320b1694c7d11e1c7618 (diff) | |
download | minetest-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.h | 5 |
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, |