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