mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
PacksManager added to engine
This commit is contained in:
parent
3655464b6f
commit
f9d391e05a
9 changed files with 93 additions and 67 deletions
|
|
@ -63,16 +63,6 @@ struct ContentPack {
|
|||
fs::path folder,
|
||||
std::vector<ContentPack>& packs
|
||||
);
|
||||
|
||||
static void scan(
|
||||
fs::path folder,
|
||||
EnginePaths* paths,
|
||||
std::vector<ContentPack>& packs
|
||||
);
|
||||
static void scan(
|
||||
EnginePaths* paths,
|
||||
std::vector<ContentPack>& packs
|
||||
);
|
||||
|
||||
static std::vector<std::string> worldPacksList(fs::path folder);
|
||||
|
||||
|
|
@ -81,13 +71,6 @@ struct ContentPack {
|
|||
fs::path worldDir,
|
||||
std::string name
|
||||
);
|
||||
|
||||
static void readPacks(
|
||||
const EnginePaths* paths,
|
||||
std::vector<ContentPack>& packs,
|
||||
const std::vector<std::string>& names,
|
||||
fs::path worldDir
|
||||
);
|
||||
};
|
||||
|
||||
struct ContentPackStats {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue