summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
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.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-12(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hacksmatz
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-02(svn r14789) -Feature: allow scrolling with the left mouse button pressed ↵rubidium
(if enabled). Primarily useful for systems with touch screen (aapo)
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-11-18(svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid ↵smatz
after importing older savegame and during town generation -Codechange: rewrite parts of code responsible for caching index of nearest town
2008-10-25(svn r14528) -Codechange: cache the closest town for all road tiles instead ↵rubidium
of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
2008-10-19(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)rubidium
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-13(svn r14316) -Fix: do not allow building road over level crossings and ↵smatz
drive-through road stops in the wrong direction even when the roadtype is present
2008-09-13(svn r14315) -Fix: allow adding roadtypes only to drive-through road stopssmatz
2008-09-13(svn r14314) -Fix: pay for two road bits when adding/removing roadtype at ↵smatz
drive through road stop/level crossing
2008-09-11(svn r14293) -Change: do not show PBS track reservation in the intro gamesmatz
2008-09-07(svn r14258) -Codechange: rework the way to query the vehicle hash to make ↵rubidium
sure it always results in the same irregardless of the order of the hash-linked-list. -Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
2008-08-25(svn r14176) -Fix: better 'safe' than ... 'save'smatz
2008-08-02(svn r13931) -Codechange [YAPP]: Retain the reservation state when ↵rubidium
building/removing waypoints or level crossings. (michi_cc)
2008-08-02(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch ↵rubidium
setting. (michi_cc)
2008-07-25(svn r13824) -Fix (r13822): also make sure a tile is a road stop tile before ↵rubidium
trying to get information about the roadstop...
2008-07-25(svn r13822) -Fix [FS#2166]: building through the wrong side of a drive ↵rubidium
through station was allowed.
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-06-24(svn r13621) -Fix: building roadbits in the wrong direction on bridges or ↵rubidium
building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored.
2008-06-04(svn r13379) -Fix (r13255): drive side can't be changed in introglx