dxx-rebirth/common/main
Chris Taylor 0c5a000328 Remove call to window_close(Game_wind) when a network event tells us to end the game
In multi_do_frame(), replace call to window_close(Game_wind) with returning window_event_result::close whenever multi_quit_game is true. Only using this return value where multi_do_frame() is directly called by GameProcessFrame(). multi_quit_game will only be set back to 0 when a new multi game is started.

Closing a window within its handler is problematic - it can result in an unstable state.
2017-01-10 14:10:39 +08:00
..
ai.h
aistruct.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
automap.h
bm.h
cli.cpp Pass font to gr_get_string_size 2017-01-08 22:31:59 +00:00
cli.h
cmd.cpp
cmd.h
cntrlcen.h Remove calls to window_close(Game_wind) when game finished or over 2017-01-08 21:08:50 +08:00
collide.h Remove calls to window_close(Game_wind) when game finished or over 2017-01-08 21:08:50 +08:00
config.h
controls.h
credits.h
cvar.cpp
cvar.h
d_enumerate.h
digi.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
effects.h Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
endlevel.h Remove calls to window_close(Game_wind) when game finished or over 2017-01-08 21:08:50 +08:00
escort.h
fireball.h
fuelcen.h
fvi.h
fwd-object.h Remove calls to window_close(Game_wind) when game finished or over 2017-01-08 21:08:50 +08:00
fwd-player.h
fwd-segment.h Split valptridx declarations 2016-12-24 18:12:17 +00:00
fwd-wall.h Split valptridx declarations 2016-12-24 18:12:17 +00:00
fwd-weapon.h Fix uninitialized value usage during init_player_stats_new_ship 2016-12-25 00:33:25 +00:00
game.h Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
gamefont.h
gamemine.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
gamepal.h
gamesave.h
gameseg.h
gameseq.h Remove call to window_close(Game_wind) when multiplayer level syncing fails 2017-01-10 13:02:59 +08:00
gauges.h
hostage.h
hudmsg.h
inferno.h
kconfig.h
kmatrix.h
laser.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
lighting.h
menu.h
mission.h
morph.h
multi.h Remove call to window_close(Game_wind) when a network event tells us to end the game 2017-01-10 14:10:39 +08:00
multibot.h
multiinternal.h
net_udp.h Remove call to window_close(Game_wind) when multiplayer level syncing fails 2017-01-10 13:02:59 +08:00
newdemo.h Remove call to window_close(Game_wind) when stopping demo playback 2017-01-09 19:09:34 +08:00
newmenu.h
nvparse.h
object.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
objnum.h
paging.h
physics.h Remove calls to window_close(Game_wind) when game finished or over 2017-01-08 21:08:50 +08:00
piggy.h
player-callsign.h
player-flags.h
player.h Initialize obsolete fields 2017-01-01 23:19:21 +00:00
playsave.h
polyobj.h
powerup.h
render.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
render_state.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
robot.h
scores.h
screens.h
segiter.h
segment.h Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
segpoint.h
slew.h
songs.h
sounds.h
state.h Remove call to window_close(Game_wind) when multiplayer level syncing fails 2017-01-10 13:02:59 +08:00
switch.h Remove calls to window_close(Game_wind) when game finished or over 2017-01-08 21:08:50 +08:00
terrain.h
texmerge.h
text.h
textures.h
titles.h
valptridx.tcc
vclip.h
vers_id.h
wall.h Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
weapon.h
weapon_id.h