Home
last modified time | relevance | path

Searched refs:NUMWEAPONS (Results 1 – 25 of 153) sorted by relevance

1234567

/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/
H A Ddeh_weapon.c52 if (weapon_number < 0 || weapon_number >= NUMWEAPONS * 2) in DEH_BEGIN_MAPPING()
60 if (weapon_number < NUMWEAPONS) in DEH_BEGIN_MAPPING()
66 return &wpnlev2info[weapon_number - NUMWEAPONS]; in DEH_BEGIN_MAPPING()
106 for (i=0; i<NUMWEAPONS ;++i) in DEH_WeaponSHA1Sum()
H A Ddoomdef.h329 NUMWEAPONS, enumerator
369 extern weaponinfo_t wpnlev1info[NUMWEAPONS];
370 extern weaponinfo_t wpnlev2info[NUMWEAPONS];
457 boolean weaponowned[NUMWEAPONS];
547 extern int GetWeaponAmmo[NUMWEAPONS];
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/
H A Ddeh_weapon.c52 if (weapon_number < 0 || weapon_number >= NUMWEAPONS * 2) in DEH_BEGIN_MAPPING()
60 if (weapon_number < NUMWEAPONS) in DEH_BEGIN_MAPPING()
66 return &wpnlev2info[weapon_number - NUMWEAPONS]; in DEH_BEGIN_MAPPING()
106 for (i=0; i<NUMWEAPONS ;++i) in DEH_WeaponSHA1Sum()
H A Ddoomdef.h319 NUMWEAPONS, enumerator
359 extern weaponinfo_t wpnlev1info[NUMWEAPONS];
360 extern weaponinfo_t wpnlev2info[NUMWEAPONS];
447 boolean weaponowned[NUMWEAPONS];
527 extern int GetWeaponAmmo[NUMWEAPONS];
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dd_items.h218 NUMWEAPONS, enumerator
262 extern weaponinfo_t doomweaponinfo[NUMWEAPONS];
263 extern weaponinfo_t wpnlev1info[NUMWEAPONS];
264 extern weaponinfo_t wpnlev2info[NUMWEAPONS];
H A Dd_netcmd.c536 char buf[NUMWEAPONS + 4]; // need NUMWEAPONS+2 in Send_WeaponPref_pind()
545 if( wplen != NUMWEAPONS) in Send_WeaponPref_pind()
547 …S_Printf("weaponpref invalid length: %d, should be %d, player pind=%d\n", wplen, NUMWEAPONS, pind); in Send_WeaponPref_pind()
549 for( ; wplen < NUMWEAPONS; wplen++ ) buf[wplen+1] = '0'; in Send_WeaponPref_pind()
551 buf[1 + NUMWEAPONS] = cv_autoaim[pind].value; in Send_WeaponPref_pind()
553 Send_NetXCmd_pind(XD_WEAPONPREF, buf, NUMWEAPONS + 2, pind); in Send_WeaponPref_pind()
563 memcpy(p->favoritweapon, xc->curpos, NUMWEAPONS); in Got_NetXCmd_WeaponPref()
564 xc->curpos += NUMWEAPONS; in Got_NetXCmd_WeaponPref()
H A Dd_player.h154 boolean weaponowned[NUMWEAPONS];
158 char favoritweapon[NUMWEAPONS];
H A Dp_info.h67 extern boolean default_weaponowned[NUMWEAPONS];
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dd_netinfo.cpp47 const byte UserInfo::weapon_prefs_default[NUMWEAPONS] = {
117 static cvar_t *weaponpref_cvar_map[NUMWEAPONS] = {
132 for (size_t i = 0; i < NUMWEAPONS; i++) in D_PrepareWeaponPreferenceUserInfo()
137 if (weaponpref_cvar_map[i]->asInt() >= NUMWEAPONS) in D_PrepareWeaponPreferenceUserInfo()
138 weaponpref_cvar_map[i]->ForceSet(float(NUMWEAPONS - 1)); in D_PrepareWeaponPreferenceUserInfo()
/dports/games/edge/Edge-1.35-source/deh_edge/
H A Dweapons.cc58 weaponinfo_t weapon_info[NUMWEAPONS] =
98 bool weapon_modified[NUMWEAPONS];
114 assert (0 <= wp_num && wp_num < NUMWEAPONS); in MarkWeapon()
268 for (int i = 0; i < NUMWEAPONS; i++) in ConvertWEAP()
305 assert(0 <= wp_num && wp_num < NUMWEAPONS); in AlterWeapon()
H A Dweapons.h50 NUMWEAPONS enumerator
54 extern weaponinfo_t weapon_info[NUMWEAPONS];
/dports/games/xgalaga/xgalaga-2.1.1.0/
H A Ddefs.h57 #define NUMWEAPONS 3 macro
59 #define NUMWEAPONS 3 + ENABLE_SPREAD_SHOT + ENABLE_MACHINE_GUN macro
/dports/games/xgalaga-sdl/xgalaga-sdl-2.1.1.0-sdl/src/
H A Ddefs.h85 #define NUMWEAPONS 3 macro
87 #define NUMWEAPONS 3 + ENABLE_SPREAD_SHOT + ENABLE_MACHINE_GUN macro
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Ddeh_weapon.c49 if (weapon_number < 0 || weapon_number >= NUMWEAPONS) in DEH_BEGIN_MAPPING()
86 for (i=0; i<NUMWEAPONS ;++i) in DEH_WeaponSHA1Sum()
H A Dd_items.h39 extern weaponinfo_t weaponinfo[NUMWEAPONS];
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Ddeh_weapon.c50 if (weapon_number < 0 || weapon_number >= NUMWEAPONS) in DEH_BEGIN_MAPPING()
87 for (i=0; i<NUMWEAPONS ;++i) in DEH_WeaponSHA1Sum()
H A Dd_items.h40 extern weaponinfo_t weaponinfo[NUMWEAPONS];
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Ddeh_weapon.c49 if (weapon_number < 0 || weapon_number >= NUMWEAPONS) in DEH_BEGIN_MAPPING()
86 for (i=0; i<NUMWEAPONS ;++i) in DEH_WeaponSHA1Sum()
H A Dd_items.h39 extern weaponinfo_t weaponinfo[NUMWEAPONS];
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Ddeh_weapon.c50 if (weapon_number < 0 || weapon_number >= NUMWEAPONS) in DEH_BEGIN_MAPPING()
87 for (i=0; i<NUMWEAPONS ;++i) in DEH_WeaponSHA1Sum()
H A Dd_items.h40 extern weaponinfo_t weaponinfo[NUMWEAPONS];
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dd_netinf.h75 byte weapon_prefs[NUMWEAPONS];
77 static const byte weapon_prefs_default[NUMWEAPONS];
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dd_items.h52 extern weaponinfo_t weaponinfo[NUMWEAPONS];
/dports/games/prboom/prboom-2.5.0/src/
H A Dd_items.h57 extern weaponinfo_t weaponinfo[NUMWEAPONS];
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dd_items.h57 extern weaponinfo_t weaponinfo[NUMWEAPONS+2];

1234567