summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
2010-08-15(svn r20500) -Fix: When converting rail all trains with a part on the ↵frosch
converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power.
2010-08-09(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with ↵terkhen
an existing define on MinGW).
2010-08-09(svn r20420) -Codechange: Add TileContext enum instead of using a bool.frosch
2010-08-08(svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on ↵frosch
halftile foundations if the railtype uses overlays.
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-07-28(svn r20237) -Fix (r20049): Check for disallowed level crossings also when ↵michi_cc
converting rail.
2010-07-26(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.frosch
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more ↵rubidium
logical place and with a more descriptive name
2010-07-11(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of ↵frosch
RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
2010-07-10(svn r20116) -Add: Show an specific error message when trying to ↵terkhen
convert/remove nonexistant signals.
2010-07-10(svn r20114) -Add: Show an specific error message when trying to remove rail ↵terkhen
or build/convert/remove signals over nonexistant railways.
2010-07-10(svn r20110) -Fix [FS#3695]: Do not allow building a rail track to the water ↵alberth
using a tree-tile.
2010-07-09(svn r20100) -Fix: Give priority to ownership errors while removing rails.terkhen
2010-07-09(svn r20097) -Codechange: Share constant bitset of safe level crossing slopes.alberth
2010-07-02(svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level ↵michi_cc
crossings per railtype.
2010-06-20(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypesyexo
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-06-04(svn r19925) -Fix [FS#3859]: one didn't pay for rail when building depots ↵rubidium
and stations, so with expensive railtypes building stations and then removing the station would be cheaper than just building the rail
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-13(svn r19817) -Fix: MSVC compile warningsrubidium
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-05-12(svn r19799) -Change: give depots an unique name in the same manner buoys ↵rubidium
and waypoints are named
2010-04-24(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled ↵rubidium
callbacks and values of variables
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-04-13(svn r19616) -Codechange: Increase transparency of 'Extract' by passing also ↵frosch
the number of used bits.
2010-04-03(svn r19556) -Fix (r19434): Incorrect speed limit reported for rail depots ↵peter1138
with original acceleration model.
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-20(svn r19488) -Codechange: Use last_error data for removal in ↵alberth
CmdRailTrackHelper() as well.
2010-03-20(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.alberth
2010-03-16(svn r19434) -Add: Add rail speed limit to land area information window.peter1138
2010-03-16(svn r19433) -Codechange: Limit rail clearance earnings to 3/4s of rail ↵peter1138
build cost, to avoid money making loophole when rail build cost is less than rail removal earnings.
2010-03-14(svn r19421) -Codechange: Remove explicit use of _error_message from ↵alberth
CmdConvertRail().
2010-03-14(svn r19420) -Codechange: Don't use _error_message to keep track of ↵alberth
success/failure, use a had_success boolean.
2010-03-14(svn r19418) -Codechange: Code style fix for ValParamTrackOrientation().alberth
2010-03-14(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.alberth
2010-03-14(svn r19414) -Doc: Several doxygen additions and corrections.alberth
2010-03-07(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.alberth
2010-03-07(svn r19370) -Codechange: EnsureNoTrainOnTrack() returns a CommandCost.alberth
2010-03-07(svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now.alberth
2010-03-07(svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp.alberth
2010-03-07(svn r19363) -Codechange: Remove use of _error_message global from ↵alberth
TerraformTile_Track.
2010-03-05(svn r19320) -Fix (r19291): Forgot to set error message.alberth
2010-03-05(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.alberth
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.