obsoleted global_variables, moved to the AOApp object

This commit is contained in:
David Skoland 2017-01-23 13:09:50 +01:00
parent 9ba9987d1f
commit 6b85266e86
4 changed files with 1 additions and 19 deletions

View File

@ -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 \

View File

@ -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";

View File

@ -1,8 +0,0 @@
#ifndef GLOBAL_VARIABLES_H
#define GLOBAL_VARIABLES_H
#include <QString>
#endif // GLOBAL_VARIABLES_H

View File

@ -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")
{