Configuration
Build-time CMake options and runtime engine settings.
Build-Time CMake Options
| Variable | Default | Description |
|---|---|---|
GALAXY_EGGBERT_ENGINE | U3D | Engine backend: U3D or NOVA3D |
U3D_HOME | (empty) | Override path to pre-built U3D library. Falls back to URHO3D_HOME env var, then default hardcoded path. |
BUILD_TESTING | ON | Build GoogleTest unit tests (disabled for Android/Emscripten) |
GALAXY_EGGBERT_GRAPHICS_BACKEND | EASYGL | Nova3D only: graphics backend (SDL_RENDERER, EASYGL, BGFX, VULKAN) |
CNA_BACKEND_SDL_RENDERER | OFF | Nova3D: enable SDL Renderer backend |
CNA_BACKEND_EASY_GL | OFF | Nova3D: enable EasyGL OpenGL backend |
CNA_BACKEND_BGFX | OFF | Nova3D: enable BGFX backend (experimental) |
CNA_WINDOWS_DEPENDENCIES_ROOT | (none) | Windows cross-build: root directory for SDL3 Windows libs |
CMAKE_TOOLCHAIN_FILE | (none) | Toolchain file for cross-compilation |
CMAKE_BUILD_TYPE | (none) | Standard CMake build type: Debug, Release, RelWithDebInfo |
Runtime Window Configuration
Set in GalaxyEggbertApp::Setup() (src/GalaxyEggbert/GalaxyEggbertApp.cpp:9).
These are hard-coded — there is no runtime configuration file:
engineParameters_[EP_WINDOW_TITLE] = "Galaxy Eggbert";
engineParameters_[EP_FULL_SCREEN] = false;
engineParameters_[EP_WINDOW_WIDTH] = 1280;
engineParameters_[EP_WINDOW_HEIGHT] = 720;
engineParameters_[EP_RESOURCE_PATHS] = "Data;CoreData;Content";
engineParameters_[EP_LOG_NAME] = "GalaxyEggbert.log";
engineParameters_[EP_HEADLESS] = false;
In-Game Settings (persisted in save file)
| Setting | Save byte | Default | How to change |
|---|---|---|---|
| Sound on/off | data_[3] | ON (1) | S key on settings screen |
| Selected gamer slot | data_[2] | 0 | 1/2/3 on gamer-select |
| Jump right | data_[4] | 1 | Not yet exposed in UI |
| Auto zoom | data_[5] | 1 | Not yet exposed in UI |
| Accel active | data_[6] | 0 | Not yet exposed in UI (accelerometer for Android) |
| Accel sensitivity | data_[7] | 50 | Not yet exposed in UI |
U3D Default Path
When U3D_HOME is not set and URHO3D_HOME env var is unset,
CMake defaults to:
/rv/data/library/github.com/u3d-community/U3D/cmake-build-debug
Developer-specific path
This is a developer-specific hardcoded path. When working on a different machine,
always provide
-DU3D_HOME= or set the URHO3D_HOME environment variable.