dhewm3/neo
Daniel Gibson 7d2bda07a3 Don't use translation in Autosave filenames, fixes #305
idSessionLocal::SaveGame() uses saveName for both the description in
savegames/bla.txt and the filename itself ("bla" in this case), which
is a "scrubbed" version of that string ("file extension" removed,
problematic chars replaced with '_').
In case of Autosaves, MoveToNewMap() passes a translated name of the
map as saveName, which makes sense for the description, but not so much
for the filename.
In Spanish the Alpha Labs names are like "LAB. ALFA 1", "LAB. ALFA 2" ..
and everything after "LAB" is cut off as a file extension - so every
autosave of an Alpha Labs part overwrites the last one, as they all get
the same name...

The solution is to pass an additional (optional) argument saveFileName
to idSessionLocal::SaveGame(), and for autosaves pass the mapname
(which is the filename without .map; yes, it might contain slashes,
but the scrubber will turn them into _) instead of the translated name
as saveFileName.
2020-08-02 03:48:25 +02:00
..
cm Disable Assertions in Release builds 2018-11-11 23:21:23 +01:00
d3xp Fix lingering messages in HUD after loading savegame 2020-07-27 03:39:12 +02:00
framework Don't use translation in Autosave filenames, fixes #305 2020-08-02 03:48:25 +02:00
game Fix lingering messages in HUD after loading savegame 2020-07-27 03:39:12 +02:00
idlib Fix handling of paths with dots in dir names, fix #299, #301 2020-07-21 05:58:44 +02:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer (Hopefully) fix Editors messing up game viewport for good, fix #300 2020-07-20 05:01:51 +02:00
sound Update sounds at ~60Hz instead of ~10Hz, fixes #141 2020-07-12 04:43:53 +02:00
sys Make switching from Radiant to game work 2020-07-20 05:06:57 +02:00
tools (Hopefully) fix Editors messing up game viewport for good, fix #300 2020-07-20 05:01:51 +02:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Fixed SIGSEGV caused to references to already deleted data values in idWindow ops and updateVars 2020-05-30 05:28:40 +02:00
CMakeLists.txt Support reproducible builds, fixes #172 2020-07-13 01:33:40 +02:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00