1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 22:57:12 +02:00

Use pragma once instead of macro guards.

This commit is contained in:
Sandu Liviu Catalin
2020-03-22 01:45:04 +02:00
parent 39d6af7687
commit 505a165d23
58 changed files with 59 additions and 235 deletions

View File

@ -1,5 +1,4 @@
#ifndef _BASE_ALGO_HPP_
#define _BASE_ALGO_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "Core.hpp"
@ -1645,5 +1644,3 @@ public:
} // Namespace:: Algo
} // Namespace:: SqMod
#endif // _BASE_ALGO_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _AREAS_HPP_
#define _AREAS_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "Base/Shared.hpp"
@ -712,5 +711,3 @@ public:
};
} // Namespace:: SqMod
#endif // _AREAS_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _COMMAND_HPP_
#define _COMMAND_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "Base/Shared.hpp"
@ -2039,5 +2038,3 @@ private:
} // Namespace:: Cmd
} // Namespace:: SqMod
#endif // _COMMAND_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _MISC_FUNCTIONS_HPP_
#define _MISC_FUNCTIONS_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "SqBase.hpp"
@ -490,7 +489,4 @@ SQFloat GetNetworkStatisticsF(Int32 option_id);
SQInteger GetNetworkStatisticsI(Int32 option_id);
#endif
} // Namespace:: SqMod
#endif // _MISC_FUNCTIONS_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _MISC_MODEL_HPP_
#define _MISC_MODEL_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "SqBase.hpp"
@ -28,5 +27,3 @@ bool IsModelWeapon(Int32 id);
bool IsModelActuallyWeapon(Int32 id);
} // Namespace:: SqMod
#endif // _MISC_MODEL_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _MISC_PLAYER_HPP_
#define _MISC_PLAYER_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "SqBase.hpp"
@ -28,5 +27,3 @@ Int32 GetSkinID(StackStrF & name);
bool IsSkinValid(Int32 id);
} // Namespace:: SqMod
#endif // _MISC_PLAYER_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _ROUTINE_HPP_
#define _ROUTINE_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "Base/Shared.hpp"
@ -640,5 +639,3 @@ public:
};
} // Namespace:: SqMod
#endif // _ROUTINE_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _SIGNAL_HPP_
#define _SIGNAL_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "Base/Shared.hpp"
@ -763,5 +762,3 @@ public:
};
} // Namespace:: SqMod
#endif // _SIGNAL_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _TASKS_HPP_
#define _TASKS_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "Base/Shared.hpp"
@ -523,5 +522,3 @@ public:
};
} // Namespace:: SqMod
#endif // _TASKS_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _MISC_VEHICLE_HPP_
#define _MISC_VEHICLE_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "SqBase.hpp"
@ -28,5 +27,3 @@ Int32 GetAutomobileID(StackStrF & name);
bool IsAutomobileValid(Int32 id);
} // Namespace:: SqMod
#endif // _MISC_VEHICLE_HPP_

View File

@ -1,5 +1,4 @@
#ifndef _MISC_WEAPON_HPP_
#define _MISC_WEAPON_HPP_
#pragma once
// ------------------------------------------------------------------------------------------------
#include "SqBase.hpp"
@ -58,5 +57,3 @@ Int32 WeaponToModel(Int32 id);
bool IsWeaponNatural(Int32 id);
} // Namespace:: SqMod
#endif // _MISC_WEAPON_HPP_