rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
11 years ago
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
11 years ago
rubidium
6ecc602050
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
11 years ago
rubidium
5b82822c12
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
11 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
11 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
11 years ago
peter1138
ed8f6f1a0f
(svn r26450) -Feature: Hierarchical vehicle subgroups.
11 years ago
peter1138
567d0ff3a7
(svn r26450) -Feature: Hierarchical vehicle subgroups.
11 years ago
frosch
e511805439
(svn r26409) -Update: Version number in some more places.
11 years ago
frosch
8ff9499fe2
(svn r26409) -Update: Version number in some more places.
11 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.
12 years ago
zuu
a4cddc3e08
(svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed.
12 years ago
rubidium
6b746167e4
(svn r25259) -Codechange: track capacities and usage of links
12 years ago
rubidium
3947453277
(svn r25259) -Codechange: track capacities and usage of links
12 years ago
rubidium
6515371cf5
(svn r25258) -Codechange: save linkgraph (fonsinchen)
12 years ago
rubidium
0cc3d8df4b
(svn r25258) -Codechange: save linkgraph (fonsinchen)
12 years ago
rubidium
3aed6229b5
(svn r25136) -Merge: 1.3 release (documentation) updates
12 years ago
rubidium
327615c2ce
(svn r25136) -Merge: 1.3 release (documentation) updates
12 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)
13 years ago
michi_cc
6a70abbd99
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
13 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
rubidium
1c4827cc71
(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
michi_cc
64c5299b4d
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
13 years ago
michi_cc
f2c694c8fb
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
13 years ago
frosch
20c4f128ab
(svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable.
13 years ago
frosch
5bf1710a28
(svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable.
13 years ago
frosch
14fd811333
(svn r23828) -Fix: Return early from SlString() for empty strings, before doing invalid things which surprisingly do not break everything.
13 years ago
frosch
5fa15c563c
(svn r23828) -Fix: Return early from SlString() for empty strings, before doing invalid things which surprisingly do not break everything.
13 years ago
rubidium
464d51905a
(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says
13 years ago
rubidium
70c7fbd90e
(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says
13 years ago
yexo
d9f3912c59
(svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change
13 years ago
yexo
2c99805117
(svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change
13 years ago
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
truebrain
aa1a0053b0
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
13 years ago
truebrain
1c9bec1999
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
13 years ago
truebrain
474ba5fd88
(svn r23637) -Change: bump the savegame, to store all the new goodies
13 years ago
truebrain
44b70d176c
(svn r23637) -Change: bump the savegame, to store all the new goodies
13 years ago
truebrain
ccf9b01f5d
(svn r23630) -Add: a Goal GUI to show your current goals
13 years ago
truebrain
3ada3b9cc5
(svn r23630) -Add: a Goal GUI to show your current goals
13 years ago
truebrain
5d4b2519a4
(svn r23609) -Add: save/load all GameScript related material
13 years ago
truebrain
f239a61406
(svn r23609) -Add: save/load all GameScript related material
13 years ago
truebrain
2b381d0765
(svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium)
13 years ago
truebrain
5cda1d7c90
(svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium)
13 years ago
michi_cc
957b643ae6
(svn r23504) -Feature: Aircraft range.
13 years ago
michi_cc
def8e7215b
(svn r23504) -Feature: Aircraft range.
13 years ago
yexo
e96019ff0d
(svn r23501) -Fix: loading scenarios downloaded from the online content didn't work anymore
13 years ago
yexo
89854e0ab1
(svn r23501) -Fix: loading scenarios downloaded from the online content didn't work anymore
13 years ago
rubidium
c3440658e8
(svn r23480) -Fix [FS#4594]: replace OS error messages with internal error messages when that's possible
13 years ago
rubidium
0ca25fb3af
(svn r23480) -Fix [FS#4594]: replace OS error messages with internal error messages when that's possible
13 years ago
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
13 years ago
rubidium
58423b26d1
(svn r23474) -Codechange: move the declaration error related functions to error.h
13 years ago
michi_cc
fc8633e1ac
(svn r23415) -Feature: Infrastructure maintenance costs.
13 years ago
michi_cc
d3b7b89493
(svn r23415) -Feature: Infrastructure maintenance costs.
13 years ago
truebrain
d6e042c735
(svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
13 years ago
truebrain
160bfd8851
(svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
13 years ago
truebrain
3a5d257e46
(svn r23304) -Add: bump the savegame to start storing the new bits and pieces
13 years ago
truebrain
d809ea4f23
(svn r23304) -Add: bump the savegame to start storing the new bits and pieces
13 years ago
michi_cc
3b45b41e68
(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
13 years ago
michi_cc
4d2a9e384c
(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
13 years ago
rubidium
e81d564625
(svn r23192) -Codechange: don't cast away const needlessly
13 years ago
rubidium
a8d33a4d89
(svn r23192) -Codechange: don't cast away const needlessly
13 years ago
frosch
5c854f2643
(svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch.
13 years ago
frosch
88f8457b83
(svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch.
13 years ago
rubidium
56fedc4db9
(svn r22767) -Add: river generation
13 years ago
rubidium
0041408e4f
(svn r22767) -Add: river generation
13 years ago
michi_cc
d25840978c
(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.
13 years ago
michi_cc
08b7981f37
(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.
13 years ago
frosch
31ad03e4d2
(svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario.
13 years ago
frosch
c9e920f1eb
(svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario.
13 years ago
terkhen
7e0daae1ec
(svn r22567) -Codechange: Store persistent storages inside a pool.
14 years ago
terkhen
00e5c1df18
(svn r22567) -Codechange: Store persistent storages inside a pool.
14 years ago
rubidium
f23d4a7565
(svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock
14 years ago
rubidium
75b87c554f
(svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock
14 years ago
rubidium
2a7912d415
(svn r22198) -Codechange: make some constants name more explicit
14 years ago
rubidium
e48967541a
(svn r22198) -Codechange: make some constants name more explicit
14 years ago
rubidium
3b268b61bd
(svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point
14 years ago
rubidium
ae6dca77e5
(svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point
14 years ago
alberth
a14f4eb271
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
14 years ago
alberth
1dbc0a20be
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
14 years ago
rubidium
91fb1787fb
(svn r22124) -Codechange: move comment to its logical place
14 years ago
rubidium
b6be3f2acc
(svn r22124) -Codechange: move comment to its logical place
14 years ago
rubidium
e92f2d6b9a
(svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame
14 years ago
rubidium
d8cada7563
(svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame
14 years ago
rubidium
e3b44f460f
(svn r22062) -Fix: memory leak when saving fails mid-way
14 years ago
rubidium
7de823b1bd
(svn r22062) -Fix: memory leak when saving fails mid-way
14 years ago
smatz
8608a7c29b
(svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames
14 years ago
smatz
887a7724dc
(svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames
14 years ago
terkhen
67ce7c5c41
(svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction.
14 years ago
terkhen
a4b08dddd1
(svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction.
14 years ago
alberth
a2ceba992d
(svn r21971) -Fix (r21969): Subversion auto-increments revision on commit.
14 years ago
alberth
7da952115b
(svn r21971) -Fix (r21969): Subversion auto-increments revision on commit.
14 years ago
alberth
e3a35f7d40
(svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window.
14 years ago
alberth
bdf5a1c2f7
(svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window.
14 years ago
rubidium
088223e058
(svn r21962) -Feature-ish: GUI setting to disable reversing at signals
14 years ago
rubidium
0fe0225751
(svn r21962) -Feature-ish: GUI setting to disable reversing at signals
14 years ago
rubidium
fd7633def5
(svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
...
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
14 years ago
rubidium
c85d350310
(svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
...
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
14 years ago
frosch
7c04ea586d
(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
...
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
14 years ago
frosch
a97d52a29a
(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
...
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
14 years ago
smatz
f2006f36a1
(svn r21875) -Codechange: indentation of some comments was wrong
14 years ago
smatz
656caf16db
(svn r21875) -Codechange: indentation of some comments was wrong
14 years ago
terkhen
8db501e115
(svn r21862) -Codechange: Unify subtype handling between road vehicles and trains.
14 years ago
terkhen
d426906a01
(svn r21862) -Codechange: Unify subtype handling between road vehicles and trains.
14 years ago
rubidium
2ae8216363
(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default
14 years ago
rubidium
6a17bf91e3
(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default
14 years ago
rubidium
1850e6fd5c
(svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings
14 years ago
rubidium
4cc2d71d6d
(svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings
14 years ago
rubidium
be077e030e
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
rubidium
eab47d2227
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
rubidium
1af7df8ba0
(svn r21453) -Codechange: add the view of an object to the savegame
14 years ago
rubidium
cd6180a46d
(svn r21453) -Codechange: add the view of an object to the savegame
14 years ago
rubidium
7bed9deb4f
(svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused
14 years ago
rubidium
df410fd7ed
(svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused
14 years ago
rubidium
2a577707e7
(svn r21395) -Codechange: move the save and load filter's interface to a header
14 years ago
rubidium
085c693289
(svn r21395) -Codechange: move the save and load filter's interface to a header
14 years ago
rubidium
b5771255a6
(svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well
14 years ago
rubidium
5ff58155d1
(svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well
14 years ago
rubidium
924aba8e67
(svn r21393) -Codechange: support resetting of the "base" filters, i.e. reset their read location to be begin of the file. This is needed for trying to load savegames as a "buggy format"
14 years ago
rubidium
da76d2f46f
(svn r21393) -Codechange: support resetting of the "base" filters, i.e. reset their read location to be begin of the file. This is needed for trying to load savegames as a "buggy format"
14 years ago
rubidium
ae8ce70bbd
(svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun...
14 years ago
rubidium
a0fb4c8a13
(svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun...
14 years ago
rubidium
df2880e68c
(svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place
14 years ago
rubidium
b7d2d79581
(svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place
14 years ago
rubidium
2770e24e5c
(svn r21379) -Codechange: move the actual save code into a separate function
14 years ago
rubidium
bf7da9b3a8
(svn r21379) -Codechange: move the actual save code into a separate function
14 years ago
rubidium
1fb2849566
(svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class
14 years ago
rubidium
a7b9297d20
(svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class
14 years ago
rubidium
e589dca253
(svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters
14 years ago
rubidium
1d8d046823
(svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters
14 years ago
rubidium
07ee6b9ccf
(svn r21376) -Codechange: generalise ClearMemoryDumper
14 years ago
rubidium
d1db18757d
(svn r21376) -Codechange: generalise ClearMemoryDumper
14 years ago
rubidium
cc8d1198d5
(svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters
14 years ago
rubidium
8d81e17acc
(svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters
14 years ago
rubidium
1f409aa285
(svn r21373) -Codechange: rewrite the game state to memory dumper
14 years ago
rubidium
b250888aa3
(svn r21373) -Codechange: rewrite the game state to memory dumper
14 years ago
rubidium
944a544fe3
(svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable
14 years ago
rubidium
d81cee085b
(svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable
14 years ago
alberth
16f678a990
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
14 years ago
alberth
3e27739287
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
14 years ago
alberth
160b6834e9
(svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore().
14 years ago
alberth
edef25d30c
(svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore().
14 years ago
alberth
41041dda9a
(svn r21281) -Doc: Add doxygen comments to saveload code.
14 years ago
alberth
2974141641
(svn r21281) -Doc: Add doxygen comments to saveload code.
14 years ago
alberth
de9c678901
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
14 years ago
alberth
3b0ee65571
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
14 years ago
alberth
9ef150d7ea
(svn r21267) -Doc: Typo fixes.
14 years ago
alberth
9d899b3758
(svn r21267) -Doc: Typo fixes.
14 years ago
rubidium
d24dbdac7b
(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once
14 years ago
rubidium
097880c5e2
(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once
14 years ago
alberth
40d69ce604
(svn r21171) -Change: Reset industry build data at game start or load.
14 years ago
alberth
f22fb0d53d
(svn r21171) -Change: Reset industry build data at game start or load.
14 years ago
rubidium
d22c1eee26
(svn r21073) -Fix: spelling errors in comments
14 years ago
rubidium
adde677c0a
(svn r21073) -Fix: spelling errors in comments
14 years ago
rubidium
a9fc9b2e9a
(svn r21044) -Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less.
14 years ago
rubidium
59519edd34
(svn r21044) -Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less.
14 years ago
frosch
fca6f11a25
(svn r20918) -Add: Store NewGRF version information from Action14 in savegame. (planetmaker)
14 years ago
frosch
3866ecad38
(svn r20918) -Add: Store NewGRF version information from Action14 in savegame. (planetmaker)
14 years ago
rubidium
e567833521
(svn r20857) -Fix [FS#3637]: The station with the second highest rating was doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less "all-or-nothing".
14 years ago
rubidium
b4f6201e94
(svn r20857) -Fix [FS#3637]: The station with the second highest rating was doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less "all-or-nothing".
14 years ago
terkhen
379a8f3504
(svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ).
14 years ago
terkhen
e90930e572
(svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ).
14 years ago
rubidium
f3cf16f529
(svn r20819) -Fix [FS#3714]: be a bit more "lenient" w.r.t. invalid savegames; don't crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted
14 years ago
rubidium
97dbb1f27d
(svn r20819) -Fix [FS#3714]: be a bit more "lenient" w.r.t. invalid savegames; don't crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted
14 years ago
rubidium
64f3c1e243
(svn r20815) -Revert (r20814): wrong patch at wrong time...
14 years ago
rubidium
b01c63cd23
(svn r20815) -Revert (r20814): wrong patch at wrong time...
14 years ago
rubidium
dfa550681c
(svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
14 years ago
rubidium
9a0a753d96
(svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
14 years ago
rubidium
4ad5ef5c43
(svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause)
14 years ago
rubidium
8fd9728e19
(svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause)
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
1d8b95b235
(svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations)
14 years ago
rubidium
7f86dcca90
(svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations)
14 years ago
rubidium
f336f61104
(svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns
14 years ago
rubidium
89b2b9370a
(svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns
14 years ago
rubidium
8975ef1f7b
(svn r20446) -Codechange: unify the location of the water class
14 years ago
rubidium
ab5b0ceff2
(svn r20446) -Codechange: unify the location of the water class
14 years ago
yexo
c8d8c996c2
(svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ)
14 years ago
yexo
a3a24f4c68
(svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ)
14 years ago
rubidium
5ed887648c
(svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension
14 years ago
rubidium
f44c51577b
(svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension
14 years ago
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
alberth
a825b4fa5f
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
rubidium
a94031d60c
(svn r20233) -Codechange: fix/unify coding and comment style a bit
14 years ago
rubidium
fc6f336fee
(svn r20233) -Codechange: fix/unify coding and comment style a bit
14 years ago
rubidium
5153532a7f
(svn r20232) -Codechange: shuffle a few functions around so they don't need to be declared in advance
14 years ago
rubidium
d72ee2bc57
(svn r20232) -Codechange: shuffle a few functions around so they don't need to be declared in advance
14 years ago
rubidium
caf65f71de
(svn r20231) -Document: which version had which savegame version
14 years ago
rubidium
70ff0d7513
(svn r20231) -Document: which version had which savegame version
14 years ago
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
8894ae2ccb
(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location
14 years ago
rubidium
45213e5708
(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location
14 years ago
rubidium
73280326f9
(svn r20090) -Fix: savegames would (very likely) end with 128 KiB worth of useless zeros
14 years ago
rubidium
72bfda4634
(svn r20090) -Fix: savegames would (very likely) end with 128 KiB worth of useless zeros
14 years ago
rubidium
621c5a77e2
(svn r20087) -Fix [FS#3876, FS#3887, FS#3920, FS#3923]: if after loading a savegame (including intro game) one tried to save a game (including autosave) and that failed (very) early on because it couldn't open the file for writing all pointers would be converted to NULLs which then causes corrupted game states
14 years ago
rubidium
b7fe013793
(svn r20087) -Fix [FS#3876, FS#3887, FS#3920, FS#3923]: if after loading a savegame (including intro game) one tried to save a game (including autosave) and that failed (very) early on because it couldn't open the file for writing all pointers would be converted to NULLs which then causes corrupted game states
14 years ago
michi_cc
a8c6eaeb4a
(svn r20048) -Feature: Add a setting to forbid towns building level crossings.
14 years ago
michi_cc
a75583bbb6
(svn r20048) -Feature: Add a setting to forbid towns building level crossings.
14 years ago
yexo
ec723b7744
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
14 years ago
yexo
9cfb61adf5
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
14 years ago
frosch
cce89a5cb9
(svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK.
15 years ago
frosch
d9b4d92050
(svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK.
15 years ago
frosch
ec903570f1
(svn r19975) -Add: SL_LOAD_CHECK mode for partial reading of savegames.
15 years ago
frosch
8d9b573f8f
(svn r19975) -Add: SL_LOAD_CHECK mode for partial reading of savegames.
15 years ago
frosch
3d38176cd5
(svn r19974) -Add: SlSkipArray() to skip arrays and sparse arrays in savegames.
15 years ago
frosch
e8248cf113
(svn r19974) -Add: SlSkipArray() to skip arrays and sparse arrays in savegames.
15 years ago
rubidium
7f43b93eae
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
15 years ago
rubidium
93ff7d78e1
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
15 years ago
rubidium
5a6c2d786e
(svn r19638) -Change: log the _date and _date_fract in the desync log for saved games
15 years ago
rubidium
a6f46657ab
(svn r19638) -Change: log the _date and _date_fract in the desync log for saved games
15 years ago
rubidium
ff5dfd9c7e
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
15 years ago
rubidium
d8baa1342c
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
15 years ago
yexo
cc23ebd446
(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found
15 years ago
yexo
38f4cb6469
(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found
15 years ago
yexo
d13ca455b8
(svn r19382) -Fix (r19381): don't break savegame version 139
15 years ago
yexo
22081cbd19
(svn r19382) -Fix (r19381): don't break savegame version 139
15 years ago
terkhen
f78a386b87
(svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%.
15 years ago
terkhen
b443a3ee0a
(svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%.
15 years ago
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
rubidium
0168957924
(svn r19044) -Codechange: don't load the 'new game' NewGRFs when you're certain the savegame wouldn't have been saved with them, i.e. don't load the 'new game' NewGRFs for TTO savegames.
15 years ago
rubidium
78f31c1744
(svn r19044) -Codechange: don't load the 'new game' NewGRFs when you're certain the savegame wouldn't have been saved with them, i.e. don't load the 'new game' NewGRFs for TTO savegames.
15 years ago
rubidium
8e674964cb
(svn r19022) -Fix (r18770): loading old (0.1-ish) savegames failed
15 years ago
rubidium
64ead0b513
(svn r19022) -Fix (r18770): loading old (0.1-ish) savegames failed
15 years ago
rubidium
cc204f134b
(svn r19021) -Fix [FS#3570]: don't NULL the pointers when saving the savegame on an error during saving; the savegame is still valid
15 years ago
rubidium
a126db6ea4
(svn r19021) -Fix [FS#3570]: don't NULL the pointers when saving the savegame on an error during saving; the savegame is still valid
15 years ago
yexo
06d4f3a0f2
(svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes
15 years ago
yexo
fa01b25f74
(svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes
15 years ago
yexo
0f5286a388
(svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame
15 years ago
yexo
388c713f08
(svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame
15 years ago
michi_cc
04f83cbe48
(svn r18904) -Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory.
15 years ago
michi_cc
a4f50de959
(svn r18904) -Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory.
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
ea465084b1
(svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation.
15 years ago
rubidium
3ebec78900
(svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation.
15 years ago
rubidium
5d997e288d
(svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression
15 years ago
rubidium
aca2daf841
(svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression
15 years ago
rubidium
88c7e83e9d
(svn r18771) -Codechange: minor cleanups in saveload code
15 years ago
rubidium
188c8ebd5c
(svn r18771) -Codechange: minor cleanups in saveload code
15 years ago
rubidium
a7676f2f86
(svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it.
15 years ago
rubidium
f5053cee7e
(svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it.
15 years ago