dhewm3/neo/framework
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
..
async Master server working again 2020-05-28 00:18:54 +02:00
minizip A little change to minizips ioapi.h for OpenBSD 2018-11-23 00:20:02 +01:00
BuildDefines.h Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
BuildVersion.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
CmdSystem.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
CmdSystem.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Common.cpp Support reproducible builds, fixes #172 2020-07-13 01:33:40 +02:00
Common.h Modify check for Demo version to not break Game DLL ABI 2019-01-07 15:06:59 +01:00
Compressor.cpp Use int instead of long in idCompressor_Arithmetic methods 2012-06-28 13:02:46 +02:00
Compressor.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Console.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
Console.h Make console history persistent 2012-11-13 23:21:38 +01:00
CVarSystem.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
CVarSystem.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclAF.cpp Fixing some spelling errors: s/unkown/unknown, s/seperate/separate. (#107) 2015-02-25 22:01:00 +01:00
DeclAF.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclEntityDef.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclEntityDef.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclFX.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclFX.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclManager.cpp More logging cleanup 2012-07-20 00:12:55 +02:00
DeclManager.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclParticle.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclParticle.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclPDA.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclPDA.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclSkin.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclSkin.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclTable.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DeclTable.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DemoChecksum.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DemoFile.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
DemoFile.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EditField.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EditField.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EventLoop.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
EventLoop.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
File.cpp Replace custom unzip functions with standard ones 2013-06-12 00:07:09 +02:00
File.h Replace custom unzip functions with standard ones 2013-06-12 00:07:09 +02:00
FileSystem.cpp Make sure / or C:\ doesn't get search by idFileSystemLocal::ListMods() 2020-07-20 02:19:11 +02:00
FileSystem.h Fix crash when selecting nonexistant texture in D3Radiant 2019-03-10 05:11:33 +01:00
Game.h idCommon::SetCallback() and GetAdditionalFunction() - for Mods 2018-09-30 05:06:20 +02:00
GameCallbacks_local.h idCommon::SetCallback() and GetAdditionalFunction() - for Mods 2018-09-30 05:06:20 +02:00
KeyInput.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
KeyInput.h Recreate s_scantokey_* tables in win_input.cpp to fix MinGW build 2019-06-17 03:50:07 +02:00
Licensee.h 1.5.1 RC2 2020-07-21 15:01:15 +02:00
Session.cpp Don't use translation in Autosave filenames, fixes #305 2020-08-02 03:48:25 +02:00
Session.h Modify check for Demo version to not break Game DLL ABI 2019-01-07 15:06:59 +01:00
Session_local.h Don't use translation in Autosave filenames, fixes #305 2020-08-02 03:48:25 +02:00
Session_menu.cpp Get rid of ID_DEMO_BUILD 2012-07-03 21:12:55 +02:00
Unzip.h Use updated minizip version for unzip 2013-06-12 00:07:09 +02:00
UsercmdGen.cpp s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
UsercmdGen.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00