Browse Source

Add big_cock

hlzbot-dirty
mittorn 8 years ago
parent
commit
5a96a53b7d
  1. 1
      dlls/Android.mk
  2. 4
      dlls/big_cock.cpp
  3. 2
      dlls/weapons.cpp

1
dlls/Android.mk

@ -128,6 +128,7 @@ LOCAL_SRC_FILES := agrunt.cpp airtank.cpp \ @@ -128,6 +128,7 @@ LOCAL_SRC_FILES := agrunt.cpp airtank.cpp \
prop.cpp \
gravgun.cpp \
ar2.cpp \
big_cock.cpp \
../pm_shared/pm_debug.c \
../pm_shared/pm_math.c \
../pm_shared/pm_shared.c

4
dlls/big_cock → dlls/big_cock.cpp

@ -13,6 +13,10 @@ @@ -13,6 +13,10 @@
#include "nodes.h"
#include "player.h"
#define WEAPON_BIG_COCK 18
#define BIG_COCK_WEIGHT 21
enum glock_e {
GLOCK_IDLE1 = 0,
GLOCK_IDLE2,

2
dlls/weapons.cpp

@ -353,6 +353,8 @@ void W_Precache( void ) @@ -353,6 +353,8 @@ void W_Precache( void )
#endif
UTIL_PrecacheOtherWeapon( "weapon_gravgun" );
UTIL_PrecacheOtherWeapon( "weapon_ar2" );
UTIL_PrecacheOtherWeapon( "weapon_big_cock" );
#if !defined( OEM_BUILD ) && !defined( HLDEMO_BUILD )
if ( g_pGameRules->IsDeathmatch() )

Loading…
Cancel
Save