Home
last modified time | relevance | path

Searched refs:weaponnum (Results 1 – 25 of 53) sorted by relevance

123

/dports/games/iortcw/iortcw-1.51c/MP/code/game/
H A Dai_cast_fight.c461 switch ( weaponnum ) { in AICast_WeaponRange()
557 weapnum = cs->bs->weaponnum; in AICast_CheckAttack_real()
1105 cs->bs->weaponnum = i; in AICast_ChooseWeapon()
1215 if ( !cs->bs->weaponnum ) { in AICast_WantsToTakeCover()
1351 switch ( cs->bs->weaponnum ) { in AICast_WeaponSway()
1443 if ( cs->bs->weaponnum == WP_GRENADE_LAUNCHER || cs->bs->weaponnum == WP_GRENADE_PINEAPPLE ) { in AICast_AimAtEnemy()
1452 if ( bs->weaponnum == WP_ROCKET_LAUNCHER || bs->weaponnum == WP_PANZERFAUST ) { in AICast_AimAtEnemy()
1459 if ( bs->weaponnum == WP_ROCKET_LAUNCHER || bs->weaponnum == WP_PANZERFAUST ) { in AICast_AimAtEnemy()
1488 switch ( weaponnum ) { in AICast_CanMoveWhileFiringWeapon()
1518 switch ( cs->bs->weaponnum ) { in AICast_RandomTriggerRelease()
[all …]
H A Dai_cast_func_attack.c640 cs->weaponFireTimes[cs->bs->weaponnum] = level.time; in AIFunc_StimSoldierAttack1Start()
656 cs->bs->weaponnum = WP_ROCKET_LAUNCHER; in AIFunc_StimSoldierAttack1Start()
658 cs->bs->weaponnum = WP_TESLA; in AIFunc_StimSoldierAttack1Start()
690 cs->weaponFireTimes[cs->bs->weaponnum] = level.time; in AIFunc_StimSoldierAttack2Start()
713 cs->weaponFireTimes[cs->bs->weaponnum] = level.time; in AIFunc_BlackGuardAttack1Start()
827 cs->weaponFireTimes[cs->bs->weaponnum] = level.time; in AIFunc_WarriorZombieMelee()
854 cs->weaponFireTimes[cs->bs->weaponnum] = level.time; in AIFunc_WarriorZombieMeleeStart()
900 cs->weaponFireTimes[cs->bs->weaponnum] = level.time; in AIFunc_WarriorZombieSightStart()
927 if ( cs->weaponFireTimes[cs->bs->weaponnum] < level.time - 100 ) { in AIFunc_WarriorZombieDefense()
974 cs->weaponFireTimes[cs->bs->weaponnum] = level.time; in AIFunc_WarriorZombieDefense()
[all …]
H A Dai_cast_funcs.c2613 …if ( !moved && cs->bs->weaponnum >= WP_LUGER && cs->bs->weaponnum <= WP_SPEARGUN_CO2 && cs->attrib… in AIFunc_BattleChase()
2715 if ( cs->bs->weaponnum == WP_GAUNTLET ) { in AIFunc_BattleChase()
2723 if ( cs->bs->weaponnum == WP_GAUNTLET ) { in AIFunc_BattleChase()
3374 if ( cs->bs->weaponnum != cs->grenadeFlushFiring ) { in AIFunc_GrenadeFlush()
3598 cs->grenadeFlushFiring = cs->bs->weaponnum; in AIFunc_GrenadeFlush()
3621 cs->grenadeFlushFiring = cs->bs->weaponnum; in AIFunc_GrenadeFlush()
4585 …if ( !rval && cs->bs->weaponnum >= WP_MONSTER_ATTACK1 && cs->bs->weaponnum <= WP_MONSTER_ATTACK3 )… in AIFunc_BattleStart()
4587 cs->weaponFireTimes[cs->bs->weaponnum] = level.time; in AIFunc_BattleStart()
4589 lastweap = cs->bs->weaponnum; in AIFunc_BattleStart()
4591 if ( cs->bs->weaponnum == lastweap ) { in AIFunc_BattleStart()
[all …]
H A Dai_main.h179 int weaponnum; //current weapon number member
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/hexen/include/
H A Dx_items.h38 #define WEAPON_INFO(weaponnum, pclass, fmode) ( \ argument
39 &weaponInfo[weaponnum][pclass].mode[fmode])
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/doom/include/
H A Dd_items.h38 #define WEAPON_INFO(weaponnum, pclass, fmode) (&weaponInfo[weaponnum][pclass].mode[fmode]) argument
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/doom64/include/
H A Dd_items.h38 #define WEAPON_INFO(weaponnum, pclass, fmode) (&weaponInfo[weaponnum][pclass].mode[fmode]) argument
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/heretic/include/
H A Dh_items.h38 #define WEAPON_INFO(weaponnum, pclass, fmode) ( \ argument
39 &weaponInfo[(weaponnum)][(pclass)].mode[(fmode)])
/dports/games/ioquake3-server/ioquake3-1.36/code/botlib/
H A Dbe_ai_weap.c137 int BotValidWeaponNumber(int weaponnum) in BotValidWeaponNumber() argument
139 if (weaponnum <= 0 || weaponnum > weaponconfig->numweapons) in BotValidWeaponNumber()
/dports/games/iortcw/iortcw-1.51c/MP/code/botlib/
H A Dbe_ai_weap.c143 int BotValidWeaponNumber( int weaponnum ) { in BotValidWeaponNumber() argument
144 if ( weaponnum <= 0 || weaponnum > weaponconfig->numweapons ) { in BotValidWeaponNumber()
/dports/games/ioquake3/ioquake3-1.36/code/botlib/
H A Dbe_ai_weap.c137 int BotValidWeaponNumber(int weaponnum) in BotValidWeaponNumber() argument
139 if (weaponnum <= 0 || weaponnum > weaponconfig->numweapons) in BotValidWeaponNumber()
/dports/games/iortcw/iortcw-1.51c/SP/code/botlib/
H A Dbe_ai_weap.c143 int BotValidWeaponNumber( int weaponnum ) { in BotValidWeaponNumber() argument
144 if ( weaponnum <= 0 || weaponnum > weaponconfig->numweapons ) { in BotValidWeaponNumber()
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/botlib/
H A Dbe_ai_weap.c138 int BotValidWeaponNumber(int weaponnum) in BotValidWeaponNumber() argument
140 if (weaponnum <= 0 || weaponnum > weaponconfig->numweapons) in BotValidWeaponNumber()
/dports/games/openjk/OpenJK-07675e2/codemp/botlib/
H A Dbe_ai_weap.cpp142 int BotValidWeaponNumber(int weaponnum) in BotValidWeaponNumber() argument
144 if (weaponnum <= 0 || weaponnum > weaponconfig->numweapons) in BotValidWeaponNumber()
/dports/games/openarena/openarena-engine-source-0.8.8/code/botlib/
H A Dbe_ai_weap.c137 int BotValidWeaponNumber(int weaponnum) in BotValidWeaponNumber() argument
139 if (weaponnum <= 0 || weaponnum > weaponconfig->numweapons) in BotValidWeaponNumber()
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/botlib/
H A Dbe_ai_weap.c137 int BotValidWeaponNumber(int weaponnum) in BotValidWeaponNumber() argument
139 if (weaponnum <= 0 || weaponnum > weaponconfig->numweapons) in BotValidWeaponNumber()
/dports/games/evq3/evq3/code/botlib/
H A Dbe_ai_weap.c137 int BotValidWeaponNumber(int weaponnum) in BotValidWeaponNumber() argument
139 if (weaponnum <= 0 || weaponnum > weaponconfig->numweapons) in BotValidWeaponNumber()
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/
H A Dgame2.c489 void weaponnum(short ind,long x,long y,long num1, long num2,char ha) in weaponnum() function
588 weaponnum(RPG_WEAPON,x+39,y, in weapon_amounts()
596 weaponnum(HANDBOMB_WEAPON,x+39,y+6, in weapon_amounts()
605 weaponnum(SHRINKER_WEAPON,x+39,y+12, in weapon_amounts()
610 weaponnum(SHRINKER_WEAPON,x+39,y+12, in weapon_amounts()
618 weaponnum(DEVISTATOR_WEAPON,x+70,y, in weapon_amounts()
626 weaponnum(TRIPBOMB_WEAPON,x+70,y+6, in weapon_amounts()
635 weaponnum(-1,x+70,y+12, in weapon_amounts()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/botlib/
H A Dbe_ai_weap.c137 int BotValidWeaponNumber(int weaponnum) in BotValidWeaponNumber() argument
139 if (weaponnum <= 0 || weaponnum > weaponconfig->numweapons) in BotValidWeaponNumber()
/dports/games/zdoom/zdoom-2.8.1/src/fragglescript/
H A Dt_func.cpp2841 int weaponnum; in SF_PlayerWeapon() local
2847 weaponnum = intvalue(t_argv[1]); in SF_PlayerWeapon()
2849 if (weaponnum<0 || weaponnum>9) in SF_PlayerWeapon()
2851 script_error("weaponnum out of range! %s\n", weaponnum); in SF_PlayerWeapon()
2854 const PClass * ti = PClass::FindClass(WeaponNames[weaponnum]); in SF_PlayerWeapon()
2857 script_error("incompatibility in playerweapon\n", weaponnum); in SF_PlayerWeapon()
2914 int weaponnum; in SF_PlayerSelectedWeapon() local
2928 weaponnum = intvalue(t_argv[1]); in SF_PlayerSelectedWeapon()
2930 if (weaponnum<0 || weaponnum>=9) in SF_PlayerSelectedWeapon()
2932 script_error("weaponnum out of range! %s\n", weaponnum); in SF_PlayerSelectedWeapon()
[all …]
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dt_func.c1056 int weaponnum; in SF_PlayerWeapon() local
1069 weaponnum = intvalue(t_argv[1]); in SF_PlayerWeapon()
1070 if (weaponnum >= NUMWEAPONS || weaponnum < 0) goto bad_weapon; in SF_PlayerWeapon()
1080 player->weaponowned[weaponnum] = newweapon; in SF_PlayerWeapon()
1082 t_return.value.i = player->weaponowned[weaponnum]; // test weapon in SF_PlayerWeapon()
1091 script_error("PlayerWeapon: invalid weaponnum %i\n", weaponnum); in SF_PlayerWeapon()
1099 int weaponnum; in SF_PlayerSelectedWeapon() local
1114 weaponnum = intvalue(t_argv[1]); in SF_PlayerSelectedWeapon()
1115 if (weaponnum >= NUMWEAPONS || weaponnum < 0) goto bad_weapon; in SF_PlayerSelectedWeapon()
1116 player->pendingweapon = weaponnum; in SF_PlayerSelectedWeapon()
[all …]
/dports/games/iortcw/iortcw-1.51c/SP/code/game/
H A Dai_main.h179 int weaponnum; //current weapon number member
/dports/games/ioquake3/ioquake3-1.36/code/game/
H A Dai_main.h220 int weaponnum; //current weapon number member
/dports/games/ioquake3-server/ioquake3-1.36/code/game/
H A Dai_main.h220 int weaponnum; //current weapon number member
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/game/
H A Dai_main.h220 int weaponnum; //current weapon number member

123