summaryrefslogtreecommitdiff
path: root/src/saveload/afterload.cpp
AgeCommit message (Collapse)Author
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-28(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first ↵yexo
available company slot causing other AIs to be started
2009-08-22(svn r17267) -Change [FS#3139]: mention the MD5 checksum of the original ↵rubidium
NewGRF in the "saveload failed horribly"-error message and make it more clear that the filename is of the current NewGRF
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-18(svn r17215) -Cleanup: remove unused return valueyexo
2009-08-08(svn r17124) -Codechange: store subsidies in a pool (instead of an array)smatz
2009-08-08(svn r17119) -Codechange: replace constants in subsidy.cpp by enum valuessmatz
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-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-26(svn r16962) -Codechange: more work towards multi tile waypointsrubidium
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-24(svn r16938) -Codechange: introduce helper function to tell whether a tile ↵rubidium
is either a rail station or rail waypoint tile
2009-07-22(svn r16916) -Fix (r16909): station acceptance was reset after game loadsmatz
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 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 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-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-10(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT toorubidium
2009-07-02(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵rubidium
functions
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 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 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 r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16640) -Codechange: move roadstop stuff to separate filessmatz
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.
2009-06-10(svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT ↵smatz
as bitmasks
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-06-06(svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so ↵frosch
they can head for somewhere else instead of stumbling over a ghost.
2009-05-26(svn r16442) -Codechange: use new Vehicle accessors at more placessmatz
2009-05-26(svn r16441) -Codechange: new class SpecializedVehicle used as superclass ↵smatz
for all vehicle types