summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.cpp
AgeCommit message (Collapse)Author
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
2009-05-17(svn r16331) -Codechange: replace _sl.save by an enumsmatz
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-04-24(svn r16133) -Fix (r16129): who would've thought that the saveload system ↵rubidium
couldn't handle skipping strings on load yet?
2009-04-23(svn r16129) -Feature-ish: configurable digit group separator per language ↵rubidium
with user override.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-12(svn r16037) -Feature: allow (per order) to let a train stop at the near ↵rubidium
end, middle or far end of a platform from the point of view of the driver of the train that enters the station.
2009-03-30(svn r15893) -Add: watermark crash.sav and don't generate crash information ↵glx
if a loaded crash.sav causes a crash
2009-03-21(svn r15799) -Codechange: Save rail type label list to savegame and perform ↵peter1138
mapping on load if necessary.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-12(svn r15695) -Feature [FS#2672]: Allow the number of towns that will be ↵belugas
generated in the generate world window to be customized. Some warnings: -the maximum number of towns to be accepted is set to 5000 -the minimum number of towns to be accepted is set to 1 -the number that is specified is NOT guaranteed to be the exact number of towns generated. The normal mechanism of town creation has not been modified. So town placement can still fail. -setting a custom number of town will change your difficulty settings to custom as well
2009-03-08(svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give ↵frosch
the term 'compatible newgrf' again some sense and to not crash because of trivial changes.
2009-03-06(svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns.rubidium
2009-03-04(svn r15610) -Change: allow loading of heightmaps and savegames (any form) ↵rubidium
that are in .tar files
2009-03-02(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making ↵rubidium
it possible to remove someone's tram tracks. -Feature: allow building road stops on road/tram tracks of competitors.
2009-02-25(svn r15584) -Codechange: Move several variables from variables.h to more ↵yexo
appropriate headers.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-08(svn r15407) -Codechange: When loading a save game with an invalid pool ↵peter1138
index, report the problem (invalid index) rather than an impossible symptom (too many items), and report it in game instead of causing a crash.
2009-02-04(svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly ↵smatz
road networks -Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore -Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-28(svn r15290) -Codechange: Isolate size and section of the UnMovable HQ ↵belugas
object, in order to keep the Unmovable type free of any irrelevant data
2009-01-27(svn r15287) -Cleanup: some code style, remove erroneous comment.rubidium
-Document: the fact that zlib reads uninitialised data (valgrind notices this) and that it won't be fixed in zlib and that we can't do anything about it except ignoring it.
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-20(svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread ↵rubidium
generalisation.