summaryrefslogtreecommitdiff
path: root/src/saveload/oldloader_sl.cpp
AgeCommit message (Collapse)Author
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-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-10-30(svn r17908) -Fix [FS#3288]: uninitialised values in some paths of loading ↵rubidium
TTO savegames
2009-10-18(svn r17807) -Codechange: move all 'updates' just after the 'load' ↵rubidium
constructor of CargoPackets to the constructor call itself
2009-10-06(svn r17720) -Codechange: guard the CargoPacket variables that are cached in ↵rubidium
CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen)
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-21(svn r17597) -Codechange: rename namegen* to townname*smatz
2009-09-15(svn r17552) -Codechange: rename load_unload_time_rem to something more ↵rubidium
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
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-06(svn r17431) -Fix (r16735): oldloader wasn't updatedsmatz
2009-09-06(svn r17429) -Fix (r16378): conversion of TTO/TTD savegames failed when ↵smatz
vehicle 0 was a wagon
2009-09-04(svn r17419) -Fix (r-old, r16378): the index of orders loaded from old ↵yexo
savegames was owerwritten with an unitialized value, causing asserts. The issue has present for a long time but only since the new pool system did it trigger a (correct) assert
2009-09-01(svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my ↵rubidium
Oxford Dictionary of English and Merriam-Webster.
2009-09-01(svn r17340) -Fix: old loader tried to load a uint8 into a uint16rubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-20(svn r17228) -Codechange: some coding style fixesrubidium
2009-08-08(svn r17124) -Codechange: store subsidies in a pool (instead of an array)smatz
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-07(svn r17107) -Codechange: store type of subsidy source and destination in ↵smatz
the Subsidy struct instead of determining it every time it's needed
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22(svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warningsrubidium
2009-07-01(svn r16714) -Codechange: use pool-like accessors for Subsidysmatz
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16632) -Codechange: rename Town::flags12 to Town::flagssmatz
2009-06-23(svn r16631) -Fix (r1826)(r1881)(r9613): loading of some town data from old ↵smatz
savegames was broken
2009-06-18(svn r16596) -Fix (r16378): there were several hundreds of empty signs above ↵smatz
tile 0 after loading TTO/TTD savegame
2009-06-17(svn r16586) -Codechange: don't store lifelength in the savegame; it can ↵rubidium
easily be calculated, it isn't used often and now changing extend_vehicle_life in game has some effect.
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-05-26(svn r16446) -Fix (r16378): 'cast to pointer from integer of different size' ↵glx
warning
2009-05-23(svn r16403) -Codechange: move code related to subsidies to separate filesmatz
2009-05-22(svn r16392) -Codechange: move some variables (the ones that aren't caches) ↵rubidium
from VehicleRail to Train
2009-05-22(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.rubidium
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16388) -Codechange: move u.air to Aircraftrubidium
2009-05-22(svn r16385) -Codechange: move u.disaster to DisasterVehicle.rubidium
2009-05-22(svn r16384) -Codechange: move u.effect to EffectVehiclerubidium
2009-05-22(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.rubidium
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-19(svn r16357) -Codechange: delete invalid depots in TTD savegames caused by ↵smatz
improper SVXConverter conversions
2009-05-18(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALIDsmatz
2009-05-17(svn r16329) -Fix: possible desync when removing lots of towns in-game (not ↵rubidium
that we allow removing towns now, but better not have desync prone code lingering around)
2009-05-17(svn r16328) -Fix: desync when removing lots of stationsrubidium
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-03-15(svn r15727) -Codechange: apply coding style to namegen arrayssmatz
-Fix (r1307): missing comma in _name_original_english_4
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.