Skip to content

Commit 79f8e9a

Browse files
committed
[GEN][ZH] Remove all RTS_INTERNAL epilogues (#1231)
1 parent 477be26 commit 79f8e9a

File tree

622 files changed

+0
-3117
lines changed

Some content is hidden

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

622 files changed

+0
-3117
lines changed

Core/GameEngine/Source/Common/System/Xfer.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@
3636
#include "Common/Xfer.h"
3737
#include "Common/BitFlagsIO.h"
3838

39-
#ifdef RTS_INTERNAL
40-
// for occasional debugging...
41-
//#pragma optimize("", off)
42-
//#pragma MESSAGE("************************************** WARNING, optimization disabled for debugging purposes")
43-
#endif
4439

4540
//-------------------------------------------------------------------------------------------------
4641
//-------------------------------------------------------------------------------------------------

Core/Libraries/Source/Compression/CompressionManager.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@
3232
#include "EAC/huffcodex.h"
3333
#include "EAC/refcodex.h"
3434

35-
#ifdef RTS_INTERNAL
36-
// for occasional debugging...
37-
//#pragma optimize("", off)
38-
//#pragma message("************************************** WARNING, optimization disabled for debugging purposes")
39-
#endif
4035

4136
// TheSuperHackers @todo Recover debug logging in this file?
4237
#define DEBUG_LOG(x) {}

Core/Libraries/Source/Compression/LZHCompress/NoxCompress.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@
2626
#include "NoxCompress.h"
2727
#include "CompLibHeader/lzhl.h"
2828

29-
#ifdef RTS_INTERNAL
30-
// for occasional debugging...
31-
//#pragma optimize("", off)
32-
//#pragma message("************************************** WARNING, optimization disabled for debugging purposes")
33-
#endif
3429

3530
#define BLOCKSIZE 500000
3631
#define NoxRead fread

Core/Libraries/Source/WWVegas/WW3D2/render2dsentence.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@
4141
#include "wwmemlog.h"
4242
#include "dx8wrapper.h"
4343

44-
#ifdef RTS_INTERNAL
45-
// for occasional debugging...
46-
//#pragma optimize("", off)
47-
//#pragma message("************************************** WARNING, optimization disabled for debugging purposes")
48-
#endif
4944

5045
////////////////////////////////////////////////////////////////////////////////////
5146
// Local constants

Core/Libraries/Source/WWVegas/WW3D2/rendobj.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@
9393
#include "intersec.h"
9494

9595

96-
#ifdef RTS_INTERNAL
97-
// for occasional debugging...
98-
//#pragma optimize("", off)
99-
//#pragma MESSAGE("************************************** WARNING, optimization disabled for debugging purposes")
100-
#endif
10196

10297
// Definitions of static members:
10398
const float RenderObjClass::AT_MIN_LOD = FLT_MAX;

Core/Libraries/Source/WWVegas/WW3D2/seglinerenderer.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@
6060
#define SEGLINE_CHUNK_SIZE (128)
6161
#endif
6262

63-
#ifdef RTS_INTERNAL
64-
// for occasional debugging...
65-
//#pragma optimize("", off)
66-
//#pragma MESSAGE("************************************** WARNING, optimization disabled for debugging purposes")
67-
#endif
6863

6964
#define MAX_SEGLINE_POINT_BUFFER_SIZE (1 + SEGLINE_CHUNK_SIZE)
7065
// This macro depends on the assumption that each line segment is two polys.

Core/Libraries/Source/WWVegas/WW3D2/streakRender.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
#include "RANDOM.H"
3636
#include "v3_rnd.h"
3737

38-
#ifdef RTS_INTERNAL
39-
// for occasional debugging...
40-
// #pragma optimize("", off)
41-
// #pragma MESSAGE("************************************** WARNING, optimization disabled for debugging purposes")
42-
#endif
4338

4439
/* We have chunking logic which handles N segments at a time. To simplify the subdivision logic,
4540
** we will ensure that N is a power of two and that N >= 2^MAX_STREAK_SUBDIV_LEVELS, so that the

Core/Tools/MapCacheBuilder/Source/WinMain.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,6 @@
110110

111111
// PRIVATE TYPES //////////////////////////////////////////////////////////////
112112

113-
#ifdef RTS_INTERNAL
114-
// for occasional debugging...
115-
//#pragma optimize("", off)
116-
//#pragma message("************************************** WARNING, optimization disabled for debugging purposes")
117-
#endif
118113

119114
// PRIVATE DATA ///////////////////////////////////////////////////////////////
120115

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
#include "GameLogic/AIStateMachine.h"
3636
#include "GameLogic/Module/AIUpdate.h"
3737

38-
#ifdef RTS_INTERNAL
39-
// for occasional debugging...
40-
//#pragma optimize("", off)
41-
//#pragma MESSAGE("************************************** WARNING, optimization disabled for debugging purposes")
42-
#endif
4338

4439
//-------------------------------------------------------------------------------------------------
4540
//-------------------------------------------------------------------------------------------------

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@
5757
#include "GameClient/Drawable.h" // For getPosition
5858
#include "GameClient/GameClient.h" // For getDrawableByID
5959

60-
#ifdef RTS_INTERNAL
61-
//#pragma optimize("", off)
62-
//#pragma MESSAGE("************************************** WARNING, optimization disabled for debugging purposes")
63-
#endif
6460

6561
//-------------------------------------------------------------------------------------------------
6662
AudioEventRTS::AudioEventRTS()

0 commit comments

Comments
 (0)