Searched refs:giAmmoIndex (Results 1 – 8 of 8) sorted by relevance
3600 lookupTable[i] = it->giAmmoIndex; in BG_FindAmmoForWeapon()3688 if ( bg_itemlist[i].giType == IT_AMMO && bg_itemlist[i].giAmmoIndex == ammo ) { in BG_FindItemForAmmo()3882 if ( ps->ammoclip[item->giAmmoIndex] >= ammoTable[item->giAmmoIndex].maxclip ) { in BG_CanItemBeGrabbed()3886 …if ( ps->ammo[item->giAmmoIndex] >= ammoTable[item->giAmmoIndex].maxammo ) { // you are loaded wit… in BG_CanItemBeGrabbed()
1016 item->giAmmoIndex = WP_THOMPSON; in SP_worldspawn()1018 item->giAmmoIndex = WP_STEN; in SP_worldspawn()1020 item->giAmmoIndex = WP_MP40; in SP_worldspawn()
1244 …int giAmmoIndex; // type of weapon ammo this uses. (ex. WP_MP40 and WP_LUGER share 9mm… member
1027 item->giAmmoIndex = WP_THOMPSON; in SP_worldspawn()1029 item->giAmmoIndex = WP_STEN; in SP_worldspawn()1033 item->giAmmoIndex = WP_MP40; in SP_worldspawn()
3120 switch ( it->giAmmoIndex ) in BG_FindAmmoForWeapon()3143 return it->giAmmoIndex; in BG_FindAmmoForWeapon()3211 if ( bg_itemlist[i].giType == IT_AMMO && bg_itemlist[i].giAmmoIndex == ammo ) { in BG_FindItemForAmmo()
1229 …int giAmmoIndex; // type of weapon ammo this uses. (ex. WP_MP40 and WP_LUGER share 9mm… member
1481 item->giAmmoIndex = WP_THOMPSON; in CG_RegisterItemVisuals()1483 item->giAmmoIndex = WP_STEN; in CG_RegisterItemVisuals()1485 item->giAmmoIndex = WP_MP40; in CG_RegisterItemVisuals()
1518 item->giAmmoIndex = WP_THOMPSON; in CG_RegisterItemVisuals()1520 item->giAmmoIndex = WP_STEN; in CG_RegisterItemVisuals()1522 item->giAmmoIndex = WP_MP40; in CG_RegisterItemVisuals()