mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
PCMStream, msvc build fix, sound is an asset now
This commit is contained in:
parent
96ad7664c4
commit
33b39dfece
8 changed files with 109 additions and 30 deletions
|
|
@ -8,6 +8,7 @@ class ResPaths;
|
|||
class Assets;
|
||||
class AssetsLoader;
|
||||
class Atlas;
|
||||
struct AssetCfg;
|
||||
|
||||
namespace assetload {
|
||||
bool texture(
|
||||
|
|
@ -16,7 +17,7 @@ namespace assetload {
|
|||
const ResPaths* paths,
|
||||
const std::string filename,
|
||||
const std::string name,
|
||||
std::shared_ptr<void> settings
|
||||
std::shared_ptr<AssetCfg> settings
|
||||
);
|
||||
bool shader(
|
||||
AssetsLoader&,
|
||||
|
|
@ -24,7 +25,7 @@ namespace assetload {
|
|||
const ResPaths* paths,
|
||||
const std::string filename,
|
||||
const std::string name,
|
||||
std::shared_ptr<void> settings
|
||||
std::shared_ptr<AssetCfg> settings
|
||||
);
|
||||
bool atlas(
|
||||
AssetsLoader&,
|
||||
|
|
@ -32,7 +33,7 @@ namespace assetload {
|
|||
const ResPaths* paths,
|
||||
const std::string directory,
|
||||
const std::string name,
|
||||
std::shared_ptr<void> settings
|
||||
std::shared_ptr<AssetCfg> settings
|
||||
);
|
||||
bool font(
|
||||
AssetsLoader&,
|
||||
|
|
@ -40,7 +41,7 @@ namespace assetload {
|
|||
const ResPaths* paths,
|
||||
const std::string filename,
|
||||
const std::string name,
|
||||
std::shared_ptr<void> settings
|
||||
std::shared_ptr<AssetCfg> settings
|
||||
);
|
||||
bool layout(
|
||||
AssetsLoader&,
|
||||
|
|
@ -48,7 +49,16 @@ namespace assetload {
|
|||
const ResPaths* paths,
|
||||
const std::string file,
|
||||
const std::string name,
|
||||
std::shared_ptr<void> settings
|
||||
std::shared_ptr<AssetCfg> settings
|
||||
);
|
||||
|
||||
bool sound(
|
||||
AssetsLoader&,
|
||||
Assets*,
|
||||
const ResPaths* paths,
|
||||
const std::string file,
|
||||
const std::string name,
|
||||
std::shared_ptr<AssetCfg> settings
|
||||
);
|
||||
|
||||
bool animation(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue