content-pack resources support

This commit is contained in:
MihailRis
2023-12-14 02:30:39 +03:00
parent c6d2266026
commit 396ee31bcc
43 changed files with 170 additions and 90 deletions
+12 -8
View File
@@ -2,23 +2,27 @@
#define ASSETS_ASSET_LOADERS_H_
#include <string>
#include <filesystem>
class ResPaths;
class Assets;
namespace assetload {
bool texture(Assets* assets,
const std::filesystem::path filename,
const ResPaths* paths,
const std::string filename,
const std::string name);
bool shader(Assets* assets,
const std::filesystem::path filename,
const std::string name);
bool atlas(Assets* assets,
const std::filesystem::path directory,
const ResPaths* paths,
const std::string filename,
const std::string name);
bool atlas(Assets* assets,
const ResPaths* paths,
const std::string directory,
const std::string name);
bool font(Assets* assets,
const std::filesystem::path filename,
const std::string name);
const ResPaths* paths,
const std::string filename,
const std::string name);
}
#endif // ASSETS_ASSET_LOADERS_H_