Skip to content

Commit 47e08d0

Browse files
authored
[GEN][ZH] Fix missing rename for RTS_DEBUG, RTS_INTERNAL, RTS_PROFILE (#803)
1 parent 8d6e26c commit 47e08d0

File tree

36 files changed

+43
-43
lines changed

36 files changed

+43
-43
lines changed

Core/Libraries/Source/WWVegas/WWLib/Except.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ int Exception_Handler(int exception_code, EXCEPTION_POINTERS *e_info)
793793
}
794794
#else
795795
exception_code = exception_code;
796-
#endif //_DEBUG
796+
#endif //RTS_DEBUG
797797

798798
#ifdef WWDEBUG
799799
//CONTEXT *context;
@@ -833,7 +833,7 @@ int Exception_Handler(int exception_code, EXCEPTION_POINTERS *e_info)
833833
}
834834
}
835835
DebugString ("Debug file copied\n");
836-
#endif //_DEBUG
836+
#endif //RTS_DEBUG
837837
#endif //_DEBUG_PRINT
838838
#endif //(0)
839839

@@ -854,7 +854,7 @@ int Exception_Handler(int exception_code, EXCEPTION_POINTERS *e_info)
854854
if (ExitOnException) {
855855
#ifdef RTS_DEBUG
856856
_CrtSetDbgFlag(0);
857-
#endif //_DEBUG
857+
#endif //RTS_DEBUG
858858
TryingToExit = true;
859859

860860
unsigned long id = Get_Main_Thread_ID();

Core/Libraries/Source/WWVegas/WWLib/always.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
#endif //STEVES_NEW_CATCHER
7676
#endif //_MSC_VER
77-
#endif //_DEBUG
77+
#endif //RTS_DEBUG
7878

7979
#if !defined(DISABLE_GAMEMEMORY) // (gth) killing the Generals Memory Manager!
8080

Core/Tools/W3DView/DataTreeView.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void CDataTreeView::Dump(CDumpContext& dc) const
149149
{
150150
CTreeView::Dump(dc);
151151
}
152-
#endif //_DEBUG
152+
#endif //RTS_DEBUG
153153

154154
/////////////////////////////////////////////////////////////////////////////
155155
// CDataTreeView message handlers

Core/Tools/W3DView/DialogToolbar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void DialogToolbarClass::Dump(CDumpContext& dc) const
6868
{
6969
CToolBar::Dump(dc);
7070
}
71-
#endif //_DEBUG
71+
#endif //RTS_DEBUG
7272

7373

7474
///////////////////////////////////////////////////////////////////

Core/Tools/W3DView/GraphicView.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void CGraphicView::Dump(CDumpContext& dc) const
154154
{
155155
CView::Dump(dc);
156156
}
157-
#endif //_DEBUG
157+
#endif //RTS_DEBUG
158158

159159

160160

Core/Tools/W3DView/MainFrm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ void CMainFrame::Dump(CDumpContext& dc) const
634634
CFrameWnd::Dump(dc);
635635
}
636636

637-
#endif //_DEBUG
637+
#endif //RTS_DEBUG
638638

639639

640640
////////////////////////////////////////////////////////////////////////////

Core/Tools/W3DView/SoundEditDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void SoundEditDialogClass::Dump(CDumpContext& dc) const
122122
{
123123
CDialog::Dump(dc);
124124
}
125-
#endif //_DEBUG
125+
#endif //RTS_DEBUG
126126

127127

128128

Core/Tools/W3DView/W3DView.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ WinMain
113113
#ifndef RTS_DEBUG
114114
try
115115
{
116-
#endif //_DEBUG
116+
#endif //RTS_DEBUG
117117

118118
//::AfxWinInit (hInstance, hPrevInstance, lpCmdLine, nCmdShow);
119119
//::AfxInitialize (FALSE, _MFC_VER);
@@ -134,7 +134,7 @@ WinMain
134134

135135
::MessageBox (NULL, "Internal Application Error", "Unrecoverable Error", MB_ICONERROR | MB_OK);
136136
}
137-
#endif //_DEBUG
137+
#endif //RTS_DEBUG
138138

139139
return retcode;
140140
}

Core/Tools/W3DView/W3DViewDoc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ void CW3DViewDoc::Dump(CDumpContext& dc) const
343343
{
344344
CDocument::Dump(dc);
345345
}
346-
#endif //_DEBUG
346+
#endif //RTS_DEBUG
347347

348348

349349
///////////////////////////////////////////////////////////////

Core/Tools/W3DView/W3DViewView.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ CW3DViewDoc* CW3DViewView::GetDocument() // non-debug version is inline
9292
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CW3DViewDoc)));
9393
return (CW3DViewDoc*)m_pDocument;
9494
}
95-
#endif //_DEBUG
95+
#endif //RTS_DEBUG
9696

9797
/////////////////////////////////////////////////////////////////////////////
9898
// CW3DViewView message handlers

0 commit comments

Comments
 (0)