dxx-rebirth/common/main
Kp cf51ac4ee0 Fix BUG on show-path cheat
Players are not robots, but the show-path cheat tried to pretend they
are, and triggered a BUG warning[1] when looking up robot information
from the player object.  Fix this by passing in the robot_info when the
caller is providing a robot, and a named `nullptr` value (as
`create_path_unused_robot_info`) when the caller is providing a
non-robot object.

[1] As below, but repeated many times
```
similar/main/ai.cpp:1905: BUG: object 0x555555858550 has type 4, expected 2
similar/main/ai.cpp:1974: BUG: object 0x555555858550 has type 4, expected 2
```
2022-05-21 19:51:18 +00:00
..
ai.h Fix BUG on show-path cheat 2022-05-21 19:51:18 +00:00
aistruct.h Tighten index handling for Ai_transition_table 2022-01-08 17:48:09 +00:00
automap.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
bm.h Use enum class for cockpit_mode_t 2022-02-12 18:57:12 +00:00
cast_range_result.h
cli.cpp Return string width/height from gr_get_string_size 2021-09-12 16:20:52 +00:00
cli.h
cmd.cpp Tighten type info for d_strdup 2022-04-24 20:42:01 +00:00
cmd.h
cntrlcen.h Validate control center trigger sides on load 2022-01-09 15:25:42 +00:00
collide.h Use enumerated_array for shared_segment::sides 2022-01-15 20:39:10 +00:00
config.h
controls.h
credits.h
cvar.cpp
cvar.h
d_array.h Use enumerated_array for indexing player input controls 2022-02-27 14:23:53 +00:00
d_bitset.h
d_crange.h Flatten constant_xrange hierarchy 2022-02-27 14:23:53 +00:00
d_enumerate.h Split player start generation 2022-02-19 14:52:17 +00:00
d_levelstate.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
d_range.h Tighten symbol visibility for xrange 2022-03-05 17:23:51 +00:00
d_srcloc.h
d_zip.h Pass range index_type through zip_iterator 2022-02-13 19:13:38 +00:00
digi.h Use sidenum_t in more places 2022-02-19 14:52:17 +00:00
effects.h Use enumerated_array for unique_segment::sides 2022-01-15 20:39:10 +00:00
endlevel.h
ephemeral_range.h Flatten type hierarchy for enumerated_iterator 2022-02-19 14:52:17 +00:00
escort.h Pass context to drop_stolen_items 2022-02-05 13:30:56 +00:00
fireball.h Split powerup.h to fwd-powerup.h 2022-02-12 18:57:12 +00:00
fuelcen.h Use enum class for station_number 2021-11-01 03:37:20 +00:00
fvi.h Use enumerated_array for shared_segment::sides 2022-01-15 20:39:10 +00:00
fwd-d_array.h
fwd-game.h Use sidenum_t in more places 2022-02-19 14:52:17 +00:00
fwd-inferno.h Split inferno.h to fwd-inferno.h 2022-02-12 18:57:12 +00:00
fwd-object.h Move static obj_* functions into anonymous namespace 2022-04-17 22:27:19 +00:00
fwd-player.h
fwd-powerup.h Split powerup.h to fwd-powerup.h 2022-02-12 18:57:12 +00:00
fwd-segment.h Use sidenum_t in more places 2022-02-19 14:52:17 +00:00
fwd-vclip.h
fwd-wall.h Pass LevelUniqueWallSubsystemState to wall_init 2022-04-17 22:27:19 +00:00
fwd-weapon.h Fix BUG on show-path cheat 2022-05-21 19:51:18 +00:00
game.h Use enum class for cockpit_mode_t 2022-02-12 18:57:12 +00:00
gamefont.h Make font scaling constructors explicit 2021-09-19 10:53:48 +00:00
gamemine.h
gamepal.h
gameplayopt.h
gamesave.h
gameseg.h Use sidenum_t in more places 2022-02-19 14:52:17 +00:00
gameseq.h Split inferno.h to fwd-inferno.h 2022-02-12 18:57:12 +00:00
gauges.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
hostage.h
hudmsg.h
inferno.h Split inferno.h to fwd-inferno.h 2022-02-12 18:57:12 +00:00
kconfig.h Reduce lifetime of joy_axis 2022-02-27 14:23:53 +00:00
kmatrix.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
laser.h Use enum class for weapon_sound_flag 2022-04-24 20:42:01 +00:00
lighting.h
menu.h
mission.h Expand macro Current_mission_longname 2021-11-01 03:37:19 +00:00
morph.h
multi.h Propagate do_laser_firing nfires as 1 2022-04-17 22:27:19 +00:00
multibot.h Pass object& to multi_drop_robot_powerups 2022-02-05 13:30:56 +00:00
multiinternal.h Improve vulcan/gauss pickup rules 2022-02-05 13:30:56 +00:00
net_udp.h Use enum class for network_game_type 2021-11-01 03:37:19 +00:00
newdemo.h Use sidenum_t in more places 2022-02-19 14:52:17 +00:00
newmenu.h Save parent canvas in listbox_layout 2021-09-12 16:20:52 +00:00
nvparse.h
object.h Move object_rw to namespace dsx 2022-01-09 15:25:42 +00:00
objnum.h
paging.h
physfsrwops.h
physics.h
physics_info.h
piggy.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
player-callsign.h Remove unused return value of callsign_t::copy 2022-05-10 01:58:55 +00:00
player-flags.h
player.h Only prepare pause time if it will be shown 2021-09-12 16:20:52 +00:00
playsave.h Use enumerated_array for indexing player input controls 2022-02-27 14:23:53 +00:00
polyobj.h
powerup.h Split powerup.h to fwd-powerup.h 2022-02-12 18:57:12 +00:00
render.h Use enum sidenum_t in more places 2022-01-09 15:25:42 +00:00
render_state.h
robot.h Fix BUG on show-path cheat 2022-05-21 19:51:18 +00:00
scores.h Pass canvas to scores_view_menu 2021-09-19 10:53:48 +00:00
screens.h Disallow direct construction of grs_canvas 2021-09-04 12:17:14 +00:00
segiter.h
segment.h Simplify susegment constructor overloads 2022-04-17 22:27:19 +00:00
segpoint.h
selfiter.h
slew.h
songs.h
sounds.h Fix some check_header_includes=1 failures 2022-02-12 18:57:12 +00:00
state.h Pass canvas to savegame_chooser_newmenu 2021-09-19 10:53:48 +00:00
switch.h Inline trigger_init 2022-04-17 22:27:19 +00:00
terrain.h
texmerge.h Move grs_main_bitmap earlier in the header 2021-09-04 12:17:14 +00:00
text.h
textures.h
titles.h
valptridx.tcc
vclip.h
vers_id.h
wall.h Fix LTO ODR build failure in wall.h 2022-04-17 22:27:19 +00:00
weapon.h Use enum class for weapon_info::persistent 2021-09-19 10:53:48 +00:00
weapon_id.h