GH-2209 Fix sounds in old (pre-1.6) versions
This commit is contained in:
@ -38,11 +38,16 @@ struct AssetsIndex
|
||||
QString id;
|
||||
QMap<QString, AssetObject> objects;
|
||||
bool isVirtual = false;
|
||||
bool mapToResources = false;
|
||||
};
|
||||
|
||||
/// FIXME: this is absolutely horrendous. REDO!!!!
|
||||
namespace AssetsUtils
|
||||
{
|
||||
bool loadAssetsIndexJson(QString id, QString file, AssetsIndex* index);
|
||||
bool loadAssetsIndexJson(const QString &id, const QString &file, AssetsIndex& index);
|
||||
|
||||
QDir getAssetsDir(const QString &assetsId, const QString &resourcesFolder);
|
||||
|
||||
/// Reconstruct a virtual assets folder for the given assets ID and return the folder
|
||||
QDir reconstructAssets(QString assetsId);
|
||||
bool reconstructAssets(QString assetsId, QString resourcesFolder);
|
||||
}
|
||||
|
Reference in New Issue
Block a user