mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +00:00
Remove extra commas and semicolons.
This commit is contained in:
parent
34ec37cc9e
commit
fad7aa53d7
@ -26,7 +26,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
DECLARE_MESSAGE( m_MOTD, MOTD );
|
DECLARE_MESSAGE( m_MOTD, MOTD )
|
||||||
|
|
||||||
int CHudMOTD :: Init( void )
|
int CHudMOTD :: Init( void )
|
||||||
{
|
{
|
||||||
|
@ -44,7 +44,7 @@ static float flScrollTime = 0; // the time at which the lines next scroll up
|
|||||||
static int Y_START = 0;
|
static int Y_START = 0;
|
||||||
static int line_height = 0;
|
static int line_height = 0;
|
||||||
|
|
||||||
DECLARE_MESSAGE( m_SayText, SayText );
|
DECLARE_MESSAGE( m_SayText, SayText )
|
||||||
|
|
||||||
int CHudSayText :: Init( void )
|
int CHudSayText :: Init( void )
|
||||||
{
|
{
|
||||||
|
@ -38,12 +38,12 @@ int g_iPlayerClass;
|
|||||||
|
|
||||||
//#include "vgui_TeamFortressViewport.h"
|
//#include "vgui_TeamFortressViewport.h"
|
||||||
|
|
||||||
DECLARE_COMMAND( m_Scoreboard, ShowScores );
|
DECLARE_COMMAND( m_Scoreboard, ShowScores )
|
||||||
DECLARE_COMMAND( m_Scoreboard, HideScores );
|
DECLARE_COMMAND( m_Scoreboard, HideScores )
|
||||||
|
|
||||||
DECLARE_MESSAGE( m_Scoreboard, ScoreInfo );
|
DECLARE_MESSAGE( m_Scoreboard, ScoreInfo )
|
||||||
DECLARE_MESSAGE( m_Scoreboard, TeamInfo );
|
DECLARE_MESSAGE( m_Scoreboard, TeamInfo )
|
||||||
DECLARE_MESSAGE( m_Scoreboard, TeamScore );
|
DECLARE_MESSAGE( m_Scoreboard, TeamScore )
|
||||||
|
|
||||||
int CHudScoreboard :: Init( void )
|
int CHudScoreboard :: Init( void )
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "parsemsg.h"
|
#include "parsemsg.h"
|
||||||
#include "event_api.h"
|
#include "event_api.h"
|
||||||
|
|
||||||
DECLARE_MESSAGE( m_StatusIcons, StatusIcon );
|
DECLARE_MESSAGE( m_StatusIcons, StatusIcon )
|
||||||
|
|
||||||
int CHudStatusIcons::Init( void )
|
int CHudStatusIcons::Init( void )
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
DECLARE_MESSAGE( m_StatusBar, StatusText );
|
DECLARE_MESSAGE( m_StatusBar, StatusText )
|
||||||
DECLARE_MESSAGE( m_StatusBar, StatusValue );
|
DECLARE_MESSAGE( m_StatusBar, StatusValue )
|
||||||
|
|
||||||
#define STATUSBAR_ID_LINE 1
|
#define STATUSBAR_ID_LINE 1
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "parsemsg.h"
|
#include "parsemsg.h"
|
||||||
|
|
||||||
|
|
||||||
DECLARE_MESSAGE( m_TextMessage, TextMsg );
|
DECLARE_MESSAGE( m_TextMessage, TextMsg )
|
||||||
|
|
||||||
int CHudTextMessage::Init(void)
|
int CHudTextMessage::Init(void)
|
||||||
{
|
{
|
||||||
@ -38,7 +38,7 @@ int CHudTextMessage::Init(void)
|
|||||||
Reset();
|
Reset();
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
// Searches through the string for any msg names (indicated by a '#')
|
// Searches through the string for any msg names (indicated by a '#')
|
||||||
// any found are looked up in titles.txt and the new message substituted
|
// any found are looked up in titles.txt and the new message substituted
|
||||||
|
@ -36,14 +36,14 @@ int CHudTrain::Init(void)
|
|||||||
gHUD.AddHudElem(this);
|
gHUD.AddHudElem(this);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
int CHudTrain::VidInit(void)
|
int CHudTrain::VidInit(void)
|
||||||
{
|
{
|
||||||
m_hSprite = 0;
|
m_hSprite = 0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
int CHudTrain::Draw(float fTime)
|
int CHudTrain::Draw(float fTime)
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ extern "C"
|
|||||||
{
|
{
|
||||||
void DLLEXPORT HUD_DrawNormalTriangles( void );
|
void DLLEXPORT HUD_DrawNormalTriangles( void );
|
||||||
void DLLEXPORT HUD_DrawTransparentTriangles( void );
|
void DLLEXPORT HUD_DrawTransparentTriangles( void );
|
||||||
};
|
}
|
||||||
|
|
||||||
//#define TEST_IT
|
//#define TEST_IT
|
||||||
#if defined( TEST_IT )
|
#if defined( TEST_IT )
|
||||||
|
@ -119,7 +119,7 @@ enum
|
|||||||
AMBIENT_SKY, // wind
|
AMBIENT_SKY, // wind
|
||||||
AMBIENT_SLIME, // never used in quake
|
AMBIENT_SLIME, // never used in quake
|
||||||
AMBIENT_LAVA, // never used in quake
|
AMBIENT_LAVA, // never used in quake
|
||||||
NUM_AMBIENTS, // automatic ambient sounds
|
NUM_AMBIENTS // automatic ambient sounds
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -243,4 +243,4 @@ typedef struct
|
|||||||
int lightofs; // start of [numstyles*surfsize] samples
|
int lightofs; // start of [numstyles*surfsize] samples
|
||||||
} dface_t;
|
} dface_t;
|
||||||
|
|
||||||
#endif//BSPFILE_H
|
#endif//BSPFILE_H
|
||||||
|
@ -216,7 +216,7 @@ public:
|
|||||||
int Save( CSave &save );
|
int Save( CSave &save );
|
||||||
int Restore( CRestore &restore );
|
int Restore( CRestore &restore );
|
||||||
|
|
||||||
CUSTOM_SCHEDULES;
|
CUSTOM_SCHEDULES
|
||||||
static TYPEDESCRIPTION m_SaveData[];
|
static TYPEDESCRIPTION m_SaveData[];
|
||||||
|
|
||||||
BOOL m_fCanThreatDisplay;// this is so the squid only does the "I see a headcrab!" dance one time.
|
BOOL m_fCanThreatDisplay;// this is so the squid only does the "I see a headcrab!" dance one time.
|
||||||
|
@ -59,7 +59,7 @@ public:
|
|||||||
Schedule_t* GetScheduleOfType ( int Type );
|
Schedule_t* GetScheduleOfType ( int Type );
|
||||||
void StartTask ( Task_t *pTask );
|
void StartTask ( Task_t *pTask );
|
||||||
void RunTask ( Task_t *pTask );
|
void RunTask ( Task_t *pTask );
|
||||||
CUSTOM_SCHEDULES;
|
CUSTOM_SCHEDULES
|
||||||
|
|
||||||
void Stop( void );
|
void Stop( void );
|
||||||
void Move ( float flInterval );
|
void Move ( float flInterval );
|
||||||
|
@ -46,7 +46,8 @@ class CCrossbowBolt : public CBaseEntity
|
|||||||
public:
|
public:
|
||||||
static CCrossbowBolt *BoltCreate( void );
|
static CCrossbowBolt *BoltCreate( void );
|
||||||
};
|
};
|
||||||
LINK_ENTITY_TO_CLASS( crossbow_bolt, CCrossbowBolt );
|
|
||||||
|
LINK_ENTITY_TO_CLASS( crossbow_bolt, CCrossbowBolt )
|
||||||
|
|
||||||
CCrossbowBolt *CCrossbowBolt::BoltCreate( void )
|
CCrossbowBolt *CCrossbowBolt::BoltCreate( void )
|
||||||
{
|
{
|
||||||
@ -557,7 +558,8 @@ class CCrossbowAmmo : public CBasePlayerAmmo
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
LINK_ENTITY_TO_CLASS( ammo_crossbow, CCrossbowAmmo );
|
|
||||||
|
LINK_ENTITY_TO_CLASS( ammo_crossbow, CCrossbowAmmo )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -903,7 +903,7 @@ public:
|
|||||||
void Fire( const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker );
|
void Fire( const Vector &barrelEnd, const Vector &forward, entvars_t *pevAttacker );
|
||||||
};
|
};
|
||||||
|
|
||||||
LINK_ENTITY_TO_CLASS( func_tankmortar, CFuncTankMortar );
|
LINK_ENTITY_TO_CLASS( func_tankmortar, CFuncTankMortar )
|
||||||
|
|
||||||
void CFuncTankMortar::KeyValue( KeyValueData *pkvd )
|
void CFuncTankMortar::KeyValue( KeyValueData *pkvd )
|
||||||
{
|
{
|
||||||
|
@ -242,7 +242,7 @@ public:
|
|||||||
virtual int Restore( CRestore &restore );
|
virtual int Restore( CRestore &restore );
|
||||||
static TYPEDESCRIPTION m_SaveData[];
|
static TYPEDESCRIPTION m_SaveData[];
|
||||||
|
|
||||||
CUSTOM_SCHEDULES;
|
CUSTOM_SCHEDULES
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const char *pAttackHitSounds[];
|
static const char *pAttackHitSounds[];
|
||||||
|
@ -80,7 +80,7 @@ public:
|
|||||||
void RunTask ( Task_t *pTask );
|
void RunTask ( Task_t *pTask );
|
||||||
void DeathSound ( void );
|
void DeathSound ( void );
|
||||||
void IdleSound ( void );
|
void IdleSound ( void );
|
||||||
CUSTOM_SCHEDULES;
|
CUSTOM_SCHEDULES
|
||||||
|
|
||||||
int Save( CSave &save );
|
int Save( CSave &save );
|
||||||
int Restore( CRestore &restore );
|
int Restore( CRestore &restore );
|
||||||
|
@ -57,7 +57,7 @@ public:
|
|||||||
int m_iMode;
|
int m_iMode;
|
||||||
// -----------------------------
|
// -----------------------------
|
||||||
};
|
};
|
||||||
LINK_ENTITY_TO_CLASS( monster_cockroach, CRoach );
|
LINK_ENTITY_TO_CLASS( monster_cockroach, CRoach )
|
||||||
|
|
||||||
//=========================================================
|
//=========================================================
|
||||||
// ISoundMask - returns a bit mask indicating which types
|
// ISoundMask - returns a bit mask indicating which types
|
||||||
|
@ -71,7 +71,7 @@ void CLaserSpot::Spawn( void )
|
|||||||
|
|
||||||
SET_MODEL(ENT(pev), "sprites/laserdot.spr");
|
SET_MODEL(ENT(pev), "sprites/laserdot.spr");
|
||||||
UTIL_SetOrigin( pev, pev->origin );
|
UTIL_SetOrigin( pev, pev->origin );
|
||||||
};
|
}
|
||||||
|
|
||||||
//=========================================================
|
//=========================================================
|
||||||
// Suspend- make the laser sight invisible.
|
// Suspend- make the laser sight invisible.
|
||||||
@ -97,7 +97,7 @@ void CLaserSpot::Revive( void )
|
|||||||
void CLaserSpot::Precache( void )
|
void CLaserSpot::Precache( void )
|
||||||
{
|
{
|
||||||
PRECACHE_MODEL("sprites/laserdot.spr");
|
PRECACHE_MODEL("sprites/laserdot.spr");
|
||||||
};
|
}
|
||||||
|
|
||||||
LINK_ENTITY_TO_CLASS( rpg_rocket, CRpgRocket )
|
LINK_ENTITY_TO_CLASS( rpg_rocket, CRpgRocket )
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user