Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
game_state_t Struct Reference

#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
 

Detailed Description

It holds the current info of the program and the game itself, like the current level, scene, or if the game is even running

Field Documentation

◆ current_level_idx

int game_state_t::current_level_idx

The current scene to be showed

◆ current_level_info

level_t game_state_t::current_level_info

The index of the current level

◆ current_scene

int game_state_t::current_scene

FPS of the current run

◆ fps

int game_state_t::fps

Self explanatory

◆ is_game_running

bool game_state_t::is_game_running

◆ is_on_debug_view_mode

int game_state_t::is_on_debug_view_mode

The info of the current level

◆ shows_debug_pop_up

bool game_state_t::shows_debug_pop_up

A debug top-down view of the current


The documentation for this struct was generated from the following file: