inventory script, modules

This commit is contained in:
MihailRis
2024-02-11 17:38:30 +03:00
parent bb1743105d
commit 8e529eb63b
22 changed files with 274 additions and 163 deletions
+17 -10
View File
@@ -2,6 +2,7 @@
#define ASSETS_ASSET_LOADERS_H_
#include <string>
#include <memory>
class ResPaths;
class Assets;
@@ -12,26 +13,38 @@ namespace assetload {
Assets* assets,
const ResPaths* paths,
const std::string filename,
const std::string name
const std::string name,
std::shared_ptr<void> settings
);
bool shader(
Assets* assets,
const ResPaths* paths,
const std::string filename,
const std::string name
const std::string name,
std::shared_ptr<void> settings
);
bool atlas(
Assets* assets,
const ResPaths* paths,
const std::string directory,
const std::string name
const std::string name,
std::shared_ptr<void> settings
);
bool font(
Assets* assets,
const ResPaths* paths,
const std::string filename,
const std::string name
const std::string name,
std::shared_ptr<void> settings
);
bool layout(
Assets* assets,
const ResPaths* paths,
const std::string file,
const std::string name,
std::shared_ptr<void> settings
);
bool animation(
Assets* assets,
const ResPaths* paths,
@@ -39,12 +52,6 @@ namespace assetload {
const std::string name,
Atlas* dstAtlas
);
bool layout(
Assets* assets,
const ResPaths* paths,
const std::string file,
const std::string name
);
}
#endif // ASSETS_ASSET_LOADERS_H_