More work on new assets system. Works given a properly constructed assets folder, no downloading yet

This commit is contained in:
Sky
2013-12-08 06:12:53 +00:00
parent 6d438b2ef3
commit 2fe27fd0da
8 changed files with 210 additions and 3 deletions
+4 -1
View File
@@ -23,14 +23,17 @@ class AssetObject;
class AssetsIndex
{
public:
QMap<QString, AssetObject> objects;
QMap<QString, AssetObject> *objects;
bool isVirtual;
AssetsIndex();
};
class AssetObject
{
public:
AssetObject(QString hash, qint64 size);
AssetObject();
bool equals(AssetObject* other);
QString getHashCode();