summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.cpp
AgeCommit message (Collapse)Author
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-10(svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace ↵rubidium
#define with static const uint and add some documentation.
2010-01-10(svn r18772) -Feature-ish: allow user customisable compression levels for ↵rubidium
the zlib compression
2010-01-10(svn r18771) -Codechange: minor cleanups in saveload coderubidium
2010-01-10(svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen ↵rubidium
for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it.
2010-01-10(svn r18769) -Codechange: replace MiniLZO with the real library. If you're ↵rubidium
using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
2010-01-09(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal ↵rubidium
wait counter; sometimes they might get into eachother's way
2010-01-04(svn r18719) -Feature: don't delete the rough/rocky status of a tile when ↵yexo
it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
2010-01-03(svn r18703) -Feature-ish: allow virtually paying a percentage of the leg ↵rubidium
profit in feeder chains. This to give the user a better chance to get a feeder system without "losses".
2010-01-02(svn r18689) -Codechange: move the looping over chunkhandlers code to a macrorubidium
2010-01-02(svn r18688) -Cleanup: remove some unused code/constantsrubidium
2010-01-02(svn r18686) -Fix [FS#3470]: in some cases _sl.chs is used when not ↵rubidium
initialised. As _sl.chs always refers to a single table when initialised replace _sl.chs with the actual table
2009-12-31(svn r18674) -Feature (FS#3459): Configurable slope steepness for trains ↵peter1138
from 0% to 10%, default is 3% as before (mostly by Terkhen)
2009-12-25(svn r18634) -Revert (r16808): the fix doesn't work in all casesrubidium
-Fix [FS#3421] (r16838): crash when invalid pointers are left due to saveload failing at e.g. decompressing the savegame
2009-12-17(svn r18522) -Feature: add the possibility to not make new tree tiles in-gamerubidium
2009-12-13(svn r18481) -Codechange: unify the curve pathfinder penalty defaults; 0.01 ↵rubidium
tile won't make a dent, 3 tiles might be a bit too much -Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
2009-12-04(svn r18404) -Codechange: link drive through stops better togetherrubidium
-Feature: make penalty for road stop occupancy user configurable -Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty -Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it -Change: improve the throughput of the drive through road stops by letting them stop closer together
2009-11-25(svn r18292) -Codechange: add a command to set the start date of a ↵rubidium
timetable. Based on work by PhilSophus.
2009-11-24(svn r18281) -Feature: founding towns in-game (based on work by Belugas, ↵smatz
TheJosh, GeekToo, Terkhen and others)
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-03(svn r17963) -Codechange: some documentation stylerubidium
2009-10-31(svn r17929) -Fix (r2391): STR_NULL does not seem very useful as file save ↵alberth
error summary.
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-27(svn r17893) -Feature [FS#2633]: make it possible to disable background ↵rubidium
saving, only via the config file/in game console though
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-14(svn r17535) -Fix: compiling without networking failed; also unhackify the ↵rubidium
crash logger a bit.
2009-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-09-06(svn r17433) -Codechange: Store cumulated inflation in savegame and compute ↵frosch
all prices from that instead of storing all prices separately. Note: Savegame conversion computes the inflation from max loan. Prices from modified savegames will get lost. TTO savegames will also behave slightly different. -Change: NewGRF price modifiers now take effect everytime when loading NewGRFs instead of once on gamestart.
2009-09-01(svn r17339) -Codechange: move thread related files to their own directory ↵rubidium
(like done for video, music, sound, etc)
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-18(svn r17216) -Update: MiniLZO from 1.08 to 2.03.rubidium
2009-08-18(svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it ↵rubidium
belongs there
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source -Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost -Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-08-06(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and ↵rubidium
make the help show how it works and how it doesn't work
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-30(svn r16993) -Change: make the rail waypoint builder draggablerubidium
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-16(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint ↵rubidium
struct and make it more similar to Station.
2009-07-13(svn r16808) -Fix (r16338): don't crash when loading savegame with invalid ↵smatz
references
2009-07-01(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't ↵smatz
warn when used inside function
2009-06-29(svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for ↵rubidium
whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others: * cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder) * cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore * industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
2009-06-23(svn r16640) -Codechange: move roadstop stuff to separate filessmatz
2009-05-26(svn r16439) -Change: Make the default vehicle servicing settings ↵yexo
company-based settings, so in a multiplayer game everyone can change them.
2009-05-26(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be ↵rubidium
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-17(svn r16346) -Codechange: don't exploit the pool system in the way done for ↵rubidium
the saveload pool; it makes writing replacements unnecessarily difficult. And now we've got SmallVector that does more than enough for saving with less lines of 'interface' code.
2009-05-17(svn r16338) -Codechange: split loading of references to two phasessmatz
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-17(svn r16335) -Codechange: indenting fixes in saveload.cppsmatz
2009-05-17(svn r16334) -Codechange: use NeedLength enumsmatz