Commit Graph

245 Commits (7f1bf45c03bc26c993f0535ab329ee071ed0ce2a)

Author SHA1 Message Date
michi_cc db19630001 (svn r18646) -Fix [FS#3418]: [YAPP] Don't extend the reserved path through a newly built path signal directly in front of a stopped or loading train. Also restore the reserved path in more cases after removing a signal. 15 years ago
peter1138 10753a6199 (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 15 years ago
rubidium 4ddbe1793e (svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies 15 years ago
rubidium 2341c2e283 (svn r18367) -Codechange: unify the ship pathfinder 'calls' 15 years ago
rubidium 2f3053508d (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 15 years ago
frosch 13a72bb345 (svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
15 years ago
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 15 years ago
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
rubidium 318c2fad7c (svn r17963) -Codechange: some documentation style 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
frosch b6156da5e9 (svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work. 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
rubidium 06e490fadc (svn r17567) -Fix: some doxygen warnings 15 years ago
rubidium 10c3af4642 (svn r17493) -Codechange: store the depot index on the map 15 years ago
yexo d384908d56 (svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names 15 years ago
rubidium 251573775a (svn r17447) -Codechange: rename a local variable so it doesn't collide with the name of a global function 15 years ago
rubidium 389e1bdfbe (svn r17443) -Fix (r17442): clear the depot tile after removing the depot in all cases instead of only for ships; makes removing road/rail depots not crash :) 15 years ago
rubidium a79be4de27 (svn r17363) -Fix [FS#3163] (r16717): feed autoreplace the front of vehicles, otherwise it gets distracted and bails out 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 00a9b2fd3d (svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile 15 years ago
rubidium 04ee98df52 (svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message 15 years ago
rubidium 6435dc89fe (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
rubidium 100cb17fa8 (svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions 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.
15 years ago
rubidium 9eaee690bc (svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/ 15 years ago
rubidium f1d6561cc4 (svn r16907) -Codechange: make a more clear distinction between reservation functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits? 15 years ago
rubidium a78751ee9a (svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations 15 years ago
rubidium 3927fd6be7 (svn r16864) -Codechange: make Waypoints a subclass of BaseStation. 15 years ago
rubidium 4ca5ce8904 (svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations 15 years ago
rubidium a475a81706 (svn r16862) -Codechange: make waypoints use the same system of station station spec lists. 15 years ago
rubidium 8f4ad741aa (svn r16851) -Codechange: use StationSpecList in waypoint too 15 years ago
rubidium 34570f4e93 (svn r16842) -Cleanup: add some spaces around a few operators 15 years ago
smatz 1e1f0ab2cf (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train 15 years ago
smatz 837b3628d9 (svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly 15 years ago
smatz d39c08fd9d (svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files 15 years ago
smatz bd208c30e0 (svn r16660) -Codechange: get rid of more dummy tile_type_procs 15 years ago
smatz 5d301445a2 (svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
smatz a9602401f0 (svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile() 15 years ago
frosch 69107b00cc (svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead. 15 years ago
smatz af85994f7f (svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check 15 years ago
alberth 580e478e4e (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. 15 years ago
rubidium 4c0542c17f (svn r16393) -Codechange: move VehicleRail to Train. 15 years ago
rubidium 6350648a6c (svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train 15 years ago
rubidium 1324100d69 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago
smatz 74a667cb21 (svn r16350) -Codechange: make some 'rail track is present' checks more 'secure' 15 years ago
smatz 05db91dc65 (svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile() 15 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
frosch 1205f02b43 (svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS. 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago