aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2017-01-23 13:09:50 +0100
committerDavid Skoland <davidskoland@gmail.com>2017-01-23 13:09:50 +0100
commit6b85266e869630fd642476dfd05627109b2cc7e3 (patch)
tree328b9baa8b44fa62a7b63ca9dd8a2111cbd6c088
parent9ba9987d1fae9de120ee19ac93655efe9ed6566b (diff)
obsoleted global_variables, moved to the AOApp object
-rw-r--r--Attorney_Online_remake.pro2
-rw-r--r--global_variables.cpp8
-rw-r--r--global_variables.h8
-rw-r--r--packet_distribution.cpp2
4 files changed, 1 insertions, 19 deletions
diff --git a/Attorney_Online_remake.pro b/Attorney_Online_remake.pro
index 1b2a1a22..0ce693ab 100644
--- a/Attorney_Online_remake.pro
+++ b/Attorney_Online_remake.pro
@@ -20,7 +20,6 @@ SOURCES += main.cpp\
aoimage.cpp \
file_functions.cpp \
aobutton.cpp \
- global_variables.cpp \
debug_functions.cpp \
networkmanager.cpp \
aoapplication.cpp \
@@ -38,7 +37,6 @@ HEADERS += lobby.h \
aoimage.h \
file_functions.h \
aobutton.h \
- global_variables.h \
debug_functions.h \
networkmanager.h \
aoapplication.h \
diff --git a/global_variables.cpp b/global_variables.cpp
deleted file mode 100644
index b3a7e125..00000000
--- a/global_variables.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "global_variables.h"
-#include "text_file_functions.h"
-
-const int RELEASE = 2;
-const int MAJOR_VERSION = 1;
-const int MINOR_VERSION = 0;
-
-QString g_user_theme = "default";
diff --git a/global_variables.h b/global_variables.h
deleted file mode 100644
index 941ac49f..00000000
--- a/global_variables.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef GLOBAL_VARIABLES_H
-#define GLOBAL_VARIABLES_H
-
-#include <QString>
-
-
-
-#endif // GLOBAL_VARIABLES_H
diff --git a/packet_distribution.cpp b/packet_distribution.cpp
index 852afaf7..5250dfab 100644
--- a/packet_distribution.cpp
+++ b/packet_distribution.cpp
@@ -99,7 +99,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
if (f_contents.size() < 1)
return;
- //T0D0: save server version here, somehow
+ //T0D0: save server version here, somehow(it's in the HI# packet usually)
}
else if (header == "CT")
{