summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
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-27(svn r20230) -Fix [FS#3961]: road vehicles could be dead locked with one way ↵rubidium
roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump
2010-07-25(svn r20215) -Fix [FS#3971]: Remove all road pieces rather than aborting at ↵alberth
the first ownership error (Krille).
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworldrubidium
2010-07-10(svn r20113) -Add [FS#3895]: Show an specific error message when trying to ↵terkhen
remove nonexistant roads (Krille).
2010-07-09(svn r20099) -Fix [FS#3882]: Give priority to ownership errors while ↵terkhen
removing roads.
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-30(svn r20036) -Fix [FS#3911]: tram tracks didn't show at level crossing with ↵rubidium
the new railtypes
2010-06-20(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypesyexo
2010-05-12(svn r19799) -Change: give depots an unique name in the same manner buoys ↵rubidium
and waypoints are named
2010-05-11(svn r19791) -Change: use the typed FOR_EACH_SET_BIT for RoadTypes (adf88)rubidium
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-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-20(svn r19491) -Codechange: Keep track of last error in CmdRemoveLongRoad().alberth
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