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 D | deh_weapon.c | 44 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 D | deh_weapon.c | 44 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 D | deh_weapon.c | 41 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 D | deh_weapon.c | 42 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 D | deh_weapon.c | 41 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 D | deh_weapon.c | 42 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 D | client.cpp | 515 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 D | player.cpp | 1201 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 D | ai_helper.lua | 1097 for weapon_number,att in ipairs(unit.attacks) do 1100 return true, weapon_number
|