1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-02 08:15:28 +01:00

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
This commit is contained in:
Loic Blot
2018-01-04 19:52:40 +01:00
committed by Loïc Blot
parent 3a772e7ed6
commit aab3b18e4b
5 changed files with 92 additions and 93 deletions

View File

@@ -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,