Skip to content

Commit db13e8b

Browse files
authored
[GEN][ZH] Fix file name case in includes (#347)
1 parent b319e8e commit db13e8b

File tree

1,572 files changed

+3027
-3027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,572 files changed

+3027
-3027
lines changed

Generals/Code/GameEngine/Include/Common/BezierSegment.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
#ifndef __BEZIERSEGMENT_H__
3232
#define __BEZIERSEGMENT_H__
3333

34-
#include <D3DX8Math.h>
35-
#include "Common/STLTypeDefs.h"
34+
#include <d3dx8math.h>
35+
#include "Common/STLTypedefs.h"
3636

3737
#define USUAL_TOLERANCE 1.0f
3838

Generals/Code/GameEngine/Include/Common/CDManager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
//----------------------------------------------------------------------------
5353

5454
#include "Common/List.h"
55-
#include "Common/SubSystemInterface.h"
55+
#include "Common/SubsystemInterface.h"
5656
#include "Common/AsciiString.h"
5757

5858

Generals/Code/GameEngine/Include/Common/CRCDebug.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
#include "Common/AsciiString.h"
4545
#include "GameLogic/GameLogic.h"
4646
#include "Lib/BaseType.h"
47-
#include "wwmath/vector3.h"
48-
#include "wwmath/matrix3d.h"
47+
#include "WWMath/vector3.h"
48+
#include "WWMath/matrix3d.h"
4949

5050
#define AS_INT(x) (*(Int *)(&x))
5151
#define DUMPVEL DUMPCOORD3DNAMED(&m_vel, "m_vel")

Generals/Code/GameEngine/Include/Common/List.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
//----------------------------------------------------------------------------
5353

5454
#ifndef _BASE_TYPE_H_
55-
#include <lib/BaseType.h>
55+
#include <Lib/BaseType.h>
5656
#endif
5757

5858
//----------------------------------------------------------------------------

Generals/Code/GameEngine/Include/Common/LocalFile.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
// Includes
5353
//----------------------------------------------------------------------------
5454

55-
#include "Common/File.h"
55+
#include "Common/file.h"
5656

5757
// srj sez: this was purely an experiment in optimization.
5858
// at the present time, it doesn't appear to be a good one.

Generals/Code/GameEngine/Include/Common/OSDisplay.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef __OSDISPLAY_H__
3232
#define __OSDISPLAY_H__
3333

34-
#include "Lib/Basetype.h"
34+
#include "Lib/BaseType.h"
3535

3636
class AsciiString;
3737

Generals/Code/GameEngine/Include/Common/RAMFile.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
// Includes
5353
//----------------------------------------------------------------------------
5454

55-
#include "Common/File.h"
55+
#include "Common/file.h"
5656

5757
//----------------------------------------------------------------------------
5858
// Forward References

Generals/Code/GameEngine/Include/Common/Thing.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
//-----------------------------------------------------------------------------
5959
#include "Common/GameMemory.h"
6060
#include "Common/KindOf.h"
61-
#include "Common/OVERRIDE.h"
62-
#include "WWMath/Matrix3D.h" ///< @todo Decide if we're keeping the WWMath libs (MSB)
61+
#include "Common/Override.h"
62+
#include "WWMath/matrix3d.h" ///< @todo Decide if we're keeping the WWMath libs (MSB)
6363

6464
//-----------------------------------------------------------------------------
6565
// Forward References

Generals/Code/GameEngine/Include/Common/file.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
// Includes
5353
//----------------------------------------------------------------------------
5454

55-
#include "lib/basetype.h"
55+
#include "Lib/BaseType.h"
5656
#include "Common/AsciiString.h"
5757
#include "Common/GameMemory.h"
5858
// include FileSystem.h as it will be used alot with File.h

Generals/Code/GameEngine/Include/GameClient/Drawable.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include "Common/Thing.h"
3838
#include "Common/Geometry.h"
3939
#include "GameClient/Color.h"
40-
#include "WWMath/Matrix3D.h"
40+
#include "WWMath/matrix3d.h"
4141
#include "GameClient/DrawableInfo.h"
4242

4343
// FORWARD REFERENCES /////////////////////////////////////////////////////////////////////////////

Generals/Code/GameEngine/Include/GameClient/GameClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef _GAME_INTERFACE_H_
3232
#define _GAME_INTERFACE_H_
3333

34-
#include "common/GameType.h"
34+
#include "Common/GameType.h"
3535
#include "Common/MessageStream.h" // for GameMessageTranslator
3636
#include "Common/Snapshot.h"
3737
#include "Common/STLTypedefs.h"

Generals/Code/GameEngine/Include/GameClient/ParticleSys.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#include "Common/SubsystemInterface.h"
4141
#include "GameClient/ClientRandomValue.h"
4242

43-
#include "WWMath/Matrix3D.h" ///< @todo Replace with our own matrix library
43+
#include "WWMath/matrix3d.h" ///< @todo Replace with our own matrix library
4444
#include "Common/STLTypedefs.h"
4545

4646

Generals/Code/GameEngine/Include/GameClient/Statistics.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#define _H_STATISTICS_
4343

4444
// INCLUDES ///////////////////////////////////////////////////////////////////
45-
#include "Lib/Basetype.h"
45+
#include "Lib/BaseType.h"
4646

4747
// DEFINES ////////////////////////////////////////////////////////////////////
4848
// TYPE DEFINES ///////////////////////////////////////////////////////////////

Generals/Code/GameEngine/Include/GameClient/VideoPlayer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
// Includes
5050
//----------------------------------------------------------------------------
5151

52-
#include <lib/BaseType.h>
52+
#include <Lib/BaseType.h>
5353
#include "WWMath/rect.h"
5454
#include "Common/SubsystemInterface.h"
5555
#include "Common/AsciiString.h"

Generals/Code/GameEngine/Include/GameClient/View.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include "Common/GameType.h"
3737
#include "Common/Snapshot.h"
3838
#include "Lib/BaseType.h"
39-
#include "WW3D2/ColType.h" ///< we don't generally do this, but we need the W3D collision types
39+
#include "WW3D2/coltype.h" ///< we don't generally do this, but we need the W3D collision types
4040

4141
#define DEFAULT_VIEW_WIDTH 640
4242
#define DEFAULT_VIEW_HEIGHT 480

Generals/Code/GameEngine/Include/GameLogic/AIStateMachine.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef _AI_STATE_MACHINE_H_
3232
#define _AI_STATE_MACHINE_H_
3333

34-
#include "Lib/Basetype.h"
34+
#include "Lib/BaseType.h"
3535

3636
#include "Common/AudioEventRTS.h"
3737
#include "Common/GameMemory.h"

Generals/Code/GameEngine/Include/GameLogic/CrateSystem.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#ifndef CRATE_SYSTEM_H
3333
#define CRATE_SYSTEM_H
3434

35-
#include "Common/Ini.h"
35+
#include "Common/INI.h"
3636
#include "Common/Overridable.h"
3737
#include "Common/Override.h"
3838

Generals/Code/GameEngine/Include/GameLogic/Module/BridgeBehavior.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include "GameClient/TerrainRoads.h"
3838
#include "GameLogic/Module/BehaviorModule.h"
3939
#include "GameLogic/Module/DamageModule.h"
40-
#include "GameLogic/Module/Diemodule.h"
40+
#include "GameLogic/Module/DieModule.h"
4141
#include "GameLogic/Module/UpdateModule.h"
4242

4343
// FORWARD REFERENCES /////////////////////////////////////////////////////////////////////////////

Generals/Code/GameEngine/Include/GameLogic/Module/BridgeTowerBehavior.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
// USER INCLUDES //////////////////////////////////////////////////////////////////////////////////
3636
#include "GameLogic/Module/BehaviorModule.h"
3737
#include "GameLogic/Module/DamageModule.h"
38-
#include "GameLogic/Module/Diemodule.h"
38+
#include "GameLogic/Module/DieModule.h"
3939

4040
// FORWARD REFERENCES /////////////////////////////////////////////////////////////////////////////
4141

Generals/Code/GameEngine/Include/GameLogic/Module/DumbProjectileBehavior.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333

3434
#include "Common/GameType.h"
3535
#include "Common/GlobalData.h"
36-
#include "Common/STLTypeDefs.h"
36+
#include "Common/STLTypedefs.h"
3737
#include "GameLogic/Module/BehaviorModule.h"
3838
#include "GameLogic/Module/CollideModule.h"
3939
#include "GameLogic/Module/UpdateModule.h"
4040
#include "GameLogic/WeaponBonusConditionFlags.h"
4141
#include "Common/INI.h"
42-
#include "WWMath/Matrix3D.h"
42+
#include "WWMath/matrix3d.h"
4343

4444
class ParticleSystem;
4545
class FXList;

Generals/Code/GameEngine/Include/GameLogic/Module/MissileAIUpdate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include "GameLogic/Module/AIUpdate.h"
3737
#include "GameLogic/WeaponBonusConditionFlags.h"
3838
#include "Common/INI.h"
39-
#include "WWMath/Matrix3D.h"
39+
#include "WWMath/matrix3d.h"
4040

4141
enum ParticleSystemID;
4242
class FXList;

Generals/Code/GameEngine/Include/GameLogic/Module/NeutronMissileUpdate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include "GameLogic/Module/UpdateModule.h"
3838
#include "GameLogic/Module/DieModule.h"
3939
#include "Common/INI.h"
40-
#include "WWMath/Matrix3D.h"
40+
#include "WWMath/matrix3d.h"
4141

4242
enum ParticleSystemID;
4343
class FXList;

Generals/Code/GameEngine/Include/GameLogic/Weapon.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
#include "GameLogic/Damage.h"
4040

41-
#include "WWMath/Matrix3D.h"
41+
#include "WWMath/matrix3d.h"
4242

4343
// FORWARD REFERENCES /////////////////////////////////////////////////////////////////////////////
4444
struct FieldParse;

Generals/Code/GameEngine/Include/GameNetwork/Connection.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
#include "GameNetwork/NetCommandList.h"
4242
#include "GameNetwork/User.h"
43-
#include "GameNetwork/transport.h"
43+
#include "GameNetwork/Transport.h"
4444
#include "GameNetwork/NetPacket.h"
4545

4646
#define CONNECTION_LATENCY_HISTORY_LENGTH 200

Generals/Code/GameEngine/Include/GameNetwork/DownloadManager.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
#ifndef __DOWNLOADMANAGER_H__
3232
#define __DOWNLOADMANAGER_H__
3333

34-
#include "WWDownload/downloadDefs.h"
35-
#include "WWDownload/download.h"
34+
#include "WWDownload/downloaddefs.h"
35+
#include "WWDownload/Download.h"
3636

3737
class CDownload;
3838
class QueuedDownload

Generals/Code/GameEngine/Include/GameNetwork/GameSpy.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef __GameSpy_H__
3232
#define __GameSpy_H__
3333

34-
#include "GameSpy/Peer/Peer.h"
34+
#include "gamespy/peer/peer.h"
3535

3636
#include "GameClient/Color.h"
3737
#include "Common/STLTypedefs.h"

Generals/Code/GameEngine/Include/GameNetwork/GameSpy/BuddyThread.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef __BUDDYTHREAD_H__
3232
#define __BUDDYTHREAD_H__
3333

34-
#include "GameSpy/GP/GP.h"
34+
#include "gamespy/gp/gp.h"
3535

3636
#define MAX_BUDDY_CHAT_LEN 128
3737

Generals/Code/GameEngine/Include/GameNetwork/GameSpy/PeerDefs.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
#ifndef __PEERDEFS_H__
3232
#define __PEERDEFS_H__
3333

34-
#include "GameSpy/Peer/Peer.h"
35-
#include "GameSpy/GP/GP.h"
34+
#include "gamespy/peer/peer.h"
35+
#include "gamespy/gp/gp.h"
3636

3737
#include "GameClient/Color.h"
3838
#include "Common/STLTypedefs.h"

Generals/Code/GameEngine/Include/GameNetwork/GameSpy/PeerThread.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef __PEERTHREAD_H__
3232
#define __PEERTHREAD_H__
3333

34-
#include "GameSpy/Peer/Peer.h"
34+
#include "gamespy/peer/peer.h"
3535
#include "GameNetwork/NetworkDefs.h"
3636

3737
enum SerialAuthResult

Generals/Code/GameEngine/Include/GameNetwork/GameSpy/PersistentStorageThread.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef __PERSISTENTSTORAGETHREAD_H__
3232
#define __PERSISTENTSTORAGETHREAD_H__
3333

34-
#include "GameSpy/gstats/gpersist.h"
34+
#include "gamespy/gstats/gpersist.h"
3535

3636
#define MAX_BUDDY_CHAT_LEN 128
3737

Generals/Code/GameEngine/Include/GameNetwork/GameSpyChat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef __GAMESPYCHAT_H__
3232
#define __GAMESPYCHAT_H__
3333

34-
#include "GameSpy/Peer/Peer.h"
34+
#include "gamespy/peer/peer.h"
3535

3636
class GameWindow;
3737
class WindowLayout;

Generals/Code/GameEngine/Include/GameNetwork/GameSpyGP.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef __GAMESPYGP_H__
3232
#define __GAMESPYGP_H__
3333

34-
#include "GameSpy/GP/GP.h"
34+
#include "gamespy/gp/gp.h"
3535

3636
void GPRecvBuddyRequestCallback(GPConnection * connection, GPRecvBuddyRequestArg * arg, void * param);
3737
void GPRecvBuddyMessageCallback(GPConnection * pconnection, GPRecvBuddyMessageArg * arg, void * param);

Generals/Code/GameEngine/Include/GameNetwork/GameSpyGameInfo.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#ifndef __GAMESPYGAMEINFO_H__
3434
#define __GAMESPYGAMEINFO_H__
3535

36-
#include "GameSpy/Peer/Peer.h"
36+
#include "gamespy/peer/peer.h"
3737

3838
#include "GameNetwork/GameInfo.h"
3939

Generals/Code/GameEngine/Include/GameNetwork/NAT.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#ifndef __NAT_H
3333
#define __NAT_H
3434

35-
#include "Lib\BaseType.h"
35+
#include "Lib/BaseType.h"
3636
#include "GameNetwork/NetworkInterface.h"
3737
#include "GameNetwork/FirewallHelper.h"
3838

Generals/Code/GameEngine/Include/GameNetwork/User.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#ifndef __USER_H
3232
#define __USER_H
3333

34-
#include "GameNetwork/networkdefs.h"
34+
#include "GameNetwork/NetworkDefs.h"
3535
#include "Common/UnicodeString.h"
3636

3737
class User : public MemoryPoolObject

Generals/Code/GameEngine/Include/Precompiled/PreRTS.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class STLSpecialAlloc;
4747
#include <assert.h>
4848
#include <ctype.h>
4949
#include <direct.h>
50-
#include <EXCPT.H>
50+
#include <excpt.h>
5151
#include <float.h>
5252
#ifdef USING_STLPORT
5353
#include <fstream.h>
@@ -79,7 +79,7 @@ class STLSpecialAlloc;
7979
#include <sys/stat.h>
8080
#include <sys/timeb.h>
8181
#include <sys/types.h>
82-
#include <TCHAR.H>
82+
#include <tchar.h>
8383
#include <time.h>
8484
#include <vfw.h>
8585
#include <winerror.h>
@@ -107,7 +107,7 @@ class STLSpecialAlloc;
107107

108108
//------------------------------------------------------------------------------------ RTS Includes
109109
// Icky. These have to be in this order.
110-
#include "Lib/Basetype.h"
110+
#include "Lib/BaseType.h"
111111
#include "Common/STLTypedefs.h"
112112
#include "Common/Errors.h"
113113
#include "Common/Debug.h"

Generals/Code/GameEngine/Source/Common/Audio/AudioEventRTS.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#include "Common/AudioEventInfo.h"
4444
#include "Common/AudioRandomValue.h"
4545
#include "Common/AudioSettings.h"
46-
#include "Common/File.h"
46+
#include "Common/file.h"
4747
#include "Common/FileSystem.h"
4848
#include "Common/GameSounds.h"
4949
#include "Common/GlobalData.h"

Generals/Code/GameEngine/Source/Common/Audio/GameAudio.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
#include "GameLogic/GameLogic.h"
6969
#include "GameLogic/TerrainLogic.h"
7070

71-
#include "WWMath/Matrix3D.h"
71+
#include "WWMath/matrix3d.h"
7272

7373
///////////////////////////////////////////////////////////////////////////////////////////////////
7474
#ifdef _INTERNAL

Generals/Code/GameEngine/Source/Common/Audio/GameSounds.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
//----------------------------------------------------------------------------
4545
#include "PreRTS.h" // This must go first in EVERY cpp file int the GameEngine
4646

47-
#include "Lib/Basetype.h"
47+
#include "Lib/BaseType.h"
4848
#include "Common/GameSounds.h"
4949

5050
#include "Common/AudioEventInfo.h"

Generals/Code/GameEngine/Source/Common/Audio/GameSpeech.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#include "wpaudio/attributes.h"
4141

42-
#include "wsys/File.h"
42+
#include "wsys/file.h"
4343
#include "wsys/List.h"
4444
#include "wpaudio/Streamer.h"
4545
#include "wpaudio/Time.h"

0 commit comments

Comments
 (0)