summaryrefslogtreecommitdiff
path: root/src/saveload
AgeCommit message (Collapse)Author
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-22(svn r16916) -Fix (r16909): station acceptance was reset after game loadsmatz
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
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-22(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/rubidium
2009-07-21(svn r16900) -Codechange: prepare the waypoint window for buoysrubidium
2009-07-21(svn r16897) -Codechange: use the 'generic' station spec to station ↵rubidium
allocation for waypoints too
2009-07-18(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing ↵smatz
subsidy's age
2009-07-18(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoordsrubidium
2009-07-17(svn r16862) -Codechange: make waypoints use the same system of station ↵rubidium
station spec lists.
2009-07-17(svn r16860) -Codechange: introduce a helper to assign a station spec to ↵rubidium
Waypoints
2009-07-17(svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashedsmatz
2009-07-16(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint ↵rubidium
struct and make it more similar to Station.
2009-07-16(svn r16854) -Fix (r2046): savegames from before this version would get the ↵rubidium
town id as their 'index' (#<num). For stations with custom names that custom name would be dropped and the lowest 6 bits of the StringID would be used for the 'index'. In other words, it resulted in a mess.
2009-07-16(svn r16851) -Codechange: use StationSpecList in waypoint toorubidium
2009-07-16(svn r16850) -Codechange: unify some naming of variables between waypoints ↵rubidium
and stations.
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16841) -Cleanup: spaces/tabs where they don't belongrubidium
2009-07-13(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and ↵rubidium
UpdateAll[Type]VirtCoords.
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
2009-07-13(svn r16809) -Fix [FS#3021](r13096): automatic resizing of ↵smatz
SelectCompanyLiveryWindow wasn't working as expected
2009-07-13(svn r16808) -Fix (r16338): don't crash when loading savegame with invalid ↵smatz
references
2009-07-10(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT toorubidium
2009-07-04(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less ↵rubidium
that bit 7... but it was a word wasting space etc.
2009-07-02(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), ↵smatz
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
2009-07-02(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵rubidium
functions
2009-07-02(svn r16721) -Codechange: make Is/SetRoadVehicleFront, ↵rubidium
Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-02(svn r16720) -Codechange: make Set/ClearFrontEngine(), ↵smatz
Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
2009-07-01(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), ↵smatz
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01(svn r16718) -Codechange: make IsFreeWagon() member of Trainsmatz
2009-07-01(svn r16717) -Codechange: make IsFrontEngine() member of Trainsmatz
2009-07-01(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't ↵smatz
warn when used inside function
2009-07-01(svn r16714) -Codechange: use pool-like accessors for Subsidysmatz
2009-07-01(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over ↵smatz
all subsidies
2009-07-01(svn r16710) -Fix: invalidate subsidies with invalid source or destination ↵smatz
when converting older savegames
2009-07-01(svn r16709) -Fix [FS#2994]: the list of animated tiles could have ↵rubidium
duplicates (only for old savegames) and tiles that weren't animated
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-26(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide ↵smatz
_house_specs[]
2009-06-26(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()smatz
2009-06-26(svn r16664) -Codechange: move house-related stuff from town.h and ↵smatz
town_type.h to separate files
2009-06-25(svn r16654) -Codechange: cache industries in station's coverage area ↵smatz
instead of searching them everytime payment is made
2009-06-24(svn r16651) -Fix: When there is no AI version that can load data from the ↵yexo
savegame, load the latest version of the same AI instead of a random AI.
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16640) -Codechange: move roadstop stuff to separate filessmatz
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-13(svn r16572) -Codechange: also catch FPEs in saveload and the warning about ↵rubidium
missing NewGRFs; only happens when assertions are disabled and NewGRFs are missing.