|
Trace Engine
A Raycaster Engine in C
|
#include <game_state.h>
Data Fields | |
| bool | is_game_running |
| int | fps |
| int | current_scene |
| int | current_level_idx |
| level_t | current_level_info |
| int | is_on_debug_view_mode |
| bool | shows_debug_pop_up |
It holds the current info of the program and the game itself, like the current level, scene, or if the game is even running
| int game_state_t::current_level_idx |
The current scene to be showed
| level_t game_state_t::current_level_info |
The index of the current level
| int game_state_t::current_scene |
FPS of the current run
| int game_state_t::fps |
Self explanatory
| bool game_state_t::is_game_running |
| int game_state_t::is_on_debug_view_mode |
The info of the current level
| bool game_state_t::shows_debug_pop_up |
A debug top-down view of the current