Worlds indexing
This commit is contained in:
+5
-1
@@ -13,6 +13,7 @@ class WorldFiles;
|
||||
class Chunks;
|
||||
class Level;
|
||||
class Player;
|
||||
class ContentLUT;
|
||||
|
||||
class world_load_error : public std::runtime_error {
|
||||
public:
|
||||
@@ -44,6 +45,9 @@ public:
|
||||
void updateTimers(float delta);
|
||||
void write(Level* level);
|
||||
|
||||
static ContentLUT* checkIndices(const std::filesystem::path& directory,
|
||||
const Content* content);
|
||||
|
||||
static Level* create(std::string name,
|
||||
std::filesystem::path directory,
|
||||
uint64_t seed,
|
||||
@@ -54,4 +58,4 @@ public:
|
||||
const Content* content);
|
||||
};
|
||||
|
||||
#endif /* WORLD_WORLD_H_ */
|
||||
#endif /* WORLD_WORLD_H_ */
|
||||
|
||||
Reference in New Issue
Block a user