mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-09-09 20:52:07 +00:00
Add big_cock
This commit is contained in:
parent
95578c3602
commit
5a96a53b7d
@ -128,6 +128,7 @@ LOCAL_SRC_FILES := agrunt.cpp airtank.cpp \
|
|||||||
prop.cpp \
|
prop.cpp \
|
||||||
gravgun.cpp \
|
gravgun.cpp \
|
||||||
ar2.cpp \
|
ar2.cpp \
|
||||||
|
big_cock.cpp \
|
||||||
../pm_shared/pm_debug.c \
|
../pm_shared/pm_debug.c \
|
||||||
../pm_shared/pm_math.c \
|
../pm_shared/pm_math.c \
|
||||||
../pm_shared/pm_shared.c
|
../pm_shared/pm_shared.c
|
||||||
|
@ -13,6 +13,10 @@
|
|||||||
#include "nodes.h"
|
#include "nodes.h"
|
||||||
#include "player.h"
|
#include "player.h"
|
||||||
|
|
||||||
|
#define WEAPON_BIG_COCK 18
|
||||||
|
#define BIG_COCK_WEIGHT 21
|
||||||
|
|
||||||
|
|
||||||
enum glock_e {
|
enum glock_e {
|
||||||
GLOCK_IDLE1 = 0,
|
GLOCK_IDLE1 = 0,
|
||||||
GLOCK_IDLE2,
|
GLOCK_IDLE2,
|
@ -353,6 +353,8 @@ void W_Precache( void )
|
|||||||
#endif
|
#endif
|
||||||
UTIL_PrecacheOtherWeapon( "weapon_gravgun" );
|
UTIL_PrecacheOtherWeapon( "weapon_gravgun" );
|
||||||
UTIL_PrecacheOtherWeapon( "weapon_ar2" );
|
UTIL_PrecacheOtherWeapon( "weapon_ar2" );
|
||||||
|
UTIL_PrecacheOtherWeapon( "weapon_big_cock" );
|
||||||
|
|
||||||
|
|
||||||
#if !defined( OEM_BUILD ) && !defined( HLDEMO_BUILD )
|
#if !defined( OEM_BUILD ) && !defined( HLDEMO_BUILD )
|
||||||
if ( g_pGameRules->IsDeathmatch() )
|
if ( g_pGameRules->IsDeathmatch() )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user