refactoring btw

This commit is contained in:
A-lex-Ra
2023-12-20 22:23:55 +06:00
parent bcfdc55277
commit 76475dd1b1
6 changed files with 21 additions and 26 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef ASSETS_ASSET_LOADERS_H_
#define ASSETS_ASSET_LOADERS_H_
#include <string>
class ResPaths;
class Assets;
namespace assetload {
bool texture(Assets* assets,
const ResPaths* paths,
const std::string filename,
const std::string name);
bool shader(Assets* assets,
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 ResPaths* paths,
const std::string filename,
const std::string name);
}
#endif // ASSETS_ASSET_LOADERS_H_