mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Add missing #include guards.
This commit is contained in:
parent
83c0505ffe
commit
41c9b072e5
@ -15,6 +15,8 @@
|
||||
//
|
||||
// ammohistory.h
|
||||
//
|
||||
#ifndef AMMOHISTORY_H
|
||||
#define AMMOHISTORY_H
|
||||
|
||||
// this is the max number of items in each bucket
|
||||
#define MAX_WEAPON_POSITIONS MAX_WEAPON_SLOTS
|
||||
@ -137,3 +139,4 @@ public:
|
||||
};
|
||||
|
||||
extern HistoryResource gHR;
|
||||
#endif // AMMOHISTORY_H
|
||||
|
@ -12,6 +12,8 @@
|
||||
* without written permission from Valve LLC.
|
||||
*
|
||||
****/
|
||||
#ifndef HEALTH_H
|
||||
#define HEALTH_H
|
||||
|
||||
#define DMG_IMAGE_LIFE 2 // seconds that image is up
|
||||
|
||||
@ -122,3 +124,4 @@ private:
|
||||
void CalcDamageDirection( vec3_t vecFrom );
|
||||
void UpdateTiles( float fTime, long bits );
|
||||
};
|
||||
#endif // HEALTH_H
|
||||
|
@ -5,8 +5,8 @@
|
||||
// $NoKeywords: $
|
||||
//=============================================================================
|
||||
|
||||
#ifndef SPECTATOR_H
|
||||
#define SPECTATOR_H
|
||||
#ifndef HUD_SPECTATOR_H
|
||||
#define HUD_SPECTATOR_H
|
||||
#pragma once
|
||||
|
||||
#include "cl_entity.h"
|
||||
|
@ -15,6 +15,8 @@
|
||||
//
|
||||
// parsemsg.h
|
||||
//
|
||||
#ifndef PARSEMSG_H
|
||||
#define PARSEMSG_H
|
||||
|
||||
#define ASSERT( x )
|
||||
|
||||
@ -30,6 +32,7 @@ float READ_COORD( void );
|
||||
float READ_ANGLE( void );
|
||||
float READ_HIRESANGLE( void );
|
||||
|
||||
#endif // PARSEMSG_H
|
||||
|
||||
|
||||
|
||||
|
@ -15,7 +15,8 @@
|
||||
//=========================================================
|
||||
// GameRules
|
||||
//=========================================================
|
||||
|
||||
#ifndef GAMERULES_H
|
||||
#define GAMERULES_H
|
||||
//#include "weapons.h"
|
||||
//#include "items.h"
|
||||
class CBasePlayerItem;
|
||||
@ -361,3 +362,4 @@ protected:
|
||||
};
|
||||
|
||||
extern DLL_GLOBAL CGameRules *g_pGameRules;
|
||||
#endif // GAMERULES_H
|
||||
|
@ -12,12 +12,12 @@
|
||||
* without written permission from Valve LLC.
|
||||
*
|
||||
****/
|
||||
#ifndef PLANE_H
|
||||
#define PLANE_H
|
||||
|
||||
//=========================================================
|
||||
// Plane
|
||||
//=========================================================
|
||||
#ifndef PLANE_H
|
||||
#define PLANE_H
|
||||
|
||||
class CPlane
|
||||
{
|
||||
public:
|
||||
|
@ -15,6 +15,8 @@
|
||||
//=========================================================
|
||||
// skill.h - skill level concerns
|
||||
//=========================================================
|
||||
#ifndef SKILL_H
|
||||
#define SKILL_H
|
||||
|
||||
struct skilldata_t
|
||||
{
|
||||
@ -143,3 +145,4 @@ extern DLL_GLOBAL int g_iSkillLevel;
|
||||
#define SKILL_EASY 1
|
||||
#define SKILL_MEDIUM 2
|
||||
#define SKILL_HARD 3
|
||||
#endif // SKILL_H
|
||||
|
@ -13,6 +13,8 @@
|
||||
*
|
||||
****/
|
||||
// Spectator.h
|
||||
#ifndef SPECTATOR_H
|
||||
#define SPECTATOR_H
|
||||
|
||||
class CBaseSpectator : public CBaseEntity
|
||||
{
|
||||
@ -25,3 +27,4 @@ public:
|
||||
private:
|
||||
void SpectatorImpulseCommand( void );
|
||||
};
|
||||
#endif // SPECTATOR_H
|
||||
|
@ -4,10 +4,11 @@
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================
|
||||
|
||||
//=========================================================
|
||||
// squad.h
|
||||
//=========================================================
|
||||
#ifndef SQUAD_H
|
||||
#define SQUAD_H
|
||||
|
||||
// these are special group roles that are assigned to members when the group is formed.
|
||||
// the reason these are explicitly assigned and tasks like throwing grenades to flush out
|
||||
@ -19,3 +20,4 @@
|
||||
#define bits_SQUAD_FLANK_RIGHT ( 1 << 1 )
|
||||
#define bits_SQUAD_ADVANCE ( 1 << 2 )
|
||||
#define bits_SQUAD_FLUSH_ATTACK ( 1 << 3 )
|
||||
#endif // SQUAD_H
|
||||
|
@ -16,6 +16,8 @@
|
||||
// CSquadMonster - all the extra data for monsters that
|
||||
// form squads.
|
||||
//=========================================================
|
||||
#ifndef SQUADMONSTER_H
|
||||
#define SQUADMONSTER_H
|
||||
|
||||
#define SF_SQUADMONSTER_LEADER 32
|
||||
|
||||
@ -116,3 +118,4 @@ public:
|
||||
MONSTERSTATE GetIdealState( void );
|
||||
Schedule_t *GetScheduleOfType( int iType );
|
||||
};
|
||||
#endif // SQUADMONSTER_H
|
||||
|
@ -12,6 +12,8 @@
|
||||
* without written permission from Valve LLC.
|
||||
*
|
||||
****/
|
||||
#ifndef UTIL_H
|
||||
#define UTIL_H
|
||||
//
|
||||
// Misc utility code
|
||||
//
|
||||
@ -575,3 +577,4 @@ int UTIL_SharedRandomLong( unsigned int seed, int low, int high );
|
||||
float UTIL_SharedRandomFloat( unsigned int seed, float low, float high );
|
||||
|
||||
float UTIL_WeaponTimeBase( void );
|
||||
#endif // UTIL_H
|
||||
|
Loading…
Reference in New Issue
Block a user