- Exhumed: replace include guards with #pragma once.

This commit is contained in:
Christoph Oelckers 2020-10-11 12:41:38 +02:00
parent 6acc9db540
commit 5bb02f7bb0
10 changed files with 10 additions and 33 deletions

View file

@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __aistuff_h__ #pragma once
#define __aistuff_h__
#include "compat.h" #include "compat.h"
@ -522,4 +521,3 @@ inline int GrabTimeSlot(int nVal) { return -1; }
END_PS_NS END_PS_NS
#endif

View file

@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __engine_h__ #pragma once
#define __engine_h__
#include "compat.h" #include "compat.h"
#include "build.h" #include "build.h"
@ -148,4 +147,3 @@ inline int Cos(int angle)
END_PS_NS END_PS_NS
#endif

View file

@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __exhumed_h__ #pragma once
#define __exhumed_h__
#include "compat.h" #include "compat.h"
#include "v_text.h" #include "v_text.h"
@ -268,4 +267,3 @@ struct GameInterface : ::GameInterface
END_PS_NS END_PS_NS
#endif

View file

@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __names_h__ #pragma once
#define __names_h__
#define kTile0 0 #define kTile0 0
#define kTile1 1 #define kTile1 1
@ -6146,4 +6145,3 @@ enum
END_PS_NS END_PS_NS
#endif

View file

@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __player_h__ #pragma once
#define __player_h__
#include "compat.h" #include "compat.h"
@ -130,4 +129,3 @@ void UpdatePlayerSpriteAngle(Player* pPlayer);
END_PS_NS END_PS_NS
#endif

View file

@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __input_h__ #pragma once
#define __input_h__
#include "compat.h" #include "compat.h"
#include "packet.h" #include "packet.h"
@ -67,4 +66,3 @@ extern int lLocalCodes;
END_PS_NS END_PS_NS
#endif

View file

@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __sequence_h__ #pragma once
#define __sequence_h__
#include "compat.h" #include "compat.h"
@ -147,4 +146,3 @@ void seq_DrawPilotLightSeq(double xOffset, double yOffset);
END_PS_NS END_PS_NS
#endif

View file

@ -16,9 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __sound_h__ #pragma once
#define __sound_h__
#include "raze_sound.h" #include "raze_sound.h"
BEGIN_PS_NS BEGIN_PS_NS
@ -149,5 +147,3 @@ void PlayGameOverSound(void);
void SoundBigEntrance(void); void SoundBigEntrance(void);
END_PS_NS END_PS_NS
#endif

View file

@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __status_h__ #pragma once
#define __status_h__
BEGIN_PS_NS BEGIN_PS_NS
@ -41,4 +40,3 @@ void SetCounterImmediate(short nVal);
END_PS_NS END_PS_NS
#endif

View file

@ -16,9 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifndef __view_h__ #pragma once
#define __view_h__
#include "build.h" #include "build.h"
BEGIN_PS_NS BEGIN_PS_NS
@ -55,4 +53,3 @@ static inline int angle_interpolate16(int a, int b, int smooth)
END_PS_NS END_PS_NS
#endif