Jonathan G Rennison
dbd99707b6
Merge branch 'master' into save_ext
2016-11-11 18:27:24 +00:00
frosch
3f75b8bca2
(svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) threads. (JGR)
2016-10-30 17:29:33 +00:00
Jonathan G Rennison
94d3700f79
SaveLoad: Add support for saving/loading from a std::vector<T *>
2016-09-13 22:56:16 +01:00
Jonathan G Rennison
c752da3a9e
SaveLoad: Add support for saving/loading from a std::deque<T *>
2016-09-13 22:56:16 +01:00
Jonathan G Rennison
a6e0b1ac7d
Merge branch 'cpp-11' into save_ext
2016-09-05 23:17:02 +01:00
alberth
f286ba8db2
(svn r27653) -Fix(r27647): Rename FileOperation enum and values to SaveLoadOperation to avoid nameclash with windows compiler toolkit.
2016-09-04 16:06:50 +00:00
alberth
0b8869930f
(svn r27652) -Fix(r27650): Use the file operation being performed to set the _sl.action variable.
2016-09-04 15:10:41 +00:00
alberth
e735bbebce
(svn r27651) -Codechange: Introduce methods for setting the name and title of _file_to_saveload.
2016-09-04 12:58:04 +00:00
alberth
a959c0c965
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
2016-09-04 12:57:43 +00:00
alberth
c3bed437ee
(svn r27649) -Codechange: Introduce detailed file type enum, rebuild FiosType with it.
2016-09-04 12:57:20 +00:00
alberth
b6c29ae4eb
(svn r27639) -Codechange: Also always set the abstract FileToSaveLoad::filetype when setting a mode.
2016-09-04 12:47:39 +00:00
alberth
e78627f2f1
(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function.
2016-09-04 12:47:07 +00:00
alberth
a35e970ab0
(svn r27635) -Codechange: Move FileType and FileToSaveLoad structure definitions.
2016-09-04 12:45:40 +00:00
Jonathan G Rennison
e6c7134935
Merge branch 'master' into save_ext
...
# Conflicts:
# src/saveload/saveload.cpp
2016-09-02 22:21:28 +01:00
frosch
2337d169e8
(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.
2016-08-15 18:32:48 +00:00
frosch
2de4652d09
(svn r27572) -Fix [FS#6442]: Convenience savegame bump to distinguish 1.6 savegames from 1.5 savegames.
2016-05-22 10:10:17 +00:00
frosch
fbd79d88f0
(svn r27518) -Update: Numbers
2016-03-01 20:00:22 +00:00
Jonathan G Rennison
1234bdb07c
Fix compilation issue with MSVC due to ordering of noreturn and cdecl.
2015-10-31 10:51:58 +00:00
Jonathan G Rennison
86dea90c4f
save_ext: Initial support for save/load of RIFF chunk sizes > 28 bits.
...
Add a chunk extension header with a flag for increased RIFF size.
2015-09-11 22:37:36 +01:00
Jonathan G Rennison
e30d7c2164
Save/load ext: Fix SlXvSetCurrentState being called before AfterLoadGame().
2015-08-07 20:12:25 +01:00
Jonathan G Rennison
5d680d9154
Implement version setting in SlXvSetCurrentState
...
Call in ClearSaveLoadState
2015-08-01 18:03:07 +01:00
Jonathan G Rennison
bde094fe01
Initial implementation of SLXI chunk save/load
2015-08-01 12:58:53 +01:00
Jonathan G Rennison
a3980dc6ba
Move SlRead/SlWrite functions to saveload.h
...
Add SlGetBytesRead and SlGetBytesWritten functions.
2015-08-01 12:26:22 +01:00
Jonathan G Rennison
4508cfbf93
Add format-style versions of SlError and SlErrorCorrupt.
2015-08-01 12:26:22 +01:00
Jonathan G Rennison
17e8693e62
Initial stubs for extending the save/load version checking/upgrade code,
...
with support for tests on individually versioned features as well as
savegame versions.
This is mainly for improved handling of features added to patchpacks.
The current status-quo of picking a random number for the savegame
version when releasing a patch breaks loading of savegames from newer
trunk savegame versions, with or without the same patch applied, as
savegame upgrade code is not run, which can also lead to crashes on load.
Instead don't change the savegame version (but set the high bit to
keep trunk versions away), but instead include the versions of individual
features using a separate mechanism.
2015-08-01 12:26:22 +01:00
frosch
17d9b77db6
(svn r27278) -Fix: Handle savegames with an unexpected amount of industry-builder or NewGRF entity-mapping more gracefully.
2015-05-09 10:04:50 +00:00
frosch
2edbc72ebd
(svn r27192) -Change: heading for 1.6 now
2015-03-17 20:33:44 +00:00
rubidium
660a95e5d2
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
2014-10-12 18:41:53 +00:00
rubidium
b50c649405
(svn r26881) -Codechange: bump the savegame version
2014-09-21 11:28:29 +00:00
alberth
44d2f6a988
(svn r26802) -Add: Command to set visibility of an engine for a company (based on patch by Juanjo).
2014-09-07 16:12:58 +00:00
rubidium
a1f31b735a
(svn r26700) -Fix [FS#6066]: incorrect saving of order backups
2014-07-21 18:03:32 +00:00
fonsinchen
bdde95513a
(svn r26650) -Fix [FS#6041]: Support save/load chunk lengths of up to (1 << 32) - 1
2014-06-17 06:13:38 +00:00
fonsinchen
ef2caa02b2
(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size.
2014-06-14 13:35:39 +00:00
rubidium
4c6c4677fa
(svn r26591) -Add: some instrumentation to catch most cases where the wrong number of bytes would be written into variables during loading (or read during saving)
2014-05-16 17:41:55 +00:00
fonsinchen
7c9ef443e3
(svn r26551) -Fix: document revision number for latest savegame version change
2014-05-01 14:56:33 +00:00
fonsinchen
c81a6070cb
(svn r26547) -Codechange: Collect order travel and wait times independent of timetables
2014-05-01 14:49:16 +00:00
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
2014-04-25 15:40:32 +00:00
rubidium
6ecc602050
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
2014-04-23 21:12:09 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
peter1138
ed8f6f1a0f
(svn r26450) -Feature: Hierarchical vehicle subgroups.
2014-04-08 21:09:06 +00:00
frosch
e511805439
(svn r26409) -Update: Version number in some more places.
2014-03-17 20:16:05 +00:00
frosch
7fcae50579
(svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve.
2013-12-22 11:55:07 +00:00
rubidium
089d75e250
(svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught
2013-11-25 22:22:32 +00:00
rubidium
a6fae2c608
(svn r26058) -Fix: handle the return value of a number of functions better
2013-11-23 13:15:07 +00:00
fonsinchen
809df5aaf6
(svn r25900) -Change [FS#5677]: Allow restricted flows to be picked for kept cargo.
2013-10-22 16:15:59 +00:00
fonsinchen
7025a145e3
(svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore.
2013-10-22 16:13:54 +00:00
frosch
336dc88c19
(svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion.
2013-10-13 10:51:58 +00:00
frosch
d9d978d6d2
(svn r25833) -Codechange: Move ObjectType from map array into pool item.
2013-10-12 16:30:42 +00:00
zuu
4b036690e2
(svn r25620) -Fix (r25342): Save/load of story books were broken
2013-07-21 13:18:45 +00:00
rubidium
1c1a774475
(svn r25510) -Fix: forgot to update some documentation
2013-06-29 09:51:03 +00:00