Skip to content

Commit cc2deb9

Browse files
committed
All hail #pragma once
1 parent 14fbda6 commit cc2deb9

File tree

190 files changed

+220
-662
lines changed

Some content is hidden

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

190 files changed

+220
-662
lines changed

Resources/Credits.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTECREDITS_
2-
#define _RTECREDITS_
1+
#pragma once
32

43
// DO NOT INDENT!
54
// String literals are kinda trash and any whitespace/indentation will be part of the string.
@@ -142,5 +141,3 @@ FMOD Studio by Firelight Technologies Pty Ltd.
142141
143142
144143
Cortex Command is TM and © 2023 Data Realms, LLC)";
145-
146-
#endif

Source/Activities/ActorEditor.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEACTOREDITOR_
2-
#define _RTEACTOREDITOR_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: ActorEditor.h
@@ -259,5 +258,3 @@ ClassInfoGetters;
259258
};
260259

261260
} // namespace RTE
262-
263-
#endif // File

Source/Activities/AreaEditor.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEAREAEDITOR_
2-
#define _RTEAREAEDITOR_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: AreaEditor.h
@@ -298,5 +297,3 @@ ClassInfoGetters;
298297
};
299298

300299
} // namespace RTE
301-
302-
#endif // File

Source/Activities/AssemblyEditor.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEASSEMBLYEDITOR_
2-
#define _RTEASSEMBLYEDITOR_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: AssemblyEditor.h
@@ -308,5 +307,3 @@ ClassInfoGetters;
308307
};
309308

310309
} // namespace RTE
311-
312-
#endif // File

Source/Activities/BaseEditor.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEBASEEDITOR_
2-
#define _RTEBASEEDITOR_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: BaseEditor.h
@@ -233,5 +232,3 @@ ClassInfoGetters;
233232
};
234233

235234
} // namespace RTE
236-
237-
#endif // File

Source/Activities/EditorActivity.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEEDITORACTIVITY_
2-
#define _RTEEDITORACTIVITY_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: EditorActivity.h
@@ -366,5 +365,3 @@ class EditorActivity : public Activity {
366365
};
367366

368367
} // namespace RTE
369-
370-
#endif // File

Source/Activities/GAScripted.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEGASCRIPTED_
2-
#define _RTEGASCRIPTED_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: GAScripted.h
@@ -324,5 +323,3 @@ ClassInfoGetters;
324323
};
325324

326325
} // namespace RTE
327-
328-
#endif // File

Source/Activities/GATutorial.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEGATUTORIAL_
2-
#define _RTEGATUTORIAL_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: GATutorial.h
@@ -339,5 +338,3 @@ ClassInfoGetters;
339338
};
340339

341340
} // namespace RTE
342-
343-
#endif // File

Source/Activities/GameActivity.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEGAMEACTIVITY_
2-
#define _RTEGAMEACTIVITY_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: GameActivity.h
@@ -1137,4 +1136,3 @@ class GameActivity : public Activity {
11371136

11381137
} // namespace RTE
11391138

1140-
#endif // File

Source/Activities/GibEditor.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef _RTEGIBEDITOR_
2-
#define _RTEGIBEDITOR_
1+
#pragma once
32

43
//////////////////////////////////////////////////////////////////////////////////////////
54
// File: GibEditor.h
@@ -319,5 +318,3 @@ ClassInfoGetters;
319318
};
320319

321320
} // namespace RTE
322-
323-
#endif // File

0 commit comments

Comments
 (0)