Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
AppConfig Struct Reference

A struct containing the app's configurations like window size, title, and fullscreen mode. More...

#include <app.h>

Public Attributes

char * window_title
 The window title.
 
int window_width
 The window width.
 
int window_height
 The window height.
 
bool window_fullscreen
 Flag indicating if the window is fullscreen.
 
int screen_width
 The screen width.
 
int screen_height
 The screen height.
 
bool debug
 Flag indicating if debug mode is enabled.
 
char * title1FontPath
 The file path for title 1 font.
 
char * title2FontPath
 The file path for title 2 font.
 
char * textFontPath
 The file path for text font.
 

Detailed Description

A struct containing the app's configurations like window size, title, and fullscreen mode.

Member Data Documentation

◆ debug

bool AppConfig::debug

Flag indicating if debug mode is enabled.

◆ screen_height

int AppConfig::screen_height

The screen height.

◆ screen_width

int AppConfig::screen_width

The screen width.

◆ textFontPath

char* AppConfig::textFontPath

The file path for text font.

◆ title1FontPath

char* AppConfig::title1FontPath

The file path for title 1 font.

◆ title2FontPath

char* AppConfig::title2FontPath

The file path for title 2 font.

◆ window_fullscreen

bool AppConfig::window_fullscreen

Flag indicating if the window is fullscreen.

◆ window_height

int AppConfig::window_height

The window height.

◆ window_title

char* AppConfig::window_title

The window title.

◆ window_width

int AppConfig::window_width

The window width.


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