dxx-rebirth/common
Kp 1a2cfa35ba Fix saving/loading games for missions in subdirectories
The historical savegame format cannot support finding a mission in a
subdirectory.  Add a backwards-incompatible modification to store the
full path in the savegame, and store it in a way that old versions will
fail gracefully.[1]  When loading demos, or legacy savegames, search for
the mission in all available directories.  Demos are still written with
an unqualified path because the demo loading code would crash if given
an oversized path.  Mission names sent over the network as part of
multiplayer use the guess logic now, so that guests do not need to have
the mission in the same path as the host.

[1] Versions affected by issue #486 may fail ungracefully.

Reported-by: AlumiuN <https://github.com/dxx-rebirth/dxx-rebirth/issues/491>
2020-01-18 21:57:39 +00:00
..
2d Move some SDL-only symbols into !DXX_USE_OGL 2019-08-06 02:59:41 +00:00
3d Move some SDL-only symbols into !DXX_USE_OGL 2019-08-06 02:59:41 +00:00
arch modify SConstruct to handle target platform; fix track finish detect code 2019-10-27 14:53:48 +02:00
editor
include Call arch_close before atexit hooks begin 2020-01-06 01:25:35 +00:00
main Fix saving/loading games for missions in subdirectories 2020-01-18 21:57:39 +00:00
maths
mem
misc Fix Windows build of hmp.cpp 2019-05-17 02:13:22 +00:00
music
texmap Fix fallthrough warning in ntmap.cpp [SDL only] 2019-07-07 22:00:02 +00:00
ui Use xrange for loops with zero start and constant numerical end 2019-05-04 18:27:36 +00:00
unittest