mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-14 15:31:49 +00:00
content-pack resources support
This commit is contained in:
parent
c6d2266026
commit
396ee31bcc
43 changed files with 170 additions and 90 deletions
|
|
@ -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_
|
||||
Loading…
Add table
Add a link
Reference in a new issue