diff --git a/source/exhumed/src/aistuff.h b/source/exhumed/src/aistuff.h index f9c4c74e3..bb7c09b9c 100644 --- a/source/exhumed/src/aistuff.h +++ b/source/exhumed/src/aistuff.h @@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __aistuff_h__ -#define __aistuff_h__ +#pragma once #include "compat.h" @@ -522,4 +521,3 @@ inline int GrabTimeSlot(int nVal) { return -1; } END_PS_NS -#endif diff --git a/source/exhumed/src/engine.h b/source/exhumed/src/engine.h index 3f5909851..90b44e929 100644 --- a/source/exhumed/src/engine.h +++ b/source/exhumed/src/engine.h @@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __engine_h__ -#define __engine_h__ +#pragma once #include "compat.h" #include "build.h" @@ -148,4 +147,3 @@ inline int Cos(int angle) END_PS_NS -#endif diff --git a/source/exhumed/src/exhumed.h b/source/exhumed/src/exhumed.h index 92f2bbf92..e552e6e63 100644 --- a/source/exhumed/src/exhumed.h +++ b/source/exhumed/src/exhumed.h @@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __exhumed_h__ -#define __exhumed_h__ +#pragma once #include "compat.h" #include "v_text.h" @@ -268,4 +267,3 @@ struct GameInterface : ::GameInterface END_PS_NS -#endif diff --git a/source/exhumed/src/names.h b/source/exhumed/src/names.h index bd0d6bb5d..52a49a2a2 100644 --- a/source/exhumed/src/names.h +++ b/source/exhumed/src/names.h @@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __names_h__ -#define __names_h__ +#pragma once #define kTile0 0 #define kTile1 1 @@ -6146,4 +6145,3 @@ enum END_PS_NS -#endif \ No newline at end of file diff --git a/source/exhumed/src/player.h b/source/exhumed/src/player.h index 40293001a..924dadb90 100644 --- a/source/exhumed/src/player.h +++ b/source/exhumed/src/player.h @@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __player_h__ -#define __player_h__ +#pragma once #include "compat.h" @@ -130,4 +129,3 @@ void UpdatePlayerSpriteAngle(Player* pPlayer); END_PS_NS -#endif diff --git a/source/exhumed/src/ps_input.h b/source/exhumed/src/ps_input.h index 9ecc7f9f8..0c7b4953a 100644 --- a/source/exhumed/src/ps_input.h +++ b/source/exhumed/src/ps_input.h @@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __input_h__ -#define __input_h__ +#pragma once #include "compat.h" #include "packet.h" @@ -67,4 +66,3 @@ extern int lLocalCodes; END_PS_NS -#endif diff --git a/source/exhumed/src/sequence.h b/source/exhumed/src/sequence.h index 46760529b..02fce2151 100644 --- a/source/exhumed/src/sequence.h +++ b/source/exhumed/src/sequence.h @@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __sequence_h__ -#define __sequence_h__ +#pragma once #include "compat.h" @@ -147,4 +146,3 @@ void seq_DrawPilotLightSeq(double xOffset, double yOffset); END_PS_NS -#endif diff --git a/source/exhumed/src/sound.h b/source/exhumed/src/sound.h index 5904594de..6920c88db 100644 --- a/source/exhumed/src/sound.h +++ b/source/exhumed/src/sound.h @@ -16,9 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __sound_h__ -#define __sound_h__ - +#pragma once #include "raze_sound.h" BEGIN_PS_NS @@ -149,5 +147,3 @@ void PlayGameOverSound(void); void SoundBigEntrance(void); END_PS_NS - -#endif diff --git a/source/exhumed/src/status.h b/source/exhumed/src/status.h index 3f5c92c3f..8536652dd 100644 --- a/source/exhumed/src/status.h +++ b/source/exhumed/src/status.h @@ -16,8 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __status_h__ -#define __status_h__ +#pragma once BEGIN_PS_NS @@ -41,4 +40,3 @@ void SetCounterImmediate(short nVal); END_PS_NS -#endif diff --git a/source/exhumed/src/view.h b/source/exhumed/src/view.h index 5cfef45a5..1acc748c3 100644 --- a/source/exhumed/src/view.h +++ b/source/exhumed/src/view.h @@ -16,9 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ //------------------------------------------------------------------------- -#ifndef __view_h__ -#define __view_h__ - +#pragma once #include "build.h" BEGIN_PS_NS @@ -55,4 +53,3 @@ static inline int angle_interpolate16(int a, int b, int smooth) END_PS_NS -#endif