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.
bool start_maximized
 Whether the window should start maximized.
WindowFrameMode window_frame_mode
 How the native window frame should be presented.
std::string asset_base_path
 The assets directory path.
std::string icon_path
 Optional application icon path.
Version client_version
 The version for the game or application.
const std::string engine_name
 Default constructor that initializes default values.
const Version 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

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

◆ start_maximized

bool pixelbullet::ApplicationSpecification::start_maximized

Whether the window should start maximized.

◆ width

uint32_t pixelbullet::ApplicationSpecification::width

The window width.

◆ window_frame_mode

WindowFrameMode pixelbullet::ApplicationSpecification::window_frame_mode

How the native window frame should be presented.


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