summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
2010-02-28(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to ↵alberth
TunnelBridgeIsFree() and return a CommandCost status.
2010-02-21(svn r19190) -Add: Improve error message with track building when signals ↵alberth
are in the way.
2010-02-21(svn r19189) -Codechange: CheckTrackCombination() returns a CommandCost.alberth
2010-02-17(svn r19154) -Fix: Invisible depots draw the track, so also draw the overlays.frosch
2010-02-17(svn r19153) -Fix [FS#pm](r19056): PBS reservation was drawn incorrectly for ↵frosch
depots.
2010-02-15(svn r19140) -Codechange: Move variables closer to their first use.alberth
2010-02-14(svn r19128) -Codechange: CommandCost cost methods return void instead of a ↵alberth
copy of *this.
2010-02-08(svn r19060) -Codechange: Draw custom depot sprites in GUI.peter1138
2010-02-07(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for ↵peter1138
rail types. (To be documented...)
2010-02-02(svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is ↵terkhen
an obstacle in the way.
2010-01-30(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.peter1138
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-17(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.frosch
2010-01-16(svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI.frosch
2010-01-16(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() ↵frosch
and move it to separate file.
2010-01-16(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update ↵rubidium
some comments (Terkhen)
2010-01-15(svn r18812) -Codechange: make some functions in train.h functions of Train.rubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-14(svn r18802) -Codechange: Deduplicate drawing-code for depots and ↵frosch
stations/waypoints.
2009-12-27(svn r18646) -Fix [FS#3418]: [YAPP] Don't extend the reserved path through a ↵michi_cc
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.
2009-12-15(svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail ↵peter1138
pieces was inverted.
2009-12-02(svn r18379) -Codechange: move the cache updating function to its own header ↵rubidium
to reduce the include 'pathfinder' dependencies
2009-12-01(svn r18367) -Codechange: unify the ship pathfinder 'calls'rubidium
2009-12-01(svn r18364) -Codechange: move the pathfinders and their related files into ↵rubidium
a separate directory
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
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.
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-03(svn r17963) -Codechange: some documentation stylerubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-22(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback ↵frosch
0x36. Based on Terkhen's work.
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-10(svn r17493) -Codechange: store the depot index on the maprubidium
2009-09-07(svn r17455) -Codechange: use sprite names instead of magic numbers in ↵yexo
table/clear_land.h and change some names
2009-09-07(svn r17447) -Codechange: rename a local variable so it doesn't collide with ↵rubidium
the name of a global function
2009-09-07(svn r17443) -Fix (r17442): clear the depot tile after removing the depot in ↵rubidium
all cases instead of only for ships; makes removing road/rail depots not crash :)
2009-09-01(svn r17363) -Fix [FS#3163] (r16717): feed autoreplace the front of ↵rubidium
vehicles, otherwise it gets distracted and bails out
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
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 r16920) -Codechange: shuffle some strings around to simplify looking up ↵rubidium
vehicle type specific strings for a specific message
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 r16907) -Codechange: make a more clear distinction between reservation ↵rubidium
functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
2009-07-18(svn r16869) -Codechange: make drawing waypoints a tiny bit more like ↵rubidium
drawing stations
2009-07-17(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.rubidium
2009-07-17(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like ↵rubidium
used for e.g. stations
2009-07-17(svn r16862) -Codechange: make waypoints use the same system of station ↵rubidium
station spec lists.