dxx-rebirth/similar/main
Kp 29aa820dc0 Only respawn when the player presses fire
Only respawn when the player presses a fire key/button (primary,
secondary, or flare).  Only clear primary, second, flare, and bomb when
respawning.  This allows dead players to use the automap or change their
camera views.

This is a necessary step to flushing only the firing inputs on respawn,
as requested by Mako88 in
<https://github.com/dxx-rebirth/dxx-rebirth/issues/104>.  Currently,
inputs are flushed again by the activation of the game window, so
respawn still flushes all inputs.

	#1  0x00005555555cee19 in game_flush_inputs () at similar/main/game.cpp:374
	#2  game_handler (event=...) at similar/main/game.cpp:1114
	#3  0x0000555555576113 in window_send_event (wind=..., event=...) at common/arch/sdl/window.cpp:208
	#4  0x000055555557627b in WINDOW_SEND_EVENT (file=0x5555556dc126 "common/arch/sdl/window.cpp", e=0x5555556dc141 "EVENT_WINDOW_ACTIVATED", line=179, event=..., w=...) at common/include/window.h:111
	#5  window_set_visible (w=..., visible=visible@entry=1) at common/arch/sdl/window.cpp:179
	#6  0x00005555555e90f5 in window_set_visible (visible=1, wind=<optimized out>) at common/include/window.h:90
	#7  DoPlayerDead () at similar/main/gameseq.cpp:1479
	#8  0x000055555563ed65 in dead_player_frame () at similar/main/object.cpp:1486
	#9  0x00005555555cf4df in GameProcessFrame () at similar/main/game.cpp:1329
	#10 game_handler (event=...) at similar/main/game.cpp:1157
2015-06-20 16:16:43 +00:00
..
ai.cpp Use valptr for ai highest_valid 2015-06-13 22:42:16 +00:00
aipath.cpp Use valptr for aipath highest_valid 2015-06-13 22:42:16 +00:00
automap.cpp Use valptr for automap highest_valid 2015-06-13 22:42:16 +00:00
bm.cpp Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
cntrlcen.cpp Use valptr for cntrlcen highest_valid 2015-06-13 22:42:16 +00:00
collide.cpp Hack around buggy clang constant warning 2015-06-13 22:42:19 +00:00
config.cpp Use screen_mode for screen resolution 2015-05-14 02:23:13 +00:00
console.cpp Cache font LINE_SPACING 2015-06-13 22:42:22 +00:00
controls.cpp
credits.cpp Enable -Wunused-parameter 2015-04-26 20:15:56 +00:00
digiobj.cpp Pass vcsegptridx to digi_link_sound_to_pos 2015-05-28 03:08:39 +00:00
dumpmine.cpp Use valptr for dumpmine highest_valid 2015-06-13 22:42:16 +00:00
effects.cpp
endlevel.cpp Use valptr for endlevel highest_valid 2015-06-13 22:42:16 +00:00
fireball.cpp Make objnum unsigned 2015-06-13 22:42:15 +00:00
fuelcen.cpp Use valptr for fuelcen highest_valid 2015-06-13 22:42:17 +00:00
fvi.cpp Convert segnum_t to uint16_t 2015-06-13 22:42:15 +00:00
game.cpp Only respawn when the player presses fire 2015-06-20 16:16:43 +00:00
gamecntl.cpp Only respawn when the player presses fire 2015-06-20 16:16:43 +00:00
gamefont.cpp Convert most global arrays to array<> 2015-04-02 02:36:52 +00:00
gamemine.cpp Use valptr for gamemine highest_valid 2015-06-13 22:42:17 +00:00
gamerend.cpp Cache font LINE_SPACING 2015-06-13 22:42:22 +00:00
gamesave.cpp Use valptr for gamesave highest_valid 2015-06-13 22:42:17 +00:00
gameseg.cpp Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
gameseq.cpp Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
gauges.cpp Cache font LINE_SPACING 2015-06-13 22:42:22 +00:00
hostage.cpp Reduce gauges.h includes 2015-04-19 04:18:51 +00:00
hud.cpp Only respawn when the player presses fire 2015-06-20 16:16:43 +00:00
iff.cpp
inferno.cpp Remove bogus backspace Int3 2015-05-23 17:25:56 +00:00
kconfig.cpp Cache font space results 2015-06-13 22:42:20 +00:00
kmatrix.cpp Cache font scale Y float 2015-06-13 22:42:20 +00:00
laser.cpp Shorten calc_d_homer_tick 2015-05-30 16:53:49 +00:00
lighting.cpp Use valptr for lighting highest_valid 2015-06-13 22:42:17 +00:00
menu.cpp Cache font LINE_SPACING 2015-06-13 22:42:22 +00:00
mglobal.cpp Using one global yet independent timeer for homing missiles similar to d_tick instead of having one in each missile object. Also decreased HOMING_TURNING_TIME to 25 FPS base 2015-05-30 18:29:41 +02:00
mission.cpp Store PHYSFS_list element count in list when needed 2015-05-09 17:38:57 +00:00
morph.cpp Convert most global arrays to array<> 2015-04-02 02:36:52 +00:00
multi.cpp Cache multi_do_light side array 2015-06-13 22:42:22 +00:00
multibot.cpp Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
net_udp.cpp Make Spawn invulnerability a slider in 0s-4s 2015-06-13 22:42:22 +00:00
newdemo.cpp Propagate swap_bytes argument for create_shortpos 2015-06-13 22:42:21 +00:00
newmenu.cpp Cache font LINE_SPACING 2015-06-13 22:42:22 +00:00
object.cpp Use valptr for object highest_valid 2015-06-13 22:42:18 +00:00
paging.cpp Use valptr for paging highest_valid 2015-06-13 22:42:18 +00:00
physics.cpp Fix array overread 2015-04-19 19:12:33 +00:00
piggy.cpp Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
player.cpp
playsave.cpp Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
polyobj.cpp Always parse WORDS_BIGENDIAN and !WORDS_BIGENDIAN 2015-06-13 22:42:21 +00:00
powerup.cpp Wrap laser level in class 2015-04-26 20:15:56 +00:00
render.cpp Merge "Clang fixes" from btb 2015-05-24 17:13:13 +00:00
robot.cpp Use enum class for AIB constants 2015-04-26 20:15:51 +00:00
scores.cpp Cache font scale Y float 2015-06-13 22:42:20 +00:00
segment.cpp
slew.cpp
songs.cpp
state.cpp Cache font scale Y float 2015-06-13 22:42:20 +00:00
switch.cpp Fix trigger_none checks 2015-04-26 20:15:50 +00:00
terrain.cpp Expand render_mine window_rendered_data helper inline 2015-05-05 03:20:42 +00:00
texmerge.cpp
text.cpp Convert most global arrays to array<> 2015-04-02 02:36:52 +00:00
titles.cpp Cache font scale X float 2015-06-13 22:42:20 +00:00
vclip.cpp
vers_id.cpp
wall.cpp Make Stuck_objects static 2015-06-13 22:42:21 +00:00
weapon.cpp Fix has_weapon_result -fno-inline build 2015-06-11 03:06:58 +00:00