summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
2009-06-07(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. ↵frosch
childsprite of foundation/bridgehead.
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-30(svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in ↵smatz
the menu
2009-05-22(svn r16392) -Codechange: move some variables (the ones that aren't caches) ↵rubidium
from VehicleRail to Train
2009-05-22(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.rubidium
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-22(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.rubidium
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-18(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), ↵smatz
introduce shiny new IsPlainRailTile()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
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-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-13(svn r15704) -Cleanup: remove further includes from recently split filessmatz
2009-03-12(svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible.yexo
2009-03-11(svn r15670) -Fix (r15601): The owner of both the road and of the tram ↵yexo
tracks was checked, but not the owner of the road itself.
2009-03-10(svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail ↵yexo
tunnels/bridges and aqueducts build by rival companies.
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 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-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
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-23(svn r14613) -Fix [FS#2420]: When building industries, clear the tiles as ↵frosch
OWNER_TOWN instead of the founder to take care of protected buildings and to not get stressed by town ratings.
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.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-14(svn r14326) -Fix: some wrong comments (Yexo)rubidium
2008-09-11(svn r14293) -Change: do not show PBS track reservation in the intro gamesmatz
2008-09-11(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only ↵frosch
pillars; DrawCatenaryOnTunnel() draws only wires.
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-25(svn r14173) -Fix: Don't check for rail type and catenary on aqueducts.peter1138
2008-08-02(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing ↵rubidium
some tracks and reroute trains afterwards. (michi_cc)
2008-08-02(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch ↵rubidium
setting. (michi_cc)
2008-07-22(svn r13795) -Change: do not require canals/rivers/seas to be empty when ↵rubidium
building a bridge over it as it is not required for roads and rails either.
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-15(svn r13705) -Codechange: Define and use BridgePieces enum, which will ↵belugas
remove a few more magic numbers
2008-06-26(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2smatz
2008-06-23(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given ↵rubidium
length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
2008-06-11(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueductssmatz
2008-06-11(svn r13477) -Fix (r13464): correct tile type in the Query tile info windowsmatz
2008-06-11(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and ↵smatz
on company bankrupt
2008-06-11(svn r13468) -Fix: make aqueducts a little more expensive than normal ↵rubidium
bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either.
2008-06-11(svn r13466) -Fix (r13464): slope checking got lost during development...rubidium