summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
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.
2008-01-22(svn r11946) -Fix: slope detection of bridge ramps.frosch
YAPF failed for steep slopes. Trolly failed for a lot.
2008-01-21(svn r11937) -Feature: Allow building bridge heads on more slopes.frosch
These are SLOPE_NW, SLOPE_SW, SLOPE_SE, SLOPE_NE (with bridge perpendicular to the slope) and SLOPE_NS, SLOPE_EW.
2008-01-21(svn r11936) -Fix: 'BRIDGE_TOO_LOW_FOR_TERRAIN'-check was wrong for steep ↵frosch
slopes.
2008-01-19(svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else ↵peter1138
rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor.
2008-01-16(svn r11871) -Fix [FS#1074]: do not update signals after each tile when ↵smatz
building/removing a large block of track/signals/station
2008-01-15(svn r11864) -Codechange: pass owner whose signals we will update instead of ↵smatz
complex detection later
2008-01-15(svn r11861) -Fix: do not call rail specific functions when removing road ↵smatz
tunnel/bridge
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very ↵smatz
long track -Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11795) -Fix [FS#1616]: take town rating into account when testing if a ↵glx
command can be executed.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium