dxx-rebirth/common
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
..
2d Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
3d Convert local arrays to array<> 2015-04-19 04:18:49 +00:00
arch Use unique_ptr to manage GLsync fence 2015-05-09 17:39:01 +00:00
editor
include Add non-aborting UserError for user-caused fatal errors 2015-06-16 03:15:40 +00:00
main Only respawn when the player presses fire 2015-06-20 16:16:43 +00:00
maths Preprocess out EDITOR-only vm_vec_ang_2_matrix 2015-06-02 03:03:32 +00:00
misc Add non-aborting UserError for user-caused fatal errors 2015-06-16 03:15:40 +00:00
texmap Enable -Wcast-qual 2015-06-13 22:42:21 +00:00
ui Add non-aborting UserError for user-caused fatal errors 2015-06-16 03:15:40 +00:00