xml: image element

This commit is contained in:
MihailRis
2024-02-12 22:54:09 +03:00
parent 2de5f5c646
commit de6a6dd771
11 changed files with 101 additions and 71 deletions
+12 -6
View File
@@ -6,39 +6,45 @@
class ResPaths;
class Assets;
class AssetsLoader;
class Atlas;
namespace assetload {
bool texture(
Assets* assets,
AssetsLoader&,
Assets*,
const ResPaths* paths,
const std::string filename,
const std::string name,
std::shared_ptr<void> settings
);
bool shader(
Assets* assets,
AssetsLoader&,
Assets*,
const ResPaths* paths,
const std::string filename,
const std::string name,
std::shared_ptr<void> settings
);
bool atlas(
Assets* assets,
AssetsLoader&,
Assets*,
const ResPaths* paths,
const std::string directory,
const std::string name,
std::shared_ptr<void> settings
);
bool font(
Assets* assets,
AssetsLoader&,
Assets*,
const ResPaths* paths,
const std::string filename,
const std::string name,
std::shared_ptr<void> settings
);
bool layout(
Assets* assets,
AssetsLoader&,
Assets*,
const ResPaths* paths,
const std::string file,
const std::string name,
@@ -46,7 +52,7 @@ namespace assetload {
);
bool animation(
Assets* assets,
Assets*,
const ResPaths* paths,
const std::string directory,
const std::string name,