summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
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)
2009-05-15(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL ↵frosch
and _SIGNALS.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-13(svn r15704) -Cleanup: remove further includes from recently split filessmatz
2009-03-08(svn r15642) -Codechange: use a default parameter value in ↵smatz
CalcClosestTownFromTile
2009-03-02(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making ↵rubidium
it possible to remove someone's tram tracks. -Feature: allow building road stops on road/tram tracks of competitors.
2009-02-11(svn r15454) -Fix [FS#2614]: towns did not know about build_on_slopes in ↵rubidium
some cases, or made decisions on the 'original' slope instead the slope after applying the foundation..
2009-02-11(svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING.frosch
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-06(svn r15374) -Codechange: remove a magic constant.rubidium
2009-02-04(svn r15335) -Change: use the patch change mechanism to change the road side ↵rubidium
too instead of a separate command.