4#include "pixelbullet/core/version.h"
5#include "pixelbullet/graphics/gpu_selection.h"
6#include "pixelbullet/window/window_chrome.h"
43enum class ApplicationUtilityCommandKind
54 std::filesystem::path log_directory_override;
55 std::filesystem::path asset_base_path_override;
56 bool smoke_startup =
false;
57 bool start_hidden =
false;
58 uint32_t smoke_startup_timeout_seconds = 5;
65 std::string binary_path;
67 ApplicationUtilityCommandKind utility_command = ApplicationUtilityCommandKind::None;
68 std::string parse_error;
70 [[nodiscard]]
bool HasParseError()
const
72 return !parse_error.empty();
83struct ApplicationSpecification
143 ApplicationSpecification()
153 ,
engine_version{ PB_MODULE_VERSION_MAJOR, PB_MODULE_VERSION_MINOR, PB_MODULE_VERSION_PATCH }
Provides assertion and panic mechanisms with optional custom formatting.
#define ASSERT(condition,...)
Asserts that a condition is true.
Definition assert.h:142
Definition specification.h:63
Command-line arguments passed to the application.
Definition specification.h:19
char ** args
Pointer to an array of argument strings.
Definition specification.h:28
int count
The number of arguments.
Definition specification.h:23
const char * operator[](int index) const
Accesses an argument by index.
Definition specification.h:36
Definition specification.h:53
std::string asset_base_path
The assets directory path.
Definition specification.h:114
bool start_maximized
Whether the window should start maximized.
Definition specification.h:104
const std::string engine_name
Default constructor that initializes default values.
Definition specification.h:136
WindowFrameMode window_frame_mode
How the native window frame should be presented.
Definition specification.h:109
const Version engine_version
The version of the engine (immutable).
Definition specification.h:141
uint32_t height
The window height.
Definition specification.h:99
uint32_t width
The window width.
Definition specification.h:94
std::string client_name
The name of the game or application.
Definition specification.h:89
Version client_version
The version for the game or application.
Definition specification.h:124
std::string icon_path
Optional application icon path.
Definition specification.h:119
Definition gpu_selection.h:18