mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
move weather back to gfx & add world:client/environment.json file
This commit is contained in:
parent
7a86cbdd60
commit
db620010a3
11 changed files with 68 additions and 37 deletions
|
|
@ -15,8 +15,10 @@ class PostProcessing;
|
|||
class ContentPackRuntime;
|
||||
class Decorator;
|
||||
class Level;
|
||||
class World;
|
||||
|
||||
class LevelScreen : public Screen {
|
||||
World& world;
|
||||
std::unique_ptr<LevelFrontend> frontend;
|
||||
std::unique_ptr<LevelController> controller;
|
||||
std::unique_ptr<PlayerController> playerController;
|
||||
|
|
@ -33,6 +35,9 @@ class LevelScreen : public Screen {
|
|||
void updateHotkeys();
|
||||
void initializeContent();
|
||||
void initializePack(ContentPackRuntime* pack);
|
||||
|
||||
void loadDecorations();
|
||||
void saveDecorations();
|
||||
public:
|
||||
LevelScreen(
|
||||
Engine& engine, std::unique_ptr<Level> level, int64_t localPlayer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue