cleanup
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include "coders/json.hpp"
|
||||
#include "coders/toml.hpp"
|
||||
#include "coders/commons.hpp"
|
||||
#include "content/Content.hpp"
|
||||
#include "content/ContentControl.hpp"
|
||||
#include "core_defs.hpp"
|
||||
#include "io/io.hpp"
|
||||
@@ -322,20 +321,6 @@ void Engine::loadAssets() {
|
||||
}
|
||||
}
|
||||
|
||||
void Engine::loadContent() {
|
||||
content->loadContent();
|
||||
}
|
||||
|
||||
void Engine::resetContent() {
|
||||
paths.setCurrentWorldFolder("");
|
||||
content->resetContent();
|
||||
}
|
||||
|
||||
void Engine::loadWorldContent(const io::path& folder) {
|
||||
paths.setCurrentWorldFolder(folder);
|
||||
content->loadContent(ContentPack::worldPacksList("world:"));
|
||||
}
|
||||
|
||||
void Engine::setScreen(std::shared_ptr<Screen> screen) {
|
||||
// reset audio channels (stop all sources)
|
||||
audio::reset_channel(audio::get_channel_index("regular"));
|
||||
|
||||
Reference in New Issue
Block a user