Browse Source

Add gibs, some tweaks

foolsday
mittorn 9 years ago
parent
commit
525a6580b1
  1. 2
      dlls/Android.mk
  2. 1
      dlls/func_break.h
  3. 6
      dlls/monsters.h

2
dlls/Android.mk

@ -14,7 +14,7 @@ LOCAL_MODULE_FILENAME = libserver_hardfp @@ -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

1
dlls/func_break.h

@ -71,6 +71,7 @@ public: @@ -71,6 +71,7 @@ public:
int m_iszSpawnObject;
virtual float TouchGravGun( CBaseEntity *attacker, int stage )
{
pev->framerate = 1;
return 200;
}
};

6
dlls/monsters.h

@ -155,6 +155,12 @@ public: @@ -155,6 +155,12 @@ public:
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;
int m_material;

Loading…
Cancel
Save