Home
last modified time | relevance | path

Searched refs:new_weapon (Results 1 – 24 of 24) sorted by relevance

/dports/japanese/rogue_s/rogue_s/
H A Dthrow.c165 object *new_weapon, *monster; local
184 new_weapon = alloc_object();
185 *new_weapon = *weapon;
186 new_weapon->in_use_flags = NOT_USED;
187 new_weapon->quantity = 1;
188 new_weapon->ichar = 'L';
189 place_at(new_weapon, row, col);
/dports/games/abuse_sdl/abuse-0.8/src/
H A Dview.cpp82 suggest.new_weapon=x; in add_ammo()
84 suggest.new_weapon=0; in add_ammo()
416 base->packet.write_uint32( suggest.new_weapon ); in get_input()
591 suggest.new_weapon=c; in next_weapon()
602 suggest.new_weapon=c; in next_weapon()
620 suggest.new_weapon=c; in last_weapon()
631 suggest.new_weapon=c; in last_weapon()
689 suggest.new_weapon=ev.key - '1'; in handle_event()
H A Dview.h25 int32_t new_weapon; member
H A Dstatbar.cpp337 v->suggest.new_weapon=icon_in_selection; in step()
H A Dlevel.cpp1860 vw->suggest.new_weapon=0; in load_player_info()
/dports/games/rottdc/rottdc-1.0-2/rott/
H A Drt_playr.c2894 pstate->new_weapon = pstate->oldweapon; in ResetWeapons()
2916 pstate->oldweapon = pstate->new_weapon; in SaveWeapons()
3714 pstate->new_weapon = pstate->bulletweapon; in DropWeapon()
4419 pstate->weapon = pstate->new_weapon; in T_Attack()
4653 {pstate->new_weapon = pstate->bulletweapon; in T_BatBlast()
4830 pstate->new_weapon = 0; in CheckWeaponChange()
4832 pstate->new_weapon ++; in CheckWeaponChange()
4834 if (pstate->new_weapon <= wp_mp40) in CheckWeaponChange()
4861 {pstate->new_weapon = pstate->bulletweapon; in CheckWeaponChange()
4974 pstate->new_weapon = -1; in SetWhoHaveWeapons()
[all …]
H A Drt_playr.h134 int new_weapon; member
H A Drt_game.c1278 pstate->new_weapon = weapon; in GiveWeapon()
1350 pstate->new_weapon = pstate->missileweapon = which; in GiveMissileWeapon()
2014 if ((locplayerstate->new_weapon < wp_bazooka) || in DrawBarAmmo()
2015 (locplayerstate->new_weapon == wp_godhand) || in DrawBarAmmo()
2026 else if ( locplayerstate->new_weapon == wp_dog ) in DrawBarAmmo()
2038 ( byte * )&ammo[ locplayerstate->new_weapon]->data, in DrawBarAmmo()
2199 if ((locplayerstate->new_weapon < wp_bazooka) || in DrawStats()
2200 (locplayerstate->new_weapon == wp_godhand) || in DrawStats()
2209 else if ( locplayerstate->new_weapon == wp_dog ) in DrawStats()
2218 ( byte * )&ammo[13 + locplayerstate->new_weapon]->data, in DrawStats()
H A Drt_ted.c2642 {pstate->missileweapon = pstate->oldweapon = pstate->new_weapon = in SetupPlayers()
2647 {pstate->missileweapon = pstate->oldweapon = pstate->new_weapon = in SetupPlayers()
5863 pstate->weapon=pstate->new_weapon=pstate->oldweapon; in InitializePlayerstates()
H A Drt_actor.c975 PLAYERSTATE[0].new_weapon = PLAYERSTATE[0].bulletweapon; in A_Steal()
/dports/games/edge/Edge-1.35-source/src/
H A Dp_bot.h47 int new_weapon; member
H A Dp_bot.cc445 bot->cmd.new_weapon = best; in BOT_SelectWeapon()
659 if (src->new_weapon != -1) in BOT_ConvertToTiccmd()
660 dest->buttons |= (src->new_weapon << BT_WEAPONSHIFT) & BT_WEAPONMASK; in BOT_ConvertToTiccmd()
715 bot->cmd.new_weapon = -1; in P_BotPlayerBuilder()
/dports/games/legesmotus/legesmotus-0.4.0/client/
H A DWeapon.hpp87 static Weapon* new_weapon (WeaponReader&);
H A DWeapon.cpp48 Weapon* Weapon::new_weapon (WeaponReader& data) { in new_weapon() function in Weapon
H A DGameController.cpp2392 if (Weapon* new_weapon = get_weapon(currplayer->get_current_weapon_id())) { in player_update() local
2393 new_weapon->select(*currplayer, *this); in player_update()
3039 if (Weapon* new_weapon = get_weapon(player->get_current_weapon_id())) { in team_change() local
3040 new_weapon->select(*player, *this); in team_change()
3861 if (Weapon* weapon = Weapon::new_weapon(weapon_data)) { in weapon_info_packet()
/dports/games/jfk/jfk-0.1.1/src/server/
H A Dserver_util.h61 objhandle new_weapon(const std::string& attributes);
H A Dserver_util.cc64 JFK::server::new_weapon(const string& attributes) in new_weapon() function in JFK::server
H A Dserver.cc132 { "weapon", NULL, &new_weapon, 0.0, 0.0 }, in load_level()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/Headers/
H A Dweapons.h108 void change_selected_weapon(int new_weapon);
/dports/games/warmux/warmux-11.04/src/interface/
H A Dweapon_menu.cpp63 WeaponMenuItem::WeaponMenuItem(Weapon * new_weapon, const Point2d & position) in WeaponMenuItem() argument
66 , weapon(new_weapon) in WeaponMenuItem()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/
H A Dweapons.c1411 void change_selected_weapon(int new_weapon) { in change_selected_weapon() argument
1417 SetMotionCursorsColorForWeapon(new_weapon); in change_selected_weapon()
1419 weapon_slot *ws = &player_struct.weapons[new_weapon]; in change_selected_weapon()
1428 reset_handart_count(new_weapon); in change_selected_weapon()
/dports/games/alephone/alephone-release-20190331/Source_Files/GameWorld/
H A Dweapons.cpp257 static bool should_switch_to_weapon(short player_index, short new_weapon);
2707 short new_weapon) in should_switch_to_weapon() argument
2718 if(weapon_works_in_current_environment(new_weapon)) in should_switch_to_weapon()
2720 if(player_weapons->desired_weapon==player_weapons->current_weapon || new_weapon==_weapon_ball) in should_switch_to_weapon()
2725 new_weapon_index= find_weapon_power_index(new_weapon); in should_switch_to_weapon()
2738 if(new_weapon==_weapon_ball) in should_switch_to_weapon()
/dports/games/xonotic/Xonotic/source/qcsrc/server/bot/default/havocbot/
H A Dhavocbot.qc1070 float havocbot_chooseweapon_checkreload(entity this, .entity weaponentity, int new_weapon)
1079 if (this.(weaponentity).weapon_load[new_weapon] < 0)
/dports/games/nlarn/nlarn-NLarn-0.7.6/src/
H A Dmonsters.c1927 gboolean new_weapon = (it->type == IT_WEAPON); in monster_items_pickup() local
1942 if (new_weapon) in monster_items_pickup()