summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
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
2009-06-27(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() ↵smatz
and change its behaviour accordingly
2009-06-26(svn r16669) -Cleanup (r1): Only animated tiles are... animated.frosch
2009-06-26(svn r16664) -Codechange: move house-related stuff from town.h and ↵smatz
town_type.h to separate files
2009-06-25(svn r16660) -Codechange: get rid of more dummy tile_type_procssmatz
2009-06-25(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() ↵smatz
and change its behaviour accordingly -Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-24(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()smatz
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-06-01(svn r16491) -Codechange: Added parentheses around bitwise operators for ↵alberth
code style.
2009-05-26(svn r16442) -Codechange: use new Vehicle accessors at more placessmatz
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)