- Switched to custom pmove code (early, WIP) instead of the engine one, again - Made nightvision compatible with splitscreen modes - Player animation fixes - Prediction fixes - Fixed radius damage, so grenades and bombs should apply proper damage now - Added func_wall_toggle - Small entity fixes
39 lines
669 B
C++
39 lines
669 B
C++
/***
|
|
*
|
|
* Copyright (c) 2016-2019 Marco 'eukara' Hladik. All rights reserved.
|
|
*
|
|
* See the file LICENSE attached with the sources for usage details.
|
|
*
|
|
****/
|
|
|
|
enumflags
|
|
{
|
|
MF_WAITTILSEEN,
|
|
MF_GAG,
|
|
MF_MONSTERCLIP,
|
|
MF_PRISONER,
|
|
MF_UNUSED,
|
|
MF_WAITFORSCRIPT,
|
|
MF_PREDISASTER,
|
|
MF_FADECORPSE
|
|
};
|
|
|
|
class monster_furniture : CBaseEntity
|
|
{
|
|
void() monster_furniture;
|
|
//virtual void() Respawn;
|
|
};
|
|
|
|
void monster_furniture :: monster_furniture ( void )
|
|
{
|
|
precache_model( model );
|
|
setmodel( this, model );
|
|
CBaseEntity::CBaseEntity();
|
|
|
|
#if 1
|
|
self.movetype = MOVETYPE_NOCLIP;
|
|
self.solid = SOLID_NOT;
|
|
//self.avelocity = '0 90 0 ';
|
|
//self.modelflags = MF_ROTATE;
|
|
#endif
|
|
}
|