summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
2011-07-30(svn r22699) -Fix [FS#4681]: Cost of adding an extra road type to a bridge ↵rubidium
or tunnel was undercalculated (adf88)
2011-05-29(svn r22516) -Codechange: Replace some magic numbers with the appropiate ↵frosch
enum values. (Eddi)
2011-05-14(svn r22459) -Doc: Typo fixes and doxygen markup improvements.alberth
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-02-14(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few ↵planetmaker
existing comments
2011-02-07(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.hrubidium
2011-01-09(svn r21765) -Fix [FS#4369]: PBS reservation was not shown on road crossings ↵rubidium
with NewGRF railtypes (andythenorth)
2010-09-03(svn r20728) -Codechange: shuffle some code in CMD_BUILD_ROAD so it doesn't ↵yexo
call CMD_LANDSCAPE_CLEAR in test-mode from exec-mode
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