From e01fbfcc648dae2d0f16ae1acce8bd8b4f776799 Mon Sep 17 00:00:00 2001 From: jadebenn Date: Fri, 15 Dec 2023 12:57:13 -0600 Subject: [PATCH] restored header guards --- dCommon/dEnums/eHelpType.h | 5 ++++- dCommon/dEnums/ePetAbilityType.h | 7 ++++--- dGame/dComponents/BaseCombatAIComponent.h | 5 ++++- dGame/dGameMessages/GameMessages.h | 5 ++++- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/dCommon/dEnums/eHelpType.h b/dCommon/dEnums/eHelpType.h index 94f584e6..c2fa70cd 100644 --- a/dCommon/dEnums/eHelpType.h +++ b/dCommon/dEnums/eHelpType.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef __EHELPTYPE__H__ +#define __EHELPTYPE__H__ #include @@ -35,3 +36,5 @@ enum class eHelpType : int32_t { PET_DESPAWN_TAMING_NEW_PET = 70, UI_INVENTORY_FULL_CANNOT_PICKUP_ITEM = 86 }; + +#endif //!__EHELPTYPE__H__ diff --git a/dCommon/dEnums/ePetAbilityType.h b/dCommon/dEnums/ePetAbilityType.h index 70cf75c6..3b2e5520 100644 --- a/dCommon/dEnums/ePetAbilityType.h +++ b/dCommon/dEnums/ePetAbilityType.h @@ -1,6 +1,5 @@ -#pragma once - -#include +#ifndef __EPETABILITYTYPE__H__ +#define __EPETABILITYTYPE__H__ enum class ePetAbilityType : int32_t { Invalid, @@ -8,3 +7,5 @@ enum class ePetAbilityType : int32_t { JumpOnObject, DigAtPosition }; + +#endif //!__EPETABILITYTYPE__H__ diff --git a/dGame/dComponents/BaseCombatAIComponent.h b/dGame/dComponents/BaseCombatAIComponent.h index f85fa70f..a08b008e 100644 --- a/dGame/dComponents/BaseCombatAIComponent.h +++ b/dGame/dComponents/BaseCombatAIComponent.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef BASECOMBATAICOMPONENT_H +#define BASECOMBATAICOMPONENT_H #include "RakNetTypes.h" #include "dCommonVars.h" @@ -387,3 +388,5 @@ private: */ bool IsMech(); }; + +#endif // BASECOMBATAICOMPONENT_H diff --git a/dGame/dGameMessages/GameMessages.h b/dGame/dGameMessages/GameMessages.h index f1791904..6099f204 100644 --- a/dGame/dGameMessages/GameMessages.h +++ b/dGame/dGameMessages/GameMessages.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef GAMEMESSAGES_H +#define GAMEMESSAGES_H #include "dCommonVars.h" #include @@ -661,3 +662,5 @@ namespace GameMessages { void HandleConfirmDonationOnPlayer(RakNet::BitStream* inStream, Entity* entity); void HandleCancelDonationOnPlayer(RakNet::BitStream* inStream, Entity* entity); }; + +#endif // GAMEMESSAGES_H