mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
Introduced Content, ContentIndices, no more integer ids hardcoded, common refactor
This commit is contained in:
parent
f2f9343737
commit
3b03464d27
35 changed files with 472 additions and 279 deletions
|
|
@ -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_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue