mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
contentpack removal feature + refactor
This commit is contained in:
parent
3f0c710a47
commit
daaba374a3
24 changed files with 345 additions and 295 deletions
|
|
@ -30,9 +30,6 @@ inline constexpr uint REGION_FORMAT_VERSION = 2;
|
|||
inline constexpr uint WORLD_FORMAT_VERSION = 1;
|
||||
inline constexpr uint MAX_OPEN_REGION_FILES = 16;
|
||||
|
||||
#define REGION_FORMAT_MAGIC ".VOXREG"
|
||||
#define WORLD_FORMAT_MAGIC ".VOXWLD"
|
||||
|
||||
class Player;
|
||||
class Content;
|
||||
class ContentIndices;
|
||||
|
|
@ -161,7 +158,7 @@ public:
|
|||
/// @param id pack id
|
||||
void removePack(const World* world, const std::string& id);
|
||||
|
||||
static const char* WORLD_FILE;
|
||||
static const inline std::string WORLD_FILE = "world.json";
|
||||
};
|
||||
|
||||
#endif /* FILES_WORLDFILES_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue