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 bool smoke_startup =
false;
56 bool start_hidden =
false;
63 std::string binary_path;
65 ApplicationUtilityCommandKind utility_command = ApplicationUtilityCommandKind::None;
66 std::string parse_error;
68 [[nodiscard]]
bool HasParseError()
const
70 return !parse_error.empty();
81struct ApplicationSpecification
141 ApplicationSpecification()
151 ,
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:61
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:112
bool start_maximized
Whether the window should start maximized.
Definition specification.h:102
const std::string engine_name
Default constructor that initializes default values.
Definition specification.h:134
WindowFrameMode window_frame_mode
How the native window frame should be presented.
Definition specification.h:107
const Version engine_version
The version of the engine (immutable).
Definition specification.h:139
uint32_t height
The window height.
Definition specification.h:97
uint32_t width
The window width.
Definition specification.h:92
std::string client_name
The name of the game or application.
Definition specification.h:87
Version client_version
The version for the game or application.
Definition specification.h:122
std::string icon_path
Optional application icon path.
Definition specification.h:117
Definition gpu_selection.h:18