3#include "application_internal.h"
5#include "pixelbullet/application/launch_gpu_defaults_internal.h"
19namespace pixelbullet::application_internal
23 bool runfiles_available =
false;
24 std::filesystem::path packaged_runtime_root;
30 std::function<void()> create_resource_cache;
32 std::function<void(
const std::function<
void(
Event&)>&)> set_window_event_callback;
35 std::function<void(
const std::function<
void(uint32_t)>&)> set_framebuffer_resize_callback;
36 std::function<void(
const std::string&)> set_window_icon;
37 std::function<void()> create_audio;
38 std::function<void()> create_layer_stack;
39 std::function<void()> clear_renderer;
41 std::function<void()> reset_resource_cache;
44enum class LayerInsertion
50enum class LaunchRunOutcome
66 bool cli_handled =
false;
71 const std::function<
void(
Event&)>& event_callback,
72 const std::function<
void(uint32_t)>& framebuffer_resize_callback,
75[[nodiscard]]
Layer* AttachLayer(
ApplicationState& state, std::unique_ptr<Layer> layer, LayerInsertion insertion);
76[[nodiscard]]
int MapLaunchRunOutcomeToExitCode(LaunchRunOutcome outcome)
noexcept;
Definition application_internal.h:19
Definition specification.h:79
Definition specification.h:69
Contains configuration options for both the game and the engine.
Definition specification.h:162
Definition application_shell_internal.h:64
Definition application_shell_internal.h:58
Definition launch_gpu_defaults_internal.h:35
Definition application_shell_internal.h:22
Definition application_shell_internal.h:28