summaryrefslogtreecommitdiff
path: root/game_integration_window.h
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2016-08-22 12:43:10 +0930
committerdaniel-Jones <daniel@danieljon.es>2016-08-22 12:43:10 +0930
commite95216fbc47bfee926b518b468dccfe600351663 (patch)
tree366348046a26c55ad132e5aafd57768a96e1f59d /game_integration_window.h
parenta2cbf0f5948c89334511aff60df12f4a77b4bb5e (diff)
downloadcsgo_stats-e95216fbc47bfee926b518b468dccfe600351663.tar.gz
csgo_stats-e95216fbc47bfee926b518b468dccfe600351663.zip
Added new weapon images and other icons. Game integrations now works well - gives basic game info such as the weapons in use, ammo, score etc. Many other fixes and changes. There exists code for graph integration, but I never finished them and thus they are hidden by default.
Diffstat (limited to 'game_integration_window.h')
-rw-r--r--game_integration_window.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/game_integration_window.h b/game_integration_window.h
index 80eae3e..cd0833f 100644
--- a/game_integration_window.h
+++ b/game_integration_window.h
@@ -8,6 +8,7 @@
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
+#include <QLabel>
namespace Ui {
class game_integration_window;
@@ -31,16 +32,27 @@ private:
QJsonDocument json_doc;
QJsonObject json_object;
QVariantMap main_map;
- QVariantMap map_map;
+ QVariantMap map_map;
QVariantMap player_map;
QVariantMap round_map;
QVariantMap weapon_map;
QVariantMap stats_map;
QVariantMap ct_score_map;
QVariantMap t_score_map;
+ QVariantMap weapon_1_map;
+ QVariantMap weapon_2_map;
+ QVariantMap weapon_3_map;
+ QVariantMap weapon_4_map;
+ QVariantMap weapon_5_map;
+ QVariantMap weapon_6_map;
+ QVariantMap weapon_7_map;
+ QVariantMap weapon_8_map;
+ QVariantMap weapon_9_map;
+ QVariantMap weapon_10_map;
QString current_user_id;
QString current_map;
QString current_team;
+ QList<QLabel *> weapon_labels;
} game;
protected: