mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-30 16:44:29 +00:00
Add gibs, some tweaks
This commit is contained in:
parent
d548085f7c
commit
525a6580b1
@ -14,7 +14,7 @@ LOCAL_MODULE_FILENAME = libserver_hardfp
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS += -D_LINUX -DCLIENT_WEAPONS -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf \
|
||||
-fno-exceptions -w -fpermissive
|
||||
-fno-exceptions -Wextra -Wno-write-strings -fpermissive
|
||||
|
||||
LOCAL_CPPFLAGS := $(LOCAL_CFLAGS) -frtti -fpermissive
|
||||
|
||||
|
@ -71,6 +71,7 @@ public:
|
||||
int m_iszSpawnObject;
|
||||
virtual float TouchGravGun( CBaseEntity *attacker, int stage )
|
||||
{
|
||||
pev->framerate = 1;
|
||||
return 200;
|
||||
}
|
||||
};
|
||||
|
@ -154,6 +154,12 @@ public:
|
||||
static void SpawnHeadGib( entvars_t *pevVictim );
|
||||
static void SpawnRandomGibs( entvars_t *pevVictim, int cGibs, int human );
|
||||
static void SpawnStickyGibs( entvars_t *pevVictim, Vector vecOrigin, int cGibs );
|
||||
|
||||
virtual float TouchGravGun( CBaseEntity *attacker, int stage )
|
||||
{
|
||||
pev->framerate = 1;
|
||||
return 200;
|
||||
}
|
||||
|
||||
int m_bloodColor;
|
||||
int m_cBloodDecals;
|
||||
|
Loading…
x
Reference in New Issue
Block a user