rubidium
f858e5bbf4
(svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either.
2008-06-11 14:51:31 +00:00
rubidium
93fb5bc63d
(svn r13466) -Fix (r13464): slope checking got lost during development...
2008-06-11 14:13:07 +00:00
rubidium
7f6382badd
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
2008-06-11 13:54:01 +00:00
rubidium
923e21129c
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29 15:13:28 +00:00
rubidium
8c9cc415e3
(svn r13255) -Codechange: move _opt to _settings.
2008-05-25 22:36:44 +00:00
rubidium
4625695653
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
frosch
eca692ef90
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
2008-05-21 22:15:39 +00:00
smatz
ec627dedf8
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
2008-05-14 18:31:21 +00:00
smatz
386a3f1d20
(svn r13016) -Codechange: unify the detection if rail catenary should be drawn
2008-05-08 16:48:29 +00:00
rubidium
7ccda80b0b
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
2008-05-07 09:07:19 +00:00
peter1138
a00371c8db
(svn r12924) -Feature: Introducing the so called 'engine pool' which 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-29 21:31:29 +00:00
smatz
459259aeec
(svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases
2008-04-23 19:47:23 +00:00
rubidium
1b2773445d
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
2008-04-18 10:16:51 +00:00
rubidium
b1d1a4ac66
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
2008-04-17 21:21:01 +00:00
rubidium
02cdf01507
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-17 19:10:30 +00:00
smatz
627322b9f7
(svn r12632) -Fix (r12547): with invisible catenary, trams were be drawn over a bridge
2008-04-08 21:28:47 +00:00
smatz
febc5150c9
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
2008-04-03 19:55:40 +00:00
rubidium
ef2be7d0fc
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31 00:17:39 +00:00
peter1138
6184676ec7
(svn r12410) -Codechange: abstract out the test for catenary on electric rails
2008-03-25 12:10:13 +00:00
belugas
c0544563a6
(svn r12208) -Codechange: Alignment of params makes the code easier to read.
2008-02-21 16:05:33 +00:00
frosch
b7993793c8
(svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
2008-02-20 17:49:50 +00:00
smatz
29125c0e68
(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-18 16:11:31 +00:00
smatz
38969fe46d
(svn r12171) -Fix [FS#609]: return correct bridge price for AI when 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-18 01:42:21 +00:00
smatz
d75cccf5d5
(svn r12170) -Fix: do not draw trees along road and street lights under low bridges (spotted by _minime_)
2008-02-17 21:27:44 +00:00
frosch
43c0f7ea8e
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-14 15:59:16 +00:00
belugas
6bb9c474dd
(svn r12127) -Codechange: Use a variable instead of calling the same function a few times. Again. Just a different value.
2008-02-13 03:21:19 +00:00
belugas
c95ff294fb
(svn r12126) -Codechange: Use a variable instead of calling the same function a few times
2008-02-13 03:02:02 +00:00
belugas
f4334301e8
(svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents
2008-02-12 03:05:27 +00:00
peter1138
f175e46208
(svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec
2008-02-11 19:10:33 +00:00
belugas
cc2b8b574a
(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used.
2008-02-11 17:35:15 +00:00
belugas
4f0e6ab0ea
(svn r12107) -Codechange: Add and use the typedef BridgeType
2008-02-11 04:12:30 +00:00
belugas
d8b3526840
(svn r12106) -Fix(r12105): Kill warnings and raise an error when the transport type is not supported
2008-02-11 03:22:44 +00:00
belugas
9a50fcd281
(svn r12105) -Codechange: Use TransportType instead of guessing what kind of bridge we are preparing to build
2008-02-11 01:06:44 +00:00
smatz
8a768652c8
(svn r12103) -Feature(tte): separate catenary transparency settings from building transparency settings
2008-02-10 15:53:26 +00:00
smatz
802c949755
(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes
2008-02-09 15:07:31 +00:00
belugas
62b3520e51
(svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpec
...
-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 05:21:02 +00:00
belugas
3003986e67
(svn r12064) -Codechange : Give grf bridges their own ResetBridges function, and put bridge spec in table/bridge_land.h, where it should be.
2008-02-05 04:48:56 +00:00
belugas
1e51090e74
(svn r12048) -Cleanup: Move some strings in the original bridge array, adjust documentation a bit.
2008-02-03 03:37:33 +00:00
peter1138
1d891a8b15
(svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in 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-02-02 09:28:43 +00:00
frosch
6f6708e844
(svn r11983) -Codechange: Add some helper functions for slopes and use them.
2008-01-25 15:47:58 +00:00
smatz
5a7c903770
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-23 22:34:04 +00:00
smatz
0b888ccc00
(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
2008-01-23 14:51:36 +00:00
peter1138
ff0891426f
(svn r11955) -Fix (r11926): Prevent bridge and tunnel ends being placed on rivers.
2008-01-23 08:28:19 +00:00
frosch
b99c83246b
(svn r11946) -Fix: slope detection of bridge ramps.
...
YAPF failed for steep slopes.
Trolly failed for a lot.
2008-01-22 16:08:17 +00:00
frosch
0a6425926b
(svn r11937) -Feature: Allow building bridge heads on more slopes.
...
These are SLOPE_NW, SLOPE_SW, SLOPE_SE, SLOPE_NE (with bridge perpendicular to the slope) and SLOPE_NS, SLOPE_EW.
2008-01-21 15:48:00 +00:00
frosch
f23e71f22f
(svn r11936) -Fix: 'BRIDGE_TOO_LOW_FOR_TERRAIN'-check was wrong for steep slopes.
2008-01-21 15:20:58 +00:00
peter1138
4a2f7db99b
(svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor.
2008-01-19 17:00:54 +00:00
smatz
9556623281
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
2008-01-16 01:18:15 +00:00
smatz
245f05a7cc
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
2008-01-15 15:00:01 +00:00
smatz
0078fd1699
(svn r11861) -Fix: do not call rail specific functions when removing road tunnel/bridge
2008-01-15 11:45:29 +00:00