Home
last modified time | relevance | path

Searched refs:weapon_number (Results 1 – 9 of 9) sorted by relevance

/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/
H A Ddeh_weapon.c44 int weapon_number = 0; in DEH_BEGIN_MAPPING() local
46 if (sscanf(line, "Weapon %i", &weapon_number) != 1) in DEH_BEGIN_MAPPING()
52 if (weapon_number < 0 || weapon_number >= NUMWEAPONS * 2) in DEH_BEGIN_MAPPING()
54 DEH_Warning(context, "Invalid weapon number: %i", weapon_number); in DEH_BEGIN_MAPPING()
60 if (weapon_number < NUMWEAPONS) in DEH_BEGIN_MAPPING()
62 return &wpnlev1info[weapon_number]; in DEH_BEGIN_MAPPING()
66 return &wpnlev2info[weapon_number - NUMWEAPONS]; in DEH_BEGIN_MAPPING()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/
H A Ddeh_weapon.c44 int weapon_number = 0; in DEH_BEGIN_MAPPING() local
46 if (sscanf(line, "Weapon %i", &weapon_number) != 1) in DEH_BEGIN_MAPPING()
52 if (weapon_number < 0 || weapon_number >= NUMWEAPONS * 2) in DEH_BEGIN_MAPPING()
54 DEH_Warning(context, "Invalid weapon number: %i", weapon_number); in DEH_BEGIN_MAPPING()
60 if (weapon_number < NUMWEAPONS) in DEH_BEGIN_MAPPING()
62 return &wpnlev1info[weapon_number]; in DEH_BEGIN_MAPPING()
66 return &wpnlev2info[weapon_number - NUMWEAPONS]; in DEH_BEGIN_MAPPING()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Ddeh_weapon.c41 int weapon_number = 0; in DEH_BEGIN_MAPPING() local
43 if (sscanf(line, "Weapon %i", &weapon_number) != 1) in DEH_BEGIN_MAPPING()
49 if (weapon_number < 0 || weapon_number >= NUMWEAPONS) in DEH_BEGIN_MAPPING()
51 DEH_Warning(context, "Invalid weapon number: %i", weapon_number); in DEH_BEGIN_MAPPING()
55 return &weaponinfo[weapon_number]; in DEH_BEGIN_MAPPING()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Ddeh_weapon.c42 int weapon_number = 0; in DEH_BEGIN_MAPPING() local
44 if (sscanf(line, "Weapon %i", &weapon_number) != 1) in DEH_BEGIN_MAPPING()
50 if (weapon_number < 0 || weapon_number >= NUMWEAPONS) in DEH_BEGIN_MAPPING()
52 DEH_Warning(context, "Invalid weapon number: %i", weapon_number); in DEH_BEGIN_MAPPING()
56 return &weaponinfo[weapon_number]; in DEH_BEGIN_MAPPING()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Ddeh_weapon.c41 int weapon_number = 0; in DEH_BEGIN_MAPPING() local
43 if (sscanf(line, "Weapon %i", &weapon_number) != 1) in DEH_BEGIN_MAPPING()
49 if (weapon_number < 0 || weapon_number >= NUMWEAPONS) in DEH_BEGIN_MAPPING()
51 DEH_Warning(context, "Invalid weapon number: %i", weapon_number); in DEH_BEGIN_MAPPING()
55 return &weaponinfo[weapon_number]; in DEH_BEGIN_MAPPING()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Ddeh_weapon.c42 int weapon_number = 0; in DEH_BEGIN_MAPPING() local
44 if (sscanf(line, "Weapon %i", &weapon_number) != 1) in DEH_BEGIN_MAPPING()
50 if (weapon_number < 0 || weapon_number >= NUMWEAPONS) in DEH_BEGIN_MAPPING()
52 DEH_Warning(context, "Invalid weapon number: %i", weapon_number); in DEH_BEGIN_MAPPING()
56 return &weaponinfo[weapon_number]; in DEH_BEGIN_MAPPING()
/dports/games/atanks/atanks-6.5/src/
H A Dclient.cpp515 int weapon_number = 1, item_number = 1, tank_health = 1; in Game_Client() local
677 SAFE_WRITE(socket_number, "WEAPON %d", weapon_number) in Game_Client()
678 weapon_number++; in Game_Client()
H A Dplayer.cpp1201 int weapon_number; in executeNetCmd() local
1202 sscanf( &(net_command[7]), "%d", &weapon_number); in executeNetCmd()
1203 if ( (weapon_number >= 0) && (weapon_number < WEAPONS) ) in executeNetCmd()
1204 SAFE_WRITE(server_socket, "WEAPON %d %d", weapon_number, nm[weapon_number]) in executeNetCmd()
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/lua/
H A Dai_helper.lua1097 for weapon_number,att in ipairs(unit.attacks) do
1100 return true, weapon_number