mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 13:31:33 +00:00
Define new weapons.
This commit is contained in:
parent
ce3de0fc0f
commit
da064cf60c
@ -338,9 +338,6 @@ void W_Precache( void )
|
|||||||
// tripmine
|
// tripmine
|
||||||
UTIL_PrecacheOtherWeapon( "weapon_tripmine" );
|
UTIL_PrecacheOtherWeapon( "weapon_tripmine" );
|
||||||
|
|
||||||
// hand grenade
|
|
||||||
UTIL_PrecacheOtherWeapon("weapon_handgrenade");
|
|
||||||
|
|
||||||
// squeak grenade
|
// squeak grenade
|
||||||
UTIL_PrecacheOtherWeapon( "weapon_snark" );
|
UTIL_PrecacheOtherWeapon( "weapon_snark" );
|
||||||
|
|
||||||
@ -404,6 +401,9 @@ void W_Precache( void )
|
|||||||
UTIL_PrecacheOtherWeapon( "weapon_rifle" );
|
UTIL_PrecacheOtherWeapon( "weapon_rifle" );
|
||||||
UTIL_PrecacheOther( "ammo_rifleclip" );
|
UTIL_PrecacheOther( "ammo_rifleclip" );
|
||||||
|
|
||||||
|
// H&K G36
|
||||||
|
UTIL_PrecacheOtherWeapon( "weapon_g36" );
|
||||||
|
|
||||||
// railgun/hallucegon
|
// railgun/hallucegon
|
||||||
UTIL_PrecacheOtherWeapon( "weapon_railgun" );
|
UTIL_PrecacheOtherWeapon( "weapon_railgun" );
|
||||||
UTIL_PrecacheOther( "ammo_railslug" );
|
UTIL_PrecacheOther( "ammo_railslug" );
|
||||||
@ -439,6 +439,9 @@ void W_Precache( void )
|
|||||||
UTIL_PrecacheOtherWeapon( "weapon_nuke" );
|
UTIL_PrecacheOtherWeapon( "weapon_nuke" );
|
||||||
UTIL_PrecacheOther( "ammo_nukeclip" );
|
UTIL_PrecacheOther( "ammo_nukeclip" );
|
||||||
|
|
||||||
|
// hand grenade
|
||||||
|
UTIL_PrecacheOtherWeapon( "weapon_handgrenade" );
|
||||||
|
|
||||||
// cluster grenade
|
// cluster grenade
|
||||||
UTIL_PrecacheOtherWeapon( "weapon_clustergrenade" );
|
UTIL_PrecacheOtherWeapon( "weapon_clustergrenade" );
|
||||||
|
|
||||||
|
@ -97,7 +97,8 @@ public:
|
|||||||
#define WEAPON_DOUBLEMAC 25
|
#define WEAPON_DOUBLEMAC 25
|
||||||
#define WEAPON_NAILGUN 26
|
#define WEAPON_NAILGUN 26
|
||||||
#define WEAPON_SATCHEL 27
|
#define WEAPON_SATCHEL 27
|
||||||
#define WEAPON_UNKNOWN 28
|
#define WEAPON_HANDGRENADE 28
|
||||||
|
#define WEAPON_HKG36 29
|
||||||
|
|
||||||
#define WEAPON_ALLWEAPONS (~(1<<WEAPON_SUIT))
|
#define WEAPON_ALLWEAPONS (~(1<<WEAPON_SUIT))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user