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.h>

Public Attributes

std::string client_name
 The name of the game or application.
 
uint32_t width
 The window width.
 
uint32_t height
 The window height.
 
std::string asset_base_path
 The assets directory path.
 
std::string icon_path
 Optional application icon path.
 
ApplicationVersion client_version
 The version for the game or application.
 
const std::string engine_name
 Default constructor that initializes default values.
 
const ApplicationVersion engine_version
 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

◆ asset_base_path

std::string pixelbullet::ApplicationSpecification::asset_base_path

The assets directory path.

◆ client_name

std::string pixelbullet::ApplicationSpecification::client_name

The name of the game or application.

◆ client_version

ApplicationVersion pixelbullet::ApplicationSpecification::client_version

The version for the game or application.

◆ engine_name

const std::string pixelbullet::ApplicationSpecification::engine_name

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).

◆ engine_version

const ApplicationVersion pixelbullet::ApplicationSpecification::engine_version

The version of the engine (immutable).

◆ height

uint32_t pixelbullet::ApplicationSpecification::height

The window height.

◆ icon_path

std::string pixelbullet::ApplicationSpecification::icon_path

Optional application icon path.

◆ width

uint32_t pixelbullet::ApplicationSpecification::width

The window width.


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