mirror of
https://github.com/KranX/Vangers.git
synced 2025-11-30 23:15:27 +07:00
Move lang.cpp/lang.h to xtool to avoid linking problems
This commit is contained in:
@@ -21,6 +21,7 @@ SET(xtool_SRCS
|
||||
xutil/xclock.cpp
|
||||
iniparser/dictionary.c
|
||||
iniparser/iniparser.c
|
||||
lang.cpp
|
||||
)
|
||||
|
||||
IF(DXSTREAM_DEBUG)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* ---------------------------- INCLUDE SECTION ----------------------------- */
|
||||
|
||||
#include "../../src/lang.h"
|
||||
#include "lang.h"
|
||||
#include "xglobal.h"
|
||||
#include "xt_list.h"
|
||||
#include "../xgraph/xgraph.h"
|
||||
|
||||
@@ -6,7 +6,7 @@ INCLUDE_DIRECTORIES(AFTER
|
||||
SET(server_SRCS
|
||||
kdsplus.cpp
|
||||
${PROJECT_SOURCE_DIR}/src/xsocket.cpp
|
||||
${PROJECT_SOURCE_DIR}/src/lang.cpp
|
||||
${PROJECT_SOURCE_DIR}/lib/xtool/lang.cpp
|
||||
${PROJECT_SOURCE_DIR}/lib/xgraph/xgraph_dummy.cpp
|
||||
server.cpp
|
||||
#win32f.cpp -- candidat to remove
|
||||
|
||||
@@ -68,7 +68,6 @@ SET(vangers_SRCS
|
||||
xjoystick.cpp
|
||||
xsocket.cpp
|
||||
zmod_client.cpp
|
||||
lang.cpp
|
||||
${WINDOWS_RES}
|
||||
actint/layout.h)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* ---------------------------- INCLUDE SECTION ----------------------------- */
|
||||
|
||||
#include "../global.h"
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
#include "../iscreen/hfont.h"
|
||||
|
||||
#include "aci_evnt.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* ---------------------------- INCLUDE SECTION ----------------------------- */
|
||||
|
||||
#include "../global.h"
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
#include <zlib.h>
|
||||
|
||||
#if defined(__APPLE__) || __GNUC__ < 9
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef __ISCREEN_H__
|
||||
#define __ISCREEN_H__
|
||||
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
#include "hfont.h"
|
||||
#include "iscreen_options.h"
|
||||
#include <vector>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "../global.h"
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
|
||||
#define LOWLEVEL_OUTPUT
|
||||
//#define SAVE_ABILITY
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "../global.h"
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
|
||||
#include "hmusic.h"
|
||||
#include "hsound.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "../global.h"
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
|
||||
#include "../3d/3d_math.h"
|
||||
#include "../3d/3dgraph.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "../global.h"
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
|
||||
//#include "..\win32f.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "../global.h"
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
|
||||
#include "../zmod_client.h"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include "../global.h"
|
||||
#include "../lang.h"
|
||||
#include "lang.h"
|
||||
|
||||
#include "../common.h"
|
||||
#include "diagen.h"
|
||||
|
||||
@@ -23,7 +23,7 @@ typedef unsigned char uchar;
|
||||
#include "../src/units/hobj.h"
|
||||
#include "../src/units/uvsapi.h"
|
||||
#include "../src/units/items.h"
|
||||
#include "../src/lang.h"
|
||||
#include "lang.h"
|
||||
#include "../src/network.h"
|
||||
#include "../src/sound/hsound.h"
|
||||
#include "../src/xjoystick.h"
|
||||
|
||||
Reference in New Issue
Block a user