Add resource synchronization percentage to loading screen

This commit is contained in:
Emil Axelsson
2018-01-11 09:39:51 +01:00
parent d21654f8d5
commit 001dea3a62
5 changed files with 35 additions and 14 deletions
+2 -1
View File
@@ -84,7 +84,7 @@ public:
Failed
};
void updateItem(const std::string& itemName, ItemStatus newStatus);
void updateItem(const std::string& itemName, ItemStatus newStatus, float progress);
private:
bool _showMessage;
@@ -124,6 +124,7 @@ private:
struct Item {
std::string name;
ItemStatus status;
float progress;
bool hasLocation;
glm::vec2 ll;