Home
last modified time | relevance | path

Searched refs:giAmmoIndex (Results 1 – 8 of 8) sorted by relevance

/dports/games/iortcw/iortcw-1.51c/SP/code/game/
H A Dbg_misc.c3600 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()
H A Dg_spawn.c1016 item->giAmmoIndex = WP_THOMPSON; in SP_worldspawn()
1018 item->giAmmoIndex = WP_STEN; in SP_worldspawn()
1020 item->giAmmoIndex = WP_MP40; in SP_worldspawn()
H A Dbg_public.h1244 …int giAmmoIndex; // type of weapon ammo this uses. (ex. WP_MP40 and WP_LUGER share 9mm… member
/dports/games/iortcw/iortcw-1.51c/MP/code/game/
H A Dg_spawn.c1027 item->giAmmoIndex = WP_THOMPSON; in SP_worldspawn()
1029 item->giAmmoIndex = WP_STEN; in SP_worldspawn()
1033 item->giAmmoIndex = WP_MP40; in SP_worldspawn()
H A Dbg_misc.c3120 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()
H A Dbg_public.h1229 …int giAmmoIndex; // type of weapon ammo this uses. (ex. WP_MP40 and WP_LUGER share 9mm… member
/dports/games/iortcw/iortcw-1.51c/SP/code/cgame/
H A Dcg_weapons.c1481 item->giAmmoIndex = WP_THOMPSON; in CG_RegisterItemVisuals()
1483 item->giAmmoIndex = WP_STEN; in CG_RegisterItemVisuals()
1485 item->giAmmoIndex = WP_MP40; in CG_RegisterItemVisuals()
/dports/games/iortcw/iortcw-1.51c/MP/code/cgame/
H A Dcg_weapons.c1518 item->giAmmoIndex = WP_THOMPSON; in CG_RegisterItemVisuals()
1520 item->giAmmoIndex = WP_STEN; in CG_RegisterItemVisuals()
1522 item->giAmmoIndex = WP_MP40; in CG_RegisterItemVisuals()