mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
world/content added to packs search paths
This commit is contained in:
parent
01121b6d27
commit
6198ca22f6
3 changed files with 21 additions and 11 deletions
|
|
@ -37,10 +37,15 @@ struct ContentPack {
|
|||
static void scan(std::filesystem::path folder,
|
||||
std::vector<ContentPack>& packs);
|
||||
static std::vector<std::string> worldPacksList(std::filesystem::path folder);
|
||||
static std::filesystem::path findPack(const EnginePaths* paths, std::string name);
|
||||
|
||||
static std::filesystem::path findPack(
|
||||
const EnginePaths* paths,
|
||||
std::filesystem::path worldDir,
|
||||
std::string name);
|
||||
static void readPacks(const EnginePaths* paths,
|
||||
std::vector<ContentPack>& packs,
|
||||
const std::vector<std::string>& names);
|
||||
const std::vector<std::string>& names,
|
||||
std::filesystem::path worldDir);
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_PACK_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue