mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
remove all #include's for Language Defines
scripted diff:
find . -type f -iname "*.h" -exec sed -i -E '/#include.*language\ defines\.h/I d' {} \;
find . -type f -iname "*.cpp" -exec sed -i -E '/#include.*language\ defines\.h/I d' {} \;
This commit is contained in:
committed by
majcosta
parent
0993789430
commit
897f684705
@@ -1,7 +1,6 @@
|
||||
#ifndef _CHEATS__H_
|
||||
#define _CHEATS__H_
|
||||
|
||||
#include "Language Defines.h"
|
||||
|
||||
extern UINT8 gubCheatLevel;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "Types.h"
|
||||
#include "Credits.h"
|
||||
#include "Language Defines.h"
|
||||
#include "vsurface.h"
|
||||
#include "mousesystem.h"
|
||||
#include "Text.h"
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "Text.h"
|
||||
#include "Interface Control.h"
|
||||
#include "Message.h"
|
||||
#include "Language Defines.h"
|
||||
#include "Multi Language Graphic Utils.h"
|
||||
#include "Map Information.h"
|
||||
#include "Sys Globals.h"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "GameVersion.h"
|
||||
#include "LibraryDataBase.h"
|
||||
#include "Debug.h"
|
||||
#include "Language Defines.h"
|
||||
#include "HelpScreen.h"
|
||||
#include "INIReader.h"
|
||||
#include "Shade Table Util.h"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "Text.h"
|
||||
#include "Interface Control.h"
|
||||
#include "Message.h"
|
||||
#include "Language Defines.h"
|
||||
#include "Multi Language Graphic Utils.h"
|
||||
#include "Map Information.h"
|
||||
#include "SmokeEffects.h"
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#ifndef _BUILDDEFINES_H
|
||||
#define _BUILDDEFINES_H
|
||||
|
||||
#include "Language Defines.h"
|
||||
|
||||
//----- Briefing Room (Mission based JA2 like in JA/DG) - by Jazz -----
|
||||
// Once enabled here and also enabled in the ja2_options.ini (BRIEFING_ROOM),
|
||||
// you can access the briefing room feature from the laptop
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
#include "Sound Control.h"
|
||||
#include "WordWrap.h"
|
||||
#include "text.h"
|
||||
#include "Language Defines.h"
|
||||
#include "IniReader.h"
|
||||
|
||||
#include "sgp_logger.h"
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "Strategic Status.h"
|
||||
#include "Merc Contract.h"
|
||||
#include "Strategic Merc Handler.h"
|
||||
#include "Language Defines.h"
|
||||
#include "Assignments.h"
|
||||
#include "Sound Control.h"
|
||||
#include "Quests.h"
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include "soldier macros.h"
|
||||
#include "squads.h"
|
||||
#include "MessageBoxScreen.h"
|
||||
#include "Language Defines.h"
|
||||
#include "GameSettings.h"
|
||||
#include "Map Screen Interface Map Inventory.h"
|
||||
#include "Quests.h"
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
#include "game clock.h"
|
||||
#include "squads.h"
|
||||
#include "MessageBoxScreen.h"
|
||||
#include "Language Defines.h"
|
||||
#include "GameSettings.h"
|
||||
#include "Map Screen Interface Map Inventory.h"
|
||||
#include "Quests.h"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "FileMan.h"
|
||||
#include "Debug.h"
|
||||
|
||||
#include "Language Defines.h"
|
||||
// anv: for selecting random line
|
||||
#include "Random.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "ImportStrings.h"
|
||||
#include "LocalizedStrings.h"
|
||||
#include "Language Defines.h"
|
||||
|
||||
#include <vfs/Tools/vfs_tools.h>
|
||||
#include <vfs/Core/vfs.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "Types.h"
|
||||
#include "Multi Language Graphic Utils.h"
|
||||
|
||||
#include "Language Defines.h"
|
||||
//SB
|
||||
#include "FileMan.h"
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@ CREATED: Feb 16, 1999
|
||||
#include "builddefines.h"
|
||||
#include <stdio.h>
|
||||
#include "types.h"
|
||||
#include "Language Defines.h"
|
||||
#include "debug.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include "opplist.h"
|
||||
#include "himage.h"
|
||||
#include "vsurface_private.h"
|
||||
#include "Language Defines.h"
|
||||
#include "text.h"
|
||||
#include "Screens.h"
|
||||
#include "Maputility.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("CHINESE")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#if defined( CHINESE )
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("DUTCH")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#if defined( DUTCH )
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("ENGLISH")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#if defined( ENGLISH )
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("FRENCH")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef FRENCH
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("GERMAN")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef GERMAN
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("ITALIAN")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#if defined( ITALIAN )
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("CHINESE")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef CHINESE
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("DUTCH")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef DUTCH
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("ENGLISH")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef ENGLISH
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("FRENCH")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef FRENCH
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("GERMAN")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef GERMAN
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("ITALIAN")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef ITALIAN
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// WANNE: Yes we need this here exclusivly in Polish version, because we do not have a codepage in the code like for other versions.
|
||||
//#pragma setlocale("POLISH")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef POLISH
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("RUSSIAN")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#ifdef RUSSIAN
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// WANNE: Yes we need this here exclusivly in Polish version, because we do not have a codepage in the code like for other versions.
|
||||
//#pragma setlocale("POLISH")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#if defined( POLISH )
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WANNE: Yes, this should be disabled, otherwise we get weird behavior when running the game with a VS 2005 build!
|
||||
//#pragma setlocale("RUSSIAN")
|
||||
|
||||
#include "Language Defines.h"
|
||||
#if defined( RUSSIAN )
|
||||
#include "text.h"
|
||||
#include "Fileman.h"
|
||||
|
||||
Reference in New Issue
Block a user