Introduced Content, ContentIndices, no more integer ids hardcoded, common refactor

This commit is contained in:
MihailRis 2023-11-21 11:38:59 +03:00
parent f2f9343737
commit 3b03464d27
35 changed files with 472 additions and 279 deletions

View file

@ -6,6 +6,7 @@
#include "../typedefs.h"
#include "../settings.h"
class Content;
class WorldFiles;
class Chunks;
class Level;
@ -24,7 +25,7 @@ public:
~World();
void write(Level* level, bool writeChunks);
Level* load(EngineSettings& settings);
Level* load(EngineSettings& settings, const Content* content);
};
#endif /* WORLD_WORLD_H_ */