summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
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
2008-06-11(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.rubidium
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
2008-05-14(svn r13090) -Codechange: add functions for direct conversion from ↵smatz
DiagDirection to Track and Trackbits
2008-05-08(svn r13016) -Codechange: unify the detection if rail catenary should be drawnsmatz
2008-05-07(svn r12986) -Codechange: move the landscape and transport related types ↵rubidium
from openttd.h to their own headers.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-23(svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was ↵smatz
drawn twice in some cases
2008-04-18(svn r12765) -Codechange: move some stuff out of variables.h that required ↵rubidium
including other headers in variables.h.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-08(svn r12632) -Fix (r12547): with invisible catenary, trams were be drawn ↵smatz
over a bridge
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-25(svn r12410) -Codechange: abstract out the test for catenary on electric railspeter1138
2008-02-21(svn r12208) -Codechange: Alignment of params makes the code easier to read.belugas
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-18(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so ↵smatz
there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-18(svn r12171) -Fix [FS#609]: return correct bridge price for AI when ↵smatz
DC_QUERY_COST is set (patch by Raimar Falke) It never happens in current code, but it is better to be ready for it
2008-02-17(svn r12170) -Fix: do not draw trees along road and street lights under low ↵smatz
bridges (spotted by _minime_)
2008-02-14(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), ↵frosch
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-13(svn r12127) -Codechange: Use a variable instead of calling the same ↵belugas
function a few times. Again. Just a different value.
2008-02-13(svn r12126) -Codechange: Use a variable instead of calling the same ↵belugas
function a few times
2008-02-12(svn r12118) -Codechange: Put the two descriptions of bridges in an array ↵belugas
instead of two single variables, following the transport type it represents
2008-02-11(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpecpeter1138
2008-02-11(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy ↵belugas
with other Specs in used.
2008-02-11(svn r12107) -Codechange: Add and use the typedef BridgeTypebelugas
2008-02-11(svn r12106) -Fix(r12105): Kill warnings and raise an error when the ↵belugas
transport type is not supported
2008-02-11(svn r12105) -Codechange: Use TransportType instead of guessing what kind of ↵belugas
bridge we are preparing to build
2008-02-10(svn r12103) -Feature(tte): separate catenary transparency settings from ↵smatz
building transparency settings
2008-02-09(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player ↵smatz
property to allow further fixes
2008-02-05(svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpecbelugas
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec -Codechange: Rationalize the use of Bridge type pointer
2008-02-05(svn r12064) -Codechange : Give grf bridges their own ResetBridges function, ↵belugas
and put bridge spec in table/bridge_land.h, where it should be.
2008-02-03(svn r12048) -Cleanup: Move some strings in the original bridge array, ↵belugas
adjust documentation a bit.
2008-02-02(svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in ↵peter1138
the map, allowing the sea/river/canal status to also be stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the original water type.
2008-01-25(svn r11983) -Codechange: Add some helper functions for slopes and use them.frosch
2008-01-23(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use ↵smatz
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-23(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditionssmatz
2008-01-23(svn r11955) -Fix (r11926): Prevent bridge and tunnel ends being placed on ↵peter1138
rivers.