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.
9 years ago
Jonathan G Rennison
e30d7c2164
Save/load ext: Fix SlXvSetCurrentState being called before AfterLoadGame().
9 years ago
Jonathan G Rennison
5d680d9154
Implement version setting in SlXvSetCurrentState
...
Call in ClearSaveLoadState
9 years ago
Jonathan G Rennison
bde094fe01
Initial implementation of SLXI chunk save/load
9 years ago
Jonathan G Rennison
a3980dc6ba
Move SlRead/SlWrite functions to saveload.h
...
Add SlGetBytesRead and SlGetBytesWritten functions.
9 years ago
Jonathan G Rennison
4508cfbf93
Add format-style versions of SlError and SlErrorCorrupt.
9 years ago
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.
9 years ago
frosch
17d9b77db6
(svn r27278) -Fix: Handle savegames with an unexpected amount of industry-builder or NewGRF entity-mapping more gracefully.
9 years ago
frosch
3f55e5364e
(svn r27278) -Fix: Handle savegames with an unexpected amount of industry-builder or NewGRF entity-mapping more gracefully.
9 years ago
frosch
2edbc72ebd
(svn r27192) -Change: heading for 1.6 now
9 years ago
frosch
6477356dd2
(svn r27192) -Change: heading for 1.6 now
9 years ago
rubidium
660a95e5d2
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
10 years ago
rubidium
771dcf3b7b
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
10 years ago
rubidium
b50c649405
(svn r26881) -Codechange: bump the savegame version
10 years ago
rubidium
fedc1acd62
(svn r26881) -Codechange: bump the savegame version
10 years ago
alberth
44d2f6a988
(svn r26802) -Add: Command to set visibility of an engine for a company (based on patch by Juanjo).
10 years ago
alberth
f72ad87540
(svn r26802) -Add: Command to set visibility of an engine for a company (based on patch by Juanjo).
10 years ago
rubidium
a1f31b735a
(svn r26700) -Fix [FS#6066]: incorrect saving of order backups
10 years ago
rubidium
48d446ffeb
(svn r26700) -Fix [FS#6066]: incorrect saving of order backups
10 years ago
fonsinchen
bdde95513a
(svn r26650) -Fix [FS#6041]: Support save/load chunk lengths of up to (1 << 32) - 1
10 years ago
fonsinchen
37b1d36fb8
(svn r26650) -Fix [FS#6041]: Support save/load chunk lengths of up to (1 << 32) - 1
10 years ago
fonsinchen
ef2caa02b2
(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size.
10 years ago
fonsinchen
957f5ca117
(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size.
10 years ago
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)
10 years ago
rubidium
46792e58dd
(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)
10 years ago
fonsinchen
7c9ef443e3
(svn r26551) -Fix: document revision number for latest savegame version change
10 years ago
fonsinchen
2c11eeb39e
(svn r26551) -Fix: document revision number for latest savegame version change
10 years ago
fonsinchen
c81a6070cb
(svn r26547) -Codechange: Collect order travel and wait times independent of timetables
10 years ago
fonsinchen
3ee31a8f89
(svn r26547) -Codechange: Collect order travel and wait times independent of timetables
10 years ago
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
10 years ago
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
10 years ago
rubidium
6ecc602050
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
10 years ago
rubidium
5b82822c12
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
10 years ago
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
10 years ago
rubidium
0463dbdc9e
(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
10 years ago
peter1138
ed8f6f1a0f
(svn r26450) -Feature: Hierarchical vehicle subgroups.
10 years ago
peter1138
567d0ff3a7
(svn r26450) -Feature: Hierarchical vehicle subgroups.
10 years ago
frosch
e511805439
(svn r26409) -Update: Version number in some more places.
10 years ago
frosch
8ff9499fe2
(svn r26409) -Update: Version number in some more places.
10 years ago
frosch
7fcae50579
(svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve.
11 years ago
frosch
b02179bd8e
(svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve.
11 years ago
rubidium
089d75e250
(svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught
11 years ago
rubidium
77e5b1e3b2
(svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught
11 years ago
rubidium
a6fae2c608
(svn r26058) -Fix: handle the return value of a number of functions better
11 years ago
rubidium
0e9c992104
(svn r26058) -Fix: handle the return value of a number of functions better
11 years ago
fonsinchen
809df5aaf6
(svn r25900) -Change [FS#5677]: Allow restricted flows to be picked for kept cargo.
11 years ago
fonsinchen
bd230f34f4
(svn r25900) -Change [FS#5677]: Allow restricted flows to be picked for kept cargo.
11 years ago
fonsinchen
7025a145e3
(svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore.
11 years ago
fonsinchen
6524849386
(svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore.
11 years ago
frosch
336dc88c19
(svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion.
11 years ago
frosch
871519f75a
(svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion.
11 years ago
frosch
d9d978d6d2
(svn r25833) -Codechange: Move ObjectType from map array into pool item.
11 years ago
frosch
35d7e8bca4
(svn r25833) -Codechange: Move ObjectType from map array into pool item.
11 years ago
zuu
4b036690e2
(svn r25620) -Fix (r25342): Save/load of story books were broken
11 years ago
zuu
09897c5fd6
(svn r25620) -Fix (r25342): Save/load of story books were broken
11 years ago
rubidium
1c1a774475
(svn r25510) -Fix: forgot to update some documentation
11 years ago
rubidium
dd49c84363
(svn r25510) -Fix: forgot to update some documentation
11 years ago
rubidium
1cf6dad8f2
(svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
...
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
11 years ago
rubidium
f9c9ff6ec3
(svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
...
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
11 years ago
fonsinchen
9589715d3e
(svn r25363) -Codechange: bump the savegame version for cargodist
11 years ago
fonsinchen
0e5fa8d195
(svn r25363) -Codechange: bump the savegame version for cargodist
11 years ago
fonsinchen
111ecddb50
(svn r25358) -Codechange: save and load link graph jobs and the schedule
11 years ago
fonsinchen
3d0a0e8e48
(svn r25358) -Codechange: save and load link graph jobs and the schedule
11 years ago
zuu
65129db43c
(svn r25342) -Add: StoryPage data structures and GS API
11 years ago
zuu
9aa1bf0264
(svn r25342) -Add: StoryPage data structures and GS API
11 years ago
zuu
f23a61e1aa
(svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed.
11 years ago
zuu
a4cddc3e08
(svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed.
11 years ago
rubidium
6b746167e4
(svn r25259) -Codechange: track capacities and usage of links
11 years ago
rubidium
3947453277
(svn r25259) -Codechange: track capacities and usage of links
11 years ago
rubidium
6515371cf5
(svn r25258) -Codechange: save linkgraph (fonsinchen)
11 years ago
rubidium
0cc3d8df4b
(svn r25258) -Codechange: save linkgraph (fonsinchen)
11 years ago
rubidium
3aed6229b5
(svn r25136) -Merge: 1.3 release (documentation) updates
11 years ago
rubidium
327615c2ce
(svn r25136) -Merge: 1.3 release (documentation) updates
11 years ago
rubidium
7dd2354a13
(svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load improved loading) instead of calculating if for every cycle
12 years ago
rubidium
cdb0a76958
(svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load improved loading) instead of calculating if for every cycle
12 years ago
rubidium
58ec317c5a
(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138)
12 years ago
rubidium
ced17303c2
(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138)
12 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
frosch
9f0e8399b0
(svn r24810) -Fix: Make engine preview offers more robust wrt. changes in the company ranking.
12 years ago
frosch
0e4b212c45
(svn r24810) -Fix: Make engine preview offers more robust wrt. changes in the company ranking.
12 years ago
frosch
75eb34b48c
(svn r24795) -Fix (r24789): Unfinished patch.
12 years ago
frosch
d8fb8e6cfc
(svn r24795) -Fix (r24789): Unfinished patch.
12 years ago
frosch
9ef1c5f4c3
(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.
12 years ago
frosch
812ae4140a
(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.
12 years ago
alberth
19adc87262
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
12 years ago
alberth
732e073261
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
12 years ago
rubidium
d2b2e20818
(svn r24754) -Fix [FS#5367]: crash on corrupted savegame
12 years ago
rubidium
3a40a0f1e8
(svn r24754) -Fix [FS#5367]: crash on corrupted savegame
12 years ago
planetmaker
f46b2fd4b3
(svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx)
12 years ago
planetmaker
f2e94237fc
(svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx)
12 years ago
frosch
348f2d35be
(svn r24446) -Add [FS#5199]: Store more consist properties in order backups.
12 years ago
frosch
9527bad3a7
(svn r24446) -Add [FS#5199]: Store more consist properties in order backups.
12 years ago
alberth
4ae69a088d
(svn r24405) -Add: Save and load of active cargo monitors.
12 years ago
alberth
05aaf18d38
(svn r24405) -Add: Save and load of active cargo monitors.
12 years ago
michi_cc
72b3bb9dd5
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
12 years ago
michi_cc
6a70abbd99
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
12 years ago
michi_cc
92b3c26686
(svn r23973) -Fix (r23947): Also save the maximum travel speed for the current vehicle order.
13 years ago
michi_cc
5aeae7ca49
(svn r23973) -Fix (r23947): Also save the maximum travel speed for the current vehicle order.
13 years ago
rubidium
3c86956603
(svn r23967) -Fix-ish: don't fix road ownership of standard road stops each time you load a savegame, only when loading an old one
13 years ago