PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::ApplicationSpecification Struct Reference

Contains configuration options for both the game and the engine. More...

#include <Specification.hpp>

Public Attributes

std::string ClientName
 The name of the game or application.
 
uint32_t Width
 The window width.
 
uint32_t Height
 The window height.
 
std::string AssetBasePath
 The assets directory path.
 
ApplicationCommandLineArgs CommandLineArgs
 The command-line arguments.
 
ApplicationVersion ClientVersion
 The version for the game or application.
 
const std::string EngineName
 Default constructor that initializes default values.
 
const ApplicationVersion EngineVersion
 The version of the engine (immutable).
 

Detailed Description

Contains configuration options for both the game and the engine.

This unified specification distinguishes between game/application settings and engine settings by using separate fields. Engine spec. is private and uses getters.

Member Data Documentation

◆ AssetBasePath

std::string PixelBullet::ApplicationSpecification::AssetBasePath

The assets directory path.

◆ ClientName

std::string PixelBullet::ApplicationSpecification::ClientName

The name of the game or application.

◆ ClientVersion

ApplicationVersion PixelBullet::ApplicationSpecification::ClientVersion

The version for the game or application.

◆ CommandLineArgs

ApplicationCommandLineArgs PixelBullet::ApplicationSpecification::CommandLineArgs

The command-line arguments.

◆ EngineName

const std::string PixelBullet::ApplicationSpecification::EngineName

Default constructor that initializes default values.

The engine version is initialized with macros defined in the project configuration, while the game version defaults to 0.0.1.

The name of the engine (immutable).

◆ EngineVersion

const ApplicationVersion PixelBullet::ApplicationSpecification::EngineVersion

The version of the engine (immutable).

◆ Height

uint32_t PixelBullet::ApplicationSpecification::Height

The window height.

◆ Width

uint32_t PixelBullet::ApplicationSpecification::Width

The window width.


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