Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches
Flint::ApplicationConfig Struct Reference

User-facing metadata and window defaults for a Flint-powered application. More...

#include <flint/core/config.h>

+ Collaboration diagram for Flint::ApplicationConfig:

Public Attributes

std::string appName = "Flint App"
 
std::string appVersion = "0.1.0"
 
std::string appIdentifier = "com.example.flint-app"
 
std::string windowTitle = "Flint"
 
int width = 1280
 
int height = 720
 
bool resizable = true
 
bool fullscreen = false
 
std::filesystem::path assetRoot = "assets"
 

Detailed Description

User-facing metadata and window defaults for a Flint-powered application.

Definition at line 82 of file config.h.

Member Data Documentation

◆ appIdentifier

std::string Flint::ApplicationConfig::appIdentifier = "com.example.flint-app"

Bundle/app identifier string.

Definition at line 85 of file config.h.

◆ appName

std::string Flint::ApplicationConfig::appName = "Flint App"

Display name shown in logs/overlays.

Definition at line 83 of file config.h.

◆ appVersion

std::string Flint::ApplicationConfig::appVersion = "0.1.0"

Semantic version exposed to the OS.

Definition at line 84 of file config.h.

◆ assetRoot

std::filesystem::path Flint::ApplicationConfig::assetRoot = "assets"

Default root directory path.

Definition at line 94 of file config.h.

◆ fullscreen

bool Flint::ApplicationConfig::fullscreen = false

Start the window in fullscreen mode.

Definition at line 92 of file config.h.

◆ height

int Flint::ApplicationConfig::height = 720

Default window height in pixels.

Definition at line 89 of file config.h.

◆ resizable

bool Flint::ApplicationConfig::resizable = true

Allow users to resize the window.

Definition at line 91 of file config.h.

◆ width

int Flint::ApplicationConfig::width = 1280

Default window width in pixels.

Definition at line 88 of file config.h.

◆ windowTitle

std::string Flint::ApplicationConfig::windowTitle = "Flint"

Title-bar text for the main window.

Definition at line 87 of file config.h.


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