mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00:00
24 lines
681 B
C++
24 lines
681 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;
|
||
|
|
game::ExpansionRegistry* expansionRegistry = nullptr;
|
||
|
|
uint32_t gryphonDisplayId = 0;
|
||
|
|
uint32_t wyvernDisplayId = 0;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace game
|
||
|
|
} // namespace wowee
|