mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00:00
- Dockerfile: fix LLVM apt repo codename (jammy → noble) for ubuntu:24.04 - build-linux.sh: add missing mkdir -p /wowee-build-src before tar extraction - Dockerfile: remove dead ENV OSXCROSS_VERSION=1.5 and its unset - CMakeLists: scope -undefined dynamic_lookup to wowee target only - GameServices: remove redundant game:: qualifier inside namespace game - application.cpp: zero out gameServices_ after gameHandler reset in shutdown
23 lines
675 B
C++
23 lines
675 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace wowee {
|
|
namespace rendering { class Renderer; }
|
|
namespace pipeline { class AssetManager; }
|
|
namespace game { class ExpansionRegistry; }
|
|
|
|
namespace game {
|
|
|
|
// Explicit service dependencies for game handlers.
|
|
// Owned by Application, passed by reference to GameHandler at construction.
|
|
// Replaces hidden Application::getInstance() singleton access.
|
|
struct GameServices {
|
|
rendering::Renderer* renderer = nullptr;
|
|
pipeline::AssetManager* assetManager = nullptr;
|
|
ExpansionRegistry* expansionRegistry = nullptr;
|
|
uint32_t gryphonDisplayId = 0;
|
|
uint32_t wyvernDisplayId = 0;
|
|
};
|
|
|
|
} // namespace game
|
|
} // namespace wowee
|