move weather back to gfx & add world:client/environment.json file

This commit is contained in:
MihailRis 2025-03-09 22:50:45 +03:00
parent 7a86cbdd60
commit db620010a3
11 changed files with 68 additions and 37 deletions

View file

@ -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