obsoleted global_variables, moved to the AOApp object
This commit is contained in:
parent
9ba9987d1f
commit
6b85266e86
@ -20,7 +20,6 @@ SOURCES += main.cpp\
|
|||||||
aoimage.cpp \
|
aoimage.cpp \
|
||||||
file_functions.cpp \
|
file_functions.cpp \
|
||||||
aobutton.cpp \
|
aobutton.cpp \
|
||||||
global_variables.cpp \
|
|
||||||
debug_functions.cpp \
|
debug_functions.cpp \
|
||||||
networkmanager.cpp \
|
networkmanager.cpp \
|
||||||
aoapplication.cpp \
|
aoapplication.cpp \
|
||||||
@ -38,7 +37,6 @@ HEADERS += lobby.h \
|
|||||||
aoimage.h \
|
aoimage.h \
|
||||||
file_functions.h \
|
file_functions.h \
|
||||||
aobutton.h \
|
aobutton.h \
|
||||||
global_variables.h \
|
|
||||||
debug_functions.h \
|
debug_functions.h \
|
||||||
networkmanager.h \
|
networkmanager.h \
|
||||||
aoapplication.h \
|
aoapplication.h \
|
||||||
|
@ -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";
|
|
@ -1,8 +0,0 @@
|
|||||||
#ifndef GLOBAL_VARIABLES_H
|
|
||||||
#define GLOBAL_VARIABLES_H
|
|
||||||
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // GLOBAL_VARIABLES_H
|
|
@ -99,7 +99,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
|
|||||||
if (f_contents.size() < 1)
|
if (f_contents.size() < 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//T0D0: save server version here, somehow
|
//T0D0: save server version here, somehow(it's in the HI# packet usually)
|
||||||
}
|
}
|
||||||
else if (header == "CT")
|
else if (header == "CT")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user