|
|
PixelBullet
0.0.1
A C++ game engine
|
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). | |
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.
| std::string pixelbullet::ApplicationSpecification::asset_base_path |
The assets directory path.
| std::string pixelbullet::ApplicationSpecification::client_name |
The name of the game or application.
| Version pixelbullet::ApplicationSpecification::client_version |
The version for the game or application.
| 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).
| const Version pixelbullet::ApplicationSpecification::engine_version |
The version of the engine (immutable).
| uint32_t pixelbullet::ApplicationSpecification::height |
The window height.
| std::string pixelbullet::ApplicationSpecification::icon_path |
Optional application icon path.
| bool pixelbullet::ApplicationSpecification::start_maximized |
Whether the window should start maximized.
| uint32_t pixelbullet::ApplicationSpecification::width |
The window width.
| WindowFrameMode pixelbullet::ApplicationSpecification::window_frame_mode |
How the native window frame should be presented.