summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
2010-03-16(svn r19436) -Fix: With certain game settings one could clear tiles for free ↵frosch
when building long roads.
2010-03-16(svn r19434) -Add: Add rail speed limit to land area information window.peter1138
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 r19415) -Codechange: Forward CommandCost with an error back to the caller.alberth
2010-03-13(svn r19412) -Codechange (r9942): One pair of parentheses is enough.alberth
2010-03-13(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.alberth
2010-03-13(svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost.alberth
2010-03-13(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.alberth
2010-03-07(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.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-25(svn r19249) -Fix [FS#3642](r18803): start and end tiles were swapped in ↵smatz
CMD_REMOVE_LONG_ROAD
2010-02-14(svn r19128) -Codechange: CommandCost cost methods return void instead of a ↵alberth
copy of *this.
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-05(svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() ↵smatz
instead of CountBits() where possible
2010-02-05(svn r19016) -Fix [FS#3591]: When removing roads, the player was also ↵terkhen
charged for removing the foundations.
2010-02-02(svn r18986) -Fix (r18803): Make building long roads fail for AIs if there ↵terkhen
is an obstacle in the way.
2010-01-31(svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused.frosch
2010-01-31(svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not ↵frosch
access tiles anymore after clearing them; that fails either in test or exec run.
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 r18840) -Codechange: Use DrawCommonTileSeq[InGUI] for roaddepot drawing.frosch
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 r18803) -Feature [FS#3318]: make building (long) roads work like ↵rubidium
building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen.
2010-01-14(svn r18798) -Codechange: Simplify use of parameter p2 by using the data it ↵belugas
is represeting. Based on work by Terkhen
2010-01-04(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when ↵rubidium
trying to make one way roads of town owned roads
2010-01-03(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with ↵frosch
foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
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 r18364) -Codechange: move the pathfinders and their related files into ↵rubidium
a separate directory
2009-11-26(svn r18295) -Fix [FS#bigos](r18283): Missed one PR_TERRAFORM.frosch
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-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-10(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' ↵rubidium
with GetDepotIndex(tile)
2009-09-10(svn r17493) -Codechange: store the depot index on the maprubidium
2009-09-10(svn r17492) -Codechange: don't store the town index for road depots.rubidium
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-20(svn r17239) -Change [FS#2802]: allow overbuilding the front tile of a ↵yexo
roadstation / roaddepot with road to be consistent with overbuilding the front tile of tunnels/bridges and also to make it easier for AIs to connect roadstations and roaddepots to the road in front of it
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-05(svn r17071) -Fix: give a better error message when trying to make road ↵smatz
one-way when it doesn't belong to you
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-05(svn r16746) -Codechange: use Town::PostDestructor() instead of not very ↵smatz
clean construct for invalidating nearest town for road tiles