nuclide/Source/server/defs.h
Marco Hladik 5055d92c5b Merging the Xylemon's changes to Scientist Hunt that got sent via a patch. Thanks Xylemon!
Also changed the way game-init works. Still gotta rename the Game_Worldspawn to reflect what it actually does now.
TODO: Add a Game_InitEnts alongside Game_Init?
2019-03-06 14:11:23 +01:00

37 lines
1.1 KiB
C

/***
*
* Copyright (c) 2016-2019 Marco 'eukara' Hladik. All rights reserved.
*
* See the file LICENSE attached with the sources for usage details.
*
****/
#define CLASSEXPORT(classname,classa) void classname ( void ) { spawnfunc_##classa(); }
var int autocvar_mp_flashlight = TRUE;
void Effect_Impact( int iType, vector vPos, vector vNormal );
void Effect_CreateExplosion( vector vPos );
void Footsteps_Update( void );
void TraceAttack_FireBullets( int iShots, vector vPos, int iDamage, vector vecAccuracy);
void Damage_Radius( vector vOrigin, entity eAttacker, float fDamage, float fRadius, int iCheckClip );
void Damage_Apply( entity eTarget, entity eAttacker, float fDamage, vector vHitPos, int iSkipArmor );
void Client_TriggerCamera( entity eTarget, vector vPos, vector vEndPos, float fResetTime );
void Game_Input(void);
entity eActivator;
// Generic entity fields
.void() PlayerUse;
.int iBleeds;
.void(int iHitBody) vPain;
.void(int iHitBody) vDeath;
.entity eUser;
.float material;
.float armor;
.float fStepTime;
string startspot;
string __fullspawndata;
hashtable hashMaterials;