mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-11-09 19:58:48 +00:00
make include guards standards conforming
fix compile issues
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "eMissionTaskType.h"
|
||||
|
||||
#ifndef __ACHIEVEMENTCACHEKEY__H__
|
||||
#define __ACHIEVEMENTCACHEKEY__H__
|
||||
#ifndef ACHIEVEMENTCACHEKEY_H
|
||||
#define ACHIEVEMENTCACHEKEY_H
|
||||
|
||||
class AchievementCacheKey {
|
||||
public:
|
||||
@@ -42,4 +42,4 @@ namespace std {
|
||||
};
|
||||
};
|
||||
|
||||
#endif //!__ACHIEVEMENTCACHEKEY__H__
|
||||
#endif //!ACHIEVEMENTCACHEKEY_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __ACHIEVEMENTVENDORCOMPONENT__H__
|
||||
#define __ACHIEVEMENTVENDORCOMPONENT__H__
|
||||
#ifndef ACHIEVEMENTVENDORCOMPONENT_H
|
||||
#define ACHIEVEMENTVENDORCOMPONENT_H
|
||||
|
||||
#include "VendorComponent.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -22,4 +22,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif //!__ACHIEVEMENTVENDORCOMPONENT__H__
|
||||
#endif //!ACHIEVEMENTVENDORCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __COLLECTIBLECOMPONENT__H__
|
||||
#define __COLLECTIBLECOMPONENT__H__
|
||||
#ifndef COLLECTIBLECOMPONENT_H
|
||||
#define COLLECTIBLECOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -15,4 +15,4 @@ private:
|
||||
int16_t m_CollectibleId = 0;
|
||||
};
|
||||
|
||||
#endif //!__COLLECTIBLECOMPONENT__H__
|
||||
#endif //!COLLECTIBLECOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __DONATIONVENDORCOMPONENT__H__
|
||||
#define __DONATIONVENDORCOMPONENT__H__
|
||||
#ifndef DONATIONVENDORCOMPONENT_H
|
||||
#define DONATIONVENDORCOMPONENT_H
|
||||
|
||||
#include "VendorComponent.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -24,4 +24,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif //!__DONATIONVENDORCOMPONENT__H__
|
||||
#endif //!DONATIONVENDORCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __GHOSTCOMPONENT__H__
|
||||
#define __GHOSTCOMPONENT__H__
|
||||
#ifndef GHOSTCOMPONENT_H
|
||||
#define GHOSTCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -51,4 +51,4 @@ private:
|
||||
bool m_GhostOverride;
|
||||
};
|
||||
|
||||
#endif //!__GHOSTCOMPONENT__H__
|
||||
#endif //!GHOSTCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __ITEMCOMPONENT__H__
|
||||
#define __ITEMCOMPONENT__H__
|
||||
#ifndef ITEMCOMPONENT_H
|
||||
#define ITEMCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -13,4 +13,4 @@ public:
|
||||
void Serialize(RakNet::BitStream& bitStream, bool isConstruction) override;
|
||||
};
|
||||
|
||||
#endif //!__ITEMCOMPONENT__H__
|
||||
#endif //!ITEMCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __MINIGAMECONTROLCOMPONENT__H__
|
||||
#define __MINIGAMECONTROLCOMPONENT__H__
|
||||
#ifndef MINIGAMECONTROLCOMPONENT_H
|
||||
#define MINIGAMECONTROLCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -12,4 +12,4 @@ public:
|
||||
void Serialize(RakNet::BitStream& outBitStream, bool isConstruction);
|
||||
};
|
||||
|
||||
#endif //!__MINIGAMECONTROLCOMPONENT__H__
|
||||
#endif //!MINIGAMECONTROLCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __PHYSICSCOMPONENT__H__
|
||||
#define __PHYSICSCOMPONENT__H__
|
||||
#ifndef PHYSICSCOMPONENT_H
|
||||
#define PHYSICSCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "NiPoint3.h"
|
||||
@@ -39,4 +39,4 @@ protected:
|
||||
bool m_DirtyPosition;
|
||||
};
|
||||
|
||||
#endif //!__PHYSICSCOMPONENT__H__
|
||||
#endif //!PHYSICSCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __RACINGSOUNDTRIGGERCOMPONENT__H__
|
||||
#define __RACINGSOUNDTRIGGERCOMPONENT__H__
|
||||
#ifndef RACINGSOUNDTRIGGERCOMPONENT_H
|
||||
#define RACINGSOUNDTRIGGERCOMPONENT_H
|
||||
|
||||
#include "SoundTriggerComponent.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -12,4 +12,4 @@ public:
|
||||
RacingSoundTriggerComponent(Entity* parent) : SoundTriggerComponent(parent){};
|
||||
};
|
||||
|
||||
#endif //!__RACINGSOUNDTRIGGERCOMPONENT__H__
|
||||
#endif //!RACINGSOUNDTRIGGERCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __RACINGSTATSCOMPONENT__H__
|
||||
#define __RACINGSTATSCOMPONENT__H__
|
||||
#ifndef RACINGSTATSCOMPONENT_H
|
||||
#define RACINGSTATSCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -11,4 +11,4 @@ public:
|
||||
RacingStatsComponent(Entity* parent) : Component(parent) {}
|
||||
};
|
||||
|
||||
#endif //!__RACINGSTATSCOMPONENT__H__
|
||||
#endif //!RACINGSTATSCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __SCRIPTEDACTIVITYCOMPONENT__H__
|
||||
#define __SCRIPTEDACTIVITYCOMPONENT__H__
|
||||
#ifndef SCRIPTEDACTIVITYCOMPONENT_H
|
||||
#define SCRIPTEDACTIVITYCOMPONENT_H
|
||||
|
||||
#include "ActivityComponent.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
@@ -12,4 +12,4 @@ public:
|
||||
ScriptedActivityComponent(Entity* parent, int activityID) : ActivityComponent(parent, activityID){};
|
||||
};
|
||||
|
||||
#endif //!__SCRIPTEDACTIVITYCOMPONENT__H__
|
||||
#endif //!SCRIPTEDACTIVITYCOMPONENT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __TRIGGERCOMPONENT__H__
|
||||
#define __TRIGGERCOMPONENT__H__
|
||||
#ifndef TRIGGERCOMPONENT_H
|
||||
#define TRIGGERCOMPONENT_H
|
||||
|
||||
#include "Component.h"
|
||||
#include "LUTriggers.h"
|
||||
@@ -53,4 +53,4 @@ private:
|
||||
|
||||
LUTriggers::Trigger* m_Trigger;
|
||||
};
|
||||
#endif //!__TRIGGERCOMPONENT__H__
|
||||
#endif //!TRIGGERCOMPONENT_H
|
||||
|
||||
Reference in New Issue
Block a user