mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
world creation content menu
This commit is contained in:
parent
5402872c28
commit
bab806c2f8
9 changed files with 82 additions and 23 deletions
|
|
@ -52,6 +52,7 @@ class Engine : public util::ObjectsKeeper {
|
|||
std::queue<runnable> postRunnables;
|
||||
std::recursive_mutex postRunnablesMutex;
|
||||
std::unique_ptr<EngineController> controller;
|
||||
std::vector<std::string> basePacks {"base"};
|
||||
|
||||
uint64_t frame = 0;
|
||||
double lastTime = 0.0;
|
||||
|
|
@ -87,6 +88,8 @@ public:
|
|||
|
||||
/// @brief Load all selected content-packs and reload assets
|
||||
void loadContent();
|
||||
|
||||
void resetContent();
|
||||
|
||||
/// @brief Collect world content-packs and load content
|
||||
/// @see loadContent
|
||||
|
|
@ -120,6 +123,8 @@ public:
|
|||
/// @brief Get selected content packs
|
||||
std::vector<ContentPack>& getContentPacks();
|
||||
|
||||
std::vector<std::string>& getBasePacks();
|
||||
|
||||
/// @brief Get current screen
|
||||
std::shared_ptr<Screen> getScreen();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue