diff options
author | Sky <git@bunnies.cc> | 2013-12-08 06:12:53 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-12-08 06:12:53 +0000 |
commit | 2fe27fd0daca14644a2a71456cd60c9a38befbdf (patch) | |
tree | 929b9b5b369367895f2afcb74216aa9cf840ffb4 /logic/assets/AssetsIndex.cpp | |
parent | 6d438b2ef3ca320d89eb5830024d02610ef8f6d6 (diff) | |
download | MultiMC-2fe27fd0daca14644a2a71456cd60c9a38befbdf.tar MultiMC-2fe27fd0daca14644a2a71456cd60c9a38befbdf.tar.gz MultiMC-2fe27fd0daca14644a2a71456cd60c9a38befbdf.tar.lz MultiMC-2fe27fd0daca14644a2a71456cd60c9a38befbdf.tar.xz MultiMC-2fe27fd0daca14644a2a71456cd60c9a38befbdf.zip |
More work on new assets system. Works given a properly constructed assets folder, no downloading yet
Diffstat (limited to 'logic/assets/AssetsIndex.cpp')
-rw-r--r-- | logic/assets/AssetsIndex.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/logic/assets/AssetsIndex.cpp b/logic/assets/AssetsIndex.cpp index 5b401a77..509f1add 100644 --- a/logic/assets/AssetsIndex.cpp +++ b/logic/assets/AssetsIndex.cpp @@ -15,6 +15,17 @@ #include "AssetsIndex.h" +AssetsIndex::AssetsIndex() +{ + // TODO: leak? + this->objects = new QMap<QString, AssetObject>(); + this->isVirtual = false; +} + AssetObject::AssetObject(QString hash, qint64 size) : hash(hash), size(size) { } + +AssetObject::AssetObject() +{ +} |