Home
last modified time | relevance | path

Searched refs:NUM_WEAPONS (Results 1 – 25 of 34) sorted by relevance

12

/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/Headers/
H A Dgamesys.h108 #define NUM_WEAPONS NUM_WEAPONZ macro
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/he/moonbase/
H A Dai_targetacquisition.cpp108 int retVal = MAX<uint>(_enemyDefenses.size(), 1) * NUM_SHOT_POSITIONS * NUM_WEAPONS; in numChildrenToGen()
149 …DefenseUnit *currentTarget = *(thisEnemyDefenses.begin() + static_cast<int>(index / (NUM_WEAPONS *… in createChildObj()
154 Weapon *currentWeapon = new Weapon(currentTarget->selectWeapon(index % NUM_WEAPONS)); in createChildObj()
162 …targetCoords = currentTarget->createTargetPos((static_cast<int>(index / NUM_WEAPONS) % NUM_SHOT_PO… in createChildObj()
H A Dai_targetacquisition.h34 const int NUM_WEAPONS = 3; variable
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/moonbase/
H A Dai_targetacquisition.cpp108 int retVal = MAX<uint>(_enemyDefenses.size(), 1) * NUM_SHOT_POSITIONS * NUM_WEAPONS; in numChildrenToGen()
149 …DefenseUnit *currentTarget = *(thisEnemyDefenses.begin() + static_cast<int>(index / (NUM_WEAPONS *… in createChildObj()
154 Weapon *currentWeapon = new Weapon(currentTarget->selectWeapon(index % NUM_WEAPONS)); in createChildObj()
162 …targetCoords = currentTarget->createTargetPos((static_cast<int>(index / NUM_WEAPONS) % NUM_SHOT_PO… in createChildObj()
H A Dai_targetacquisition.h34 const int NUM_WEAPONS = 3; variable
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dng-setup.cc186 ASSERT(weapon != NUM_WEAPONS); in _give_ranged_weapon()
202 ASSERT(weapon != NUM_WEAPONS); in _give_ammo()
H A Dmon-gear.cc239 if (*wpn_type == NUM_WEAPONS) in _apply_weapon_spec()
935 { NUM_WEAPONS, 8 }, }; // 1/9 chance of ranged weapon in make_mons_weapon()
959 { NUM_WEAPONS, 16 }, // 1/9 chance of weap in make_mons_weapon()
963 { NUM_WEAPONS, 2 }, in make_mons_weapon()
989 { NUM_WEAPONS, 40 }, }, // 1/3 odds of weap in make_mons_weapon()
H A Ditem-prop-enum.h671 NUM_WEAPONS, enumerator
H A Dgod-blessing.cc144 ASSERT(weapon_type != NUM_WEAPONS); in _gift_weapon_to_orc()
H A Ditem-prop.cc366 static int Weapon_index[NUM_WEAPONS];
728 COMPILE_CHECK(NUM_WEAPONS == ARRAYSZ(Weapon_prop)); in init_properties()
737 for (int i = 0; i < NUM_WEAPONS; i++) in init_properties()
H A Dmakeitem.cc161 const int wpntype = random2(NUM_WEAPONS); in _determine_weapon_subtype()
2120 auto weap_type = coinflip() ? OBJ_RANDOM : random2(NUM_WEAPONS); in makeitem_tests()
H A Dplayer.h282 FixedVector<uint32_t, NUM_WEAPONS> seen_weapon;
H A Dacquire.cc459 for (int i = 0; i < NUM_WEAPONS; ++i) in _acquirement_weapon_subtype()
H A Dtags.cc1780 marshallShort(th, NUM_WEAPONS); in _tag_construct_you_items()
1781 for (int j = 0; j < NUM_WEAPONS; ++j) in _tag_construct_you_items()
4200 for (int j = 0; j < count && j < NUM_WEAPONS; ++j) in _tag_read_you_items()
4202 for (int j = count; j < NUM_WEAPONS; ++j) in _tag_read_you_items()
4204 for (int j = NUM_WEAPONS; j < count; ++j) in _tag_read_you_items()
H A Ditem-name.cc1877 COMPILE_CHECK(NUM_WEAPONS < MAX_SUBTYPES); in item_type_has_ids()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dd_player.h304 #define NUM_WEAPONS 7 macro
H A Dg_game.h43 extern INT16 rw_maximums[NUM_WEAPONS];
H A Ddeh_tables.c5160 {"NUM_WEAPONS",NUM_WEAPONS},
H A Dg_game.c455 INT16 rw_maximums[NUM_WEAPONS] =
1308 #if NUM_WEAPONS > 10 in G_BuildTiccmd()
1313 for (i = 0; i < NUM_WEAPONS; ++i) in G_BuildTiccmd()
H A Dst_stuff.c2154 INT32 offset = (BASEVIDWIDTH / 2) - (NUM_WEAPONS * 10) - 6; in ST_drawMatchHUD()
/dports/games/assaultcube/AssaultCube_v1.2.0.2/config/
H A Dscripts.cfg112 const NUM_WEAPONS (listlen $WEAPONS)
124 loop d $NUM_WEAPONS [ const (at $WEAPONS $d) $d ]
181 loop i $NUM_WEAPONS [ (concatword altaction_ $i) = quicknadethrow ] // Quick nade throw is default
H A Dmenus_settings.cfg19 loop gcp $NUM_WEAPONS [
/dports/games/dungeoncrawl/dc400b26-src/source/
H A Deffects.cc574 for (int i = WPN_MACE; i < NUM_WEAPONS; i++) in acquirement()
H A Ddebug.cc699 NUM_WEAPONS, in create_spec_object()
H A Denum.h3015 NUM_WEAPONS, // 44 - must remain last regular member {dlb} enumerator

12