Home
last modified time | relevance | path

Searched refs:powerup_flags (Results 1 – 25 of 26) sorted by relevance

12

/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/
H A Dpowerup.cpp269 void pickup(player_flags &powerup_flags) const in pickup()
271 powerup_flags |= player_flag; in pickup()
282 void pickup(player_flags &powerup_flags) const in pickup()
296 void pickup(player_flags &powerup_flags) const in pickup()
309 void pickup(player_flags &powerup_flags) const in pickup()
311 process(powerup_flags); in pickup()
316 powerup_flags |= active in process()
351 process(powerup_flags); in pickup()
355 powerup_flags |= PLAYER_FLAGS_QUAD_LASERS; in process()
370 auto &powerup_flags = player_info.powerup_flags; in player_hit_powerup() local
[all …]
H A Dgamecntl.cpp379 if (Controls.state.energy_to_shield && (player_info.powerup_flags & PLAYER_FLAGS_CONVERTER)) in do_weapon_n_item_stuff()
1398 auto &pl_flags = player_info.powerup_flags; in HandleTestKey()
1734 player_info.powerup_flags |= PLAYER_FLAGS_QUAD_LASERS; in FinalCheats()
1753 player_info.powerup_flags |= PLAYER_FLAGS_QUAD_LASERS; in FinalCheats()
1792 player_info.powerup_flags |= PLAYER_FLAGS_QUAD_LASERS; in FinalCheats()
1806 player_info.powerup_flags |= PLAYER_FLAGS_BLUE_KEY | PLAYER_FLAGS_RED_KEY | PLAYER_FLAGS_GOLD_KEY; in FinalCheats()
1812 auto &pl_flags = player_info.powerup_flags; in FinalCheats()
1826 auto &pl_flags = player_info.powerup_flags; in FinalCheats()
1982 menu_bit_wrapper_t(pl_info.powerup_flags, {}) in cheat_menu_bit_invulnerability()
2005 menu_bit_wrapper_t(pl_info.powerup_flags, {}) in cheat_menu_bit_cloak()
[all …]
H A Dai.cpp955 if (!(player_info.powerup_flags & PLAYER_FLAGS_CLOAKED)) in do_ai_robot_hit_attack()
1076 const auto powerup_flags = player_info.powerup_flags; in ai_fire_laser_at_player() local
1110 if (powerup_flags & PLAYER_FLAGS_CLOAKED) { in ai_fire_laser_at_player()
1671 const auto powerup_flags = player_info.powerup_flags; in compute_vis_and_vec() local
1672 if (powerup_flags & PLAYER_FLAGS_CLOAKED) in compute_vis_and_vec()
1825 const player_flags powerup_flags, in ai_door_is_openable() argument
3004 if (!(powerup_flags & PLAYER_FLAGS_CLOAKED) || in init_ai_frame()
3005 (powerup_flags & PLAYER_FLAGS_HEADLIGHT_ON) || in init_ai_frame()
3285 if (!(player_info.powerup_flags & PLAYER_FLAGS_CLOAKED)) in do_ai_frame()
3376 if (player_info.powerup_flags & PLAYER_FLAGS_CLOAKED) { in do_ai_frame()
[all …]
H A Dcollide.cpp180 if (player_info.powerup_flags & static_cast<PLAYER_FLAG>(w.keys)) in collide_robot_and_wall()
420 if (!(player_info.powerup_flags & PLAYER_FLAGS_INVULNERABLE)) in collide_player_and_wall()
1425 auto &pl_flags = player_info.powerup_flags; in do_final_boss_hacks()
1993 if (player_info.powerup_flags & PLAYER_FLAGS_QUAD_LASERS) in drop_player_eggs()
1996 if (player_info.powerup_flags & PLAYER_FLAGS_CLOAKED) in drop_player_eggs()
2000 if (player_info.powerup_flags & PLAYER_FLAGS_MAP_ALL) in drop_player_eggs()
2003 if (player_info.powerup_flags & PLAYER_FLAGS_AFTERBURNER) in drop_player_eggs()
2006 if (player_info.powerup_flags & PLAYER_FLAGS_AMMO_RACK) in drop_player_eggs()
2009 if (player_info.powerup_flags & PLAYER_FLAGS_CONVERTER) in drop_player_eggs()
2012 if (player_info.powerup_flags & PLAYER_FLAGS_HEADLIGHT) in drop_player_eggs()
[all …]
H A Dgameseq.cpp509 player_info.powerup_flags = {}; in init_player_stats_game()
587 auto &powerup_flags = player_info.powerup_flags; in init_player_stats_level() local
588 powerup_flags &= ~(PLAYER_FLAGS_INVULNERABLE | PLAYER_FLAGS_CLOAKED); in init_player_stats_level()
590 powerup_flags &= ~(PLAYER_FLAGS_MAP_ALL); in init_player_stats_level()
598 powerup_flags |= all_keys; in init_player_stats_level()
600 powerup_flags &= ~all_keys; in init_player_stats_level()
640 …player_info.powerup_flags &= ~(PLAYER_FLAGS_QUAD_LASERS | PLAYER_FLAGS_CLOAKED | PLAYER_FLAGS_INVU… in init_player_stats_new_ship()
649 player_info.powerup_flags |= map_granted_flags_to_player_flags(GrantedItems); in init_player_stats_new_ship()
656 player_info.powerup_flags |= PLAYER_FLAGS_INVULNERABLE; in init_player_stats_new_ship()
1525 auto &pl_flags = player_info.powerup_flags; in do_cloak_invul_secret_stuff()
[all …]
H A Dnewdemo.cpp1960 if (player_info.powerup_flags & PLAYER_FLAGS_CLOAKED) { in newdemo_read_demo_start()
2651 player_info.powerup_flags = old_player_flags; in newdemo_read_frame_information()
2670 player_info.powerup_flags = new_player_flags; in newdemo_read_frame_information()
2876 player_info.powerup_flags &= ~PLAYER_FLAGS_CLOAKED; in newdemo_read_frame_information()
2879 player_info.powerup_flags |= PLAYER_FLAGS_CLOAKED; in newdemo_read_frame_information()
2897 player_info.powerup_flags |= PLAYER_FLAGS_CLOAKED; in newdemo_read_frame_information()
2900 player_info.powerup_flags &= ~PLAYER_FLAGS_CLOAKED; in newdemo_read_frame_information()
3264 player_info.powerup_flags &= ~PLAYER_FLAGS_CLOAKED; in newdemo_read_frame_information()
3463 player_info.powerup_flags |= PLAYER_FLAGS_CLOAKED; in newdemo_goto_end()
3508 if (player_info.powerup_flags & PLAYER_FLAGS_CLOAKED) { in newdemo_goto_end()
[all …]
H A Dmulti.cpp512 player_info.powerup_flags &= clear_flags; in multi_endlevel_score()
1599 auto &powerup_flags = obj->ctype.player_info.powerup_flags; in multi_do_fire() local
1601 powerup_flags |= PLAYER_FLAGS_QUAD_LASERS; in multi_do_fire()
1603 powerup_flags &= ~PLAYER_FLAGS_QUAD_LASERS; in multi_do_fire()
1806 player_info.powerup_flags &= ~PLAYER_FLAGS_FLAG; in multi_do_player_deres()
2050 player_info.powerup_flags |= PLAYER_FLAGS_CLOAKED; in multi_do_cloak()
2702 if (player_info.powerup_flags & PLAYER_FLAGS_CLOAKED) in multi_send_player_deres()
4496 player_info.powerup_flags &=~(PLAYER_FLAGS_FLAG); in DropOrb()
4518 if (!(player_info.powerup_flags & PLAYER_FLAGS_FLAG)) in DropFlag()
4537 player_info.powerup_flags &=~(PLAYER_FLAGS_FLAG); in DropFlag()
[all …]
H A Dlighting.cpp162 if (obj.ctype.player_info.powerup_flags & PLAYER_FLAGS_HEADLIGHT_ON) { in apply_light()
297 if (objp.ctype.player_info.powerup_flags & PLAYER_FLAGS_HEADLIGHT_ON) in compute_player_light_emission_intensity()
581 if (player_info.powerup_flags & PLAYER_FLAGS_HEADLIGHT) { in toggle_headlight_active()
582 player_info.powerup_flags ^= PLAYER_FLAGS_HEADLIGHT_ON; in toggle_headlight_active()
H A Dgauges.cpp1157 const auto player_key_flags = player_info.powerup_flags; in hud_show_keys()
1284 if (! (player_info.powerup_flags & PLAYER_FLAGS_AFTERBURNER)) in hud_show_afterburner()
1758 if (player_info.powerup_flags & PLAYER_FLAGS_QUAD_LASERS) in hud_show_weapons()
2587 if (player_info.powerup_flags & PLAYER_FLAGS_QUAD_LASERS) in draw_weapon_info_sub()
2961 if (player_info.powerup_flags & PLAYER_FLAGS_AFTERBURNER) in sb_draw_afterburner()
3504 const auto &pl_flags = objp->ctype.player_info.powerup_flags; in show_HUD_names()
3750 auto &pl_flags = player_info.powerup_flags; in render_gauges()
3785 if (player_info.powerup_flags & PLAYER_FLAGS_INVULNERABLE) in render_gauges()
3794 newdemo_record_player_flags(player_info.powerup_flags.get_player_flags()); in render_gauges()
3796 draw_keys_state(hudctx, player_info.powerup_flags).draw_all_cockpit_keys(); in render_gauges()
[all …]
H A Dfuelcen.cpp745 if (player_info.powerup_flags & PLAYER_FLAGS_FLAG)
747 player_info.powerup_flags &= ~PLAYER_FLAGS_FLAG;
766 player_info.powerup_flags &= ~PLAYER_FLAGS_FLAG;
H A Dcontrols.cpp112 if (player_info.powerup_flags & PLAYER_FLAGS_AFTERBURNER) in read_flying_controls()
H A Dweapon.cpp966 const auto max = PLAYER_MAX_AMMO(player_info.powerup_flags, Secondary_ammo_max[weapon_index]); in pick_up_secondary()
1177 const auto max = PLAYER_MAX_AMMO(player_info.powerup_flags, VULCAN_AMMO_MAX); in pick_up_vulcan_ammo()
1512 if ((player_info.powerup_flags & PLAYER_FLAGS_QUAD_LASERS) && !GrantedItems.has_quad_laser()) in DropCurrentWeapon()
1596 player_info.powerup_flags &= ~PLAYER_FLAGS_QUAD_LASERS; in DropCurrentWeapon()
H A Dgame.cpp1060 auto &pl_flags = player_info.powerup_flags; in do_cloak_stuff()
1080 auto &pl_flags = player_info.powerup_flags; in do_invulnerable_stuff()
1123 const auto have_afterburner = player_info.powerup_flags & PLAYER_FLAGS_AFTERBURNER; in do_afterburner_stuff()
1948 init_ai_frame(player_info.powerup_flags, Controls); in GameProcessFrame()
1951 auto &pl_flags = player_info.powerup_flags; in GameProcessFrame()
H A Dstate.cpp728 pl_rw->flags = pl_info.powerup_flags.get_player_flags(); in state_player_to_player_rw()
763 …if (!(pl_info.powerup_flags & PLAYER_FLAGS_CLOAKED) || pl_info.cloak_time - GameTime64 < F1_0*(-18… in state_player_to_player_rw()
767 …if (!(pl_info.powerup_flags & PLAYER_FLAGS_INVULNERABLE) || pl_info.invulnerable_time - GameTime64… in state_player_to_player_rw()
797 pl_info.powerup_flags = player_flags(pl_rw->flags); in state_player_rw_to_player()
1985 pl_info.powerup_flags |= (plrobj.ctype.player_info.powerup_flags & in state_restore_all_sub()
2490 Netgame.net_player_flags[i] = pi.powerup_flags; in state_restore_all_sub()
H A Dlaser.cpp722 …D1 && is_laser_weapon_type(weapon_type) && (parent->ctype.player_info.powerup_flags & PLAYER_FLAGS… in Laser_create_new()
1003 …if ((objp == get_local_player().objnum) && (objp->ctype.player_info.powerup_flags & PLAYER_FLAGS_C… in object_is_trackable()
1145 if (curobjp->ctype.player_info.powerup_flags & PLAYER_FLAGS_CLOAKED) in find_homing_object_complete()
1830 if (player_info.powerup_flags & PLAYER_FLAGS_QUAD_LASERS) in do_laser_firing_player()
2179 if (curobjp->ctype.player_info.powerup_flags & PLAYER_FLAGS_CLOAKED) in create_smart_children()
H A Dcntrlcen.cpp395 …const auto &player_pos = (player_info.powerup_flags & PLAYER_FLAGS_CLOAKED) ? Believed_player_pos … in do_controlcen_frame()
H A Dobject.cpp419 auto &player_flags = obj->ctype.player_info.powerup_flags; in draw_polygon_object()
447 if (obj->type==OBJ_PLAYER && (obj->ctype.player_info.powerup_flags & PLAYER_FLAGS_CLOAKED)) in draw_polygon_object()
1344 player_info.powerup_flags &= ~PLAYER_FLAGS_INVULNERABLE; in dead_player_end()
1481 player_info.powerup_flags &= ~PLAYER_FLAGS_HEADLIGHT_ON; in dead_player_frame()
H A Dautomap.cpp995 …_segment_visibility(LevelUniqueAutomapState, plrobj.ctype.player_info.powerup_flags & PLAYER_FLAGS… in recompute_automap_segment_visibility()
1570 …if ((cheats.fullautomap || player_info.powerup_flags & PLAYER_FLAGS_MAP_ALL) && !LevelUniqueAutoma… in add_segment_edges()
H A Dwall.cpp1119 wall_hit_process_t wall_hit_process(const player_flags powerup_flags, const vmsegptridx_t seg, cons… in wall_hit_process() argument
1171 if (!(powerup_flags & static_cast<PLAYER_FLAG>(w->keys))) in wall_hit_process()
H A Daipath.cpp366 #define AI_DOOR_OPENABLE_PLAYER_FLAGS player_info.powerup_flags, in create_path_points()
H A Dfireball.cpp1011 …if ((player_info.powerup_flags & PLAYER_FLAGS_QUAD_LASERS) || weapon_nearby(vcobjptridx, vcsegptr,… in maybe_replace_powerup_with_energy()
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/main/
H A Dfwd-player.h39 #define PLAYER_MAX_AMMO(powerup_flags,BASE) ((powerup_flags & PLAYER_FLAGS_AMMO_RACK) ? BASE * 2 : … argument
51 #define PLAYER_MAX_AMMO(powerup_flags,BASE) (static_cast<void>(powerup_flags), BASE) argument
H A Dai.h259 …st vmobjptr_t &robot, const vcsegidx_t &start_seg, const player_flags powerup_flags, std::array<se… in create_bfs_list() argument
261 return create_bfs_list(robot, start_seg, powerup_flags, bfs_list.data(), N); in create_bfs_list()
H A Dobject.h135 player_flags powerup_flags; member
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/d2x-rebirth/main/
H A Descort.cpp207 return ai_door_is_openable(robot, powerup_flags, segp, sidenum); in segment_is_reachable()
261 if (segment_is_reachable(robot, cursegp, i, powerup_flags)) { in create_bfs_list()
882 const auto powerup_flags = player_info.powerup_flags; in escort_create_path_to_goal() local
899 goal_seg = escort_get_goal_segment(objp, OBJ_CNTRLCEN, -1, powerup_flags); in escort_create_path_to_goal()
916 const auto &&ef = exists_fuelcen_in_mine(objp->segnum, powerup_flags); in escort_create_path_to_goal()
930 goal_seg = escort_get_goal_segment(objp, OBJ_POWERUP, -1, powerup_flags); in escort_create_path_to_goal()
933 goal_seg = escort_get_goal_segment(objp, OBJ_ROBOT, -1, powerup_flags); in escort_create_path_to_goal()
936 goal_seg = escort_get_goal_segment(objp, OBJ_HOSTAGE, -1, powerup_flags); in escort_create_path_to_goal()
1571 auto &plr_flags = playerobjp->ctype.player_info.powerup_flags; in maybe_steal_flag_item()
2009 next_goal = escort_set_goal_object(plrobj.ctype.player_info.powerup_flags); in do_escort_menu()
[all …]

12