HackaLittleBit
60345d2e18
Fix cost of building tunnels.
7 years ago
Jonathan G Rennison
4d21d6f81c
Merge branch 'chunnel' into jgrpp
8 years ago
HackaLittleBit
eddd635f00
Chunnel: Make error reporting consistent with tunnel length reporting at cursor.
...
Error reporting should be in tune with occurrence of events.
8 years ago
Jonathan G Rennison
612c825bb6
Chunnel: Minor whitespace/scope changes, rename function.
8 years ago
HackaLittleBit
2549def764
Chunnel: Use separate container function for chunnel related conditions.
8 years ago
Jonathan G Rennison
0d4bf16f57
Merge branch 'custom_bridgeheads' into jgrpp
8 years ago
Jonathan G Rennison
57a5f08687
Fix handling of custom bridge heads on steep slopes.
8 years ago
HackaLittleBit
de24fed9d1
Chunnel: Tunnels are only allowed to cross sea.
8 years ago
Jonathan G Rennison
93a43da809
Chunnel: Prevent chunnels from intersecting with each other.
8 years ago
Jonathan G Rennison
4c9f7b73b3
Chunnel: Add a ground veh flag for (maybe) being in a chunnel
...
Use this to avoid inclination change code in non-chunnel wormholes.
8 years ago
Jonathan G Rennison
500ef49694
Chunnel: Double cost of building and removing chunnels.
8 years ago
Jonathan G Rennison
89a0a9c182
Chunnel: Use hash table for tunnel search, change tunnel fields and savegame format.
8 years ago
Jonathan G Rennison
212f6ce6ef
Chunnel: Add setting to enable construction, default off.
8 years ago
Jonathan G Rennison
02b33e7f64
Chunnel: Add error text for too many tunnels.
8 years ago
Jonathan G Rennison
aac5b2d4ad
Chunnel: Adjust struct Tunnel constructor
8 years ago
Jonathan G Rennison
21bbb42d7e
Chunnel: Adjust arguments of IsTunnelInWay
8 years ago
HackaLittleBit
7e6215f271
Chunnel patch 28401: Add: Tile description chunnel.
...
https://www.tt-forums.net/viewtopic.php?p=1183580#p1183580
8 years ago
HackaLittleBit
15c8e67655
Chunnel patch 28400: Codechange: Chunnels can now pass normal tunnels, fixed tile highlighting, fixed ramp detection.
...
https://www.tt-forums.net/viewtopic.php?p=1183580#p1183580
8 years ago
HackaLittleBit
1ac8f66de1
Chunnel patch 28397: Codechange: Chunnels can't pass oilrigs.
...
https://www.tt-forums.net/viewtopic.php?p=1183416#p1183416
8 years ago
HackaLittleBit
dfce9cc4c0
Chunnel patch 28396: Codechange: Chunnel portal must have minimal length of 4 tiles.
...
https://www.tt-forums.net/viewtopic.php?p=1183416#p1183416
8 years ago
HackaLittleBit
dee526c6d6
Chunnel patch 28395: Add: Basic chunnel. Creating tunnels under water.
...
https://www.tt-forums.net/viewtopic.php?p=1183416#p1183416
8 years ago
HackaLittleBit
f7ced74c22
Chunnel patch 28394: Codechange: Rework IsTunnelInWay proc.
...
https://www.tt-forums.net/viewtopic.php?p=1183416#p1183416
8 years ago
HackaLittleBit
ad070b91ea
Chunnel patch 28392: Add: Basic tunnel pool. (no save)
...
https://www.tt-forums.net/viewtopic.php?p=1183416#p1183416
8 years ago
Jonathan G Rennison
091c30e254
Merge branch 'custom_bridgeheads' into jgrpp
8 years ago
Jonathan G Rennison
c6fa52f1f1
Fix wrong calculation of road tunnel infrastructure counts.
8 years ago
Jonathan G Rennison
4550ac39b9
Merge branch 'signal_tunnels_bridges' into jgrpp
8 years ago
Jonathan G Rennison
e1ee952b85
Fix crash when updating infrastructure totals when deleting bridge with signals.
8 years ago
Jonathan G Rennison
072915f2c7
Merge branch 'custom_bridgeheads' into jgrpp
...
# Conflicts:
# docs/landscape_grid.html
# src/roadveh_cmd.cpp
# src/saveload/afterload.cpp
# src/saveload/extended_ver_sl.cpp
# src/saveload/extended_ver_sl.h
# src/settings_gui.cpp
# src/settings_type.h
# src/tunnelbridge_cmd.cpp
# src/tunnelbridge_map.h
8 years ago
Jonathan G Rennison
da177d063f
Custom bridge heads: Initial implementation
8 years ago
Jonathan G Rennison
1e5c788541
Merge branch 'signal_tunnels_bridges' into jgrpp
...
# Conflicts:
# src/table/settings.ini
# src/tunnelbridge.h
8 years ago
Jonathan G Rennison
d762835903
Signals on tunnel/bridges are now added to infrastructure stats.
8 years ago
Jonathan G Rennison
074555e41d
Merge branch 'save_ext' into signal_tunnels_bridges
8 years ago
Jonathan G Rennison
478ff2538e
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/english.txt
# src/lang/korean.txt
8 years ago
frosch
10293c5fb1
(svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window.
8 years ago
frosch
4753097c3d
(svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window.
8 years ago
Jonathan G Rennison
10ae23d3b9
Merge branch 'departure-boards' into jgrpp
...
VehicleListIdentifier API changes.
# Conflicts:
# src/departures.cpp
# src/vehicle_gui.cpp
8 years ago
frosch
d9bfe88261
(svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary.
8 years ago
frosch
616c02c42e
(svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary.
8 years ago
Jonathan G Rennison
f82feb160f
Merge branch 'signal_tunnels_bridges' into jgrpp
...
# Conflicts:
# projects/openttd_vs100.vcxproj
# projects/openttd_vs100.vcxproj.filters
# projects/openttd_vs140.vcxproj
# projects/openttd_vs140.vcxproj.filters
# projects/openttd_vs80.vcproj
# projects/openttd_vs90.vcproj
# source.list
# src/misc.cpp
# src/openttd.cpp
# src/pbs.cpp
# src/saveload/extended_ver_sl.cpp
# src/saveload/saveload.cpp
# src/signal.cpp
# src/train_cmd.cpp
# src/tunnelbridge_map.h
8 years ago
Jonathan G Rennison
556594f2f0
Extend bridge signal simulation to support an unlimited no. of signals.
...
This is instead of the previous limit of 16, all stored in M2.
8 years ago
Jonathan G Rennison
0d2e9f91bf
Adjust signal on bridge/tunnel map bits, rename accessors, add docs.
...
Use same bit to store red/green state for entrances and exits.
No longer re-use exit bit to store red/green state of entrance.
Avoid modifying the M2 of tunnel entrances/exits.
Rename and rationalise map accessor functions.
Document bits used in landscape HTML docs.
8 years ago
Jonathan G Rennison
d733955d33
Add road vehicle state to UpdateViewport()->GetImage() var whitelist.
...
Minor refactoring of var check.
8 years ago
keldorkatarn
4c37aad393
Make sure we the custom track type based signals for bridges and tunnels also.
...
(cherry picked from commit 1dc478cb654f88eab3c760bdc9f305ce3f039ec3)
9 years ago
keldorkatarn
5cc56d6ad9
Make 32 instead of 16 rail types possible. by using one free bit of m1 in the map array.
...
(cherry picked from commit b44843800880cdc186f5183301ee0f42afbb5f84)
Also set non-rail type M3 bits to 0 where applicable.
Change savegame versioning to SLXI format.
9 years ago
Jonathan G Rennison
d08b162119
Merge branch 'signal_tunnels_bridges-sx' into jgrpp
...
# Conflicts:
# src/saveload/afterload.cpp
# src/saveload/extended_ver_sl.cpp
# src/signal.cpp
# src/train_cmd.cpp
9 years ago
Jonathan G Rennison
35b93a42ac
Enable bridge/tunnel exit signals to be one-way PBS.
...
Add signal conversion support.
9 years ago
Jonathan G Rennison
1a2b5e5172
Also draw signals for tunnel exits.
9 years ago
Jonathan G Rennison
3861968765
Enable setting semaphore/electric type of signals on bridges/tunnels.
9 years ago
Jonathan G Rennison
2b4dbf582a
Show tunnel/bridge exit signal facing correct way with correct colour.
9 years ago
Jonathan G Rennison
a25ac7a161
Enable signals on bridges/tunnels to work with PBS.
9 years ago
Jonathan G Rennison
8cc6bddc24
Merge branch 'enhanced_viewport_overlay-sx' into jgrpp
...
Conflicts:
src/misc.cpp
9 years ago
Jonathan G Rennison
919057a5e6
Cache tunnel info in viewport map mode, to prevent render flicker.
...
If we see a tunnel during the usual tile scan, keep it in the cache
until it is explicitly evicted by a clear tunnel tile action, or
the cache is cleared at game init/load/shutdown.
Select colours at the drawing rather than the cache-building stage.
Bridges and tunnels are now stored/handled separately.
The process for bridges is mostly unchanged.
9 years ago
Jonathan G Rennison
169a979737
Merge branch 'signal_tunnels_bridges-sx' into jgrpp
...
Conflicts:
src/tunnelbridge.h
(Fixup zoom level changes).
9 years ago
Jonathan G Rennison
b3e03e8cf9
Fix middle of bridge not being redrawn when adding removing signals.
9 years ago
Jonathan G Rennison
e07e4fdb8e
Merge branch 'master' into signal_tunnels_bridges
9 years ago
Jonathan G Rennison
7ed93f9211
Merge branch 'enhanced_viewport_overlay-sx' into jgrpp
...
town_gui.cpp updated due to struct CommandContainer change.
Conflicts:
src/command.cpp
src/command_type.h
src/gfxinit.cpp
src/openttd.cpp
src/pbs.cpp
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/saveload/saveload.cpp
src/stdafx.h
src/train_cmd.cpp
src/viewport_type.h
src/window_type.h
9 years ago
Jonathan G Rennison
e24839ed65
Merge branch 'master' into enhanced_viewport_overlay
...
Notes on conflict resolution:
* MarkTileDirtyByTile gained an extra param on both sides of the merge
Move bridge level offset to be after zoom level param, as it's used less.
* Add zoom level params to MarkBridgeDirty functions
* Fix undefined behaviour in colour_index cycling in ViewportMapDraw
Conflicts:
src/clear_cmd.cpp
src/pbs.cpp
src/rail_cmd.cpp
src/toolbar_gui.cpp
src/train_cmd.cpp
src/vehicle.cpp
src/viewport.cpp
src/viewport_func.h
9 years ago
Jonathan G Rennison
9f79c555da
Merge branch 'save_ext' into signal_tunnels_bridges-sx
9 years ago
Jonathan G Rennison
22a5c6d459
Minor fixes in CmdRemoveSingleSignal
...
Whitespace fixes
9 years ago
patch-import
59b0b18aa2
Import signals on tunnels and bridges patch
...
http://www.tt-forums.net/viewtopic.php?p=1140215#p1140215
9 years ago
frosch
90d50d78c0
(svn r27313) -Fix [FS#6317]: Adding tram to town-owned bridges assigned an incorrect owner to the tram and did not count infrastructure counts properly. (marcole)
9 years ago
frosch
55e53780cb
(svn r27313) -Fix [FS#6317]: Adding tram to town-owned bridges assigned an incorrect owner to the tram and did not count infrastructure counts properly. (marcole)
9 years ago
frosch
bba85a6e01
(svn r27209) -Add: Draw path reservation on the whole bridge, not only on the bridge heads.
10 years ago
frosch
beb213f9ee
(svn r27209) -Add: Draw path reservation on the whole bridge, not only on the bridge heads.
10 years ago
frosch
5503af7bfa
(svn r27208) -Fix: Draw correct overlay sprites for path reservations on bridges and tunnels.
10 years ago
frosch
8f03a02efc
(svn r27208) -Fix: Draw correct overlay sprites for path reservations on bridges and tunnels.
10 years ago
frosch
bd3a8bf9e4
(svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges.
10 years ago
frosch
e8e49e5dda
(svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges.
10 years ago
rubidium
647a3c8e5f
(svn r26882) -Feature: allow limiting the height of bridges (ic111)
10 years ago
rubidium
ce04c49e3d
(svn r26882) -Feature: allow limiting the height of bridges (ic111)
10 years ago
rubidium
dc2b4f2498
(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible
10 years ago
rubidium
9daf7e749c
(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible
10 years ago
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
frosch
2ce5034005
(svn r26277) -Add [FS#5849]: Display speed limit also for road bridges in the TileInfo window.
11 years ago
frosch
f0e7f9982a
(svn r26277) -Add [FS#5849]: Display speed limit also for road bridges in the TileInfo window.
11 years ago
rubidium
baad79b1b6
(svn r26111) -Fix: theoretical case where sprite table could be overread for aqueducts that start at flat land
11 years ago
rubidium
b53da6a6f5
(svn r26111) -Fix: theoretical case where sprite table could be overread for aqueducts that start at flat land
11 years ago
rubidium
157a3d3be4
(svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED()
11 years ago
rubidium
be6b64f4e6
(svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED()
11 years ago
frosch
0ca316e1d9
(svn r25231) -Fix (r25227): Also update infrastructure counts. (adf88)
12 years ago
frosch
1e41b38b7d
(svn r25231) -Fix (r25227): Also update infrastructure counts. (adf88)
12 years ago
frosch
dd7d470808
(svn r25227) -Fix [FS#5541]: Give bridges owned by noone (from bankrupt companies) to the first company which replaces the bridge. Everyone could have removed/rebuild the bridge anyway.
12 years ago
frosch
d3b9a55535
(svn r25227) -Fix [FS#5541]: Give bridges owned by noone (from bankrupt companies) to the first company which replaces the bridge. Everyone could have removed/rebuild the bridge anyway.
12 years ago
frosch
4c4010970a
(svn r25141) -Fix: When extra dynamite was disabled, towns would be allowed to clear bridges with trams.
12 years ago
frosch
1e9049e0bd
(svn r25141) -Fix: When extra dynamite was disabled, towns would be allowed to clear bridges with trams.
12 years ago
frosch
5bf6513dfc
(svn r24912) -Fix [FS#5389]: Upgrading bridges could steal road types. (adf88)
12 years ago
frosch
eda4cfeabe
(svn r24912) -Fix [FS#5389]: Upgrading bridges could steal road types. (adf88)
12 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
92a2302dbd
(svn r24895) -Fix [FS#5436]: Allow downgrade of road bridges in the scenario editor
12 years ago
planetmaker
812346cad9
(svn r24895) -Fix [FS#5436]: Allow downgrade of road bridges in the scenario editor
12 years ago
frosch
1e327a20c4
(svn r24413) -Add [FS#5221-ish]: Allow overbuilding bridges with the same type when adding a roadtype.
12 years ago
frosch
25203976f0
(svn r24413) -Add [FS#5221-ish]: Allow overbuilding bridges with the same type when adding a roadtype.
12 years ago
rubidium
76d5833650
(svn r24179) -Codechange: move some variables of Town to TownCache
13 years ago
rubidium
41e5c839e0
(svn r24179) -Codechange: move some variables of Town to TownCache
13 years ago
michi_cc
ff73fdb4b0
(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail).
13 years ago
michi_cc
9101d2e2d2
(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail).
13 years ago
frosch
4705dc84b1
(svn r23864) -Fix: Railtype overlays were drawn 'only transparent' on invisible bridges.
13 years ago
frosch
1eac425e0b
(svn r23864) -Fix: Railtype overlays were drawn 'only transparent' on invisible bridges.
13 years ago
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
truebrain
102c7ae60e
(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
13 years ago
truebrain
084f4e6aac
(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
13 years ago
frosch
b43fdd903a
(svn r23586) -Fix: Draw PBS reservation also for bridges with railtype overlays.
13 years ago
frosch
1bb9639862
(svn r23586) -Fix: Draw PBS reservation also for bridges with railtype overlays.
13 years ago
frosch
cecf7c4bc4
(svn r23584) -Fix: Draw PBS reservations also for tunnels with railtype overlays.
13 years ago
frosch
89c263c2df
(svn r23584) -Fix: Draw PBS reservations also for tunnels with railtype overlays.
13 years ago
michi_cc
796fe54a2f
(svn r23413) -Add: Company infrastructure counts for canals.
13 years ago
michi_cc
c06bbb4863
(svn r23413) -Add: Company infrastructure counts for canals.
13 years ago
michi_cc
7a6b45c133
(svn r23412) -Add: Company infrastructure counts for road.
13 years ago
michi_cc
a29a9d94b7
(svn r23412) -Add: Company infrastructure counts for road.
13 years ago
michi_cc
85ec2f07af
(svn r23411) -Add: Company infrastructure counts for rail.
13 years ago
michi_cc
d30fcd4e35
(svn r23411) -Add: Company infrastructure counts for rail.
13 years ago
yexo
36e61e08b3
(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions
13 years ago
yexo
6a272233b3
(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions
13 years ago
rubidium
e8eb3fe381
(svn r23110) -Codechange: let the flying altitude return ints are well
13 years ago
rubidium
9782b7bb0a
(svn r23110) -Codechange: let the flying altitude return ints are well
13 years ago
rubidium
0e2d2b2317
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
13 years ago
rubidium
2a2c102b0b
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
13 years ago
rubidium
fb9fb416a1
(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well
13 years ago
rubidium
459c9523e8
(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well
13 years ago
rubidium
70faeeaba9
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
13 years ago
rubidium
19eabdba2c
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
13 years ago
rubidium
5d7acba5d3
(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code
13 years ago
rubidium
1dc685aeea
(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code
13 years ago
rubidium
f923ede158
(svn r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT from the tunnel code
13 years ago
rubidium
f0f17a77ba
(svn r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT from the tunnel code
13 years ago
rubidium
fd992c9fd8
(svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code
13 years ago
rubidium
d0689c2924
(svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code
13 years ago
rubidium
a70fdbcf2f
(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code
13 years ago
rubidium
69162621d8
(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code
13 years ago
rubidium
de980ef0f9
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
rubidium
7757a2ed40
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
13 years ago
terkhen
f45bf2d1af
(svn r22821) -Fix [FS#4741]: Allow to demolish aqueducts built in the scenario editor.
13 years ago
terkhen
bbdc8fdba7
(svn r22821) -Fix [FS#4741]: Allow to demolish aqueducts built in the scenario editor.
13 years ago
rubidium
c691b4c49e
(svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88)
13 years ago
rubidium
7b418502ab
(svn r22700) -Fix [FS#4680]: cost of changing bridge type is undercalculated when adding road types as well (based on patch by adf88)
13 years ago
rubidium
d946841eff
(svn r22413) -Document: even more stuff
14 years ago
rubidium
ff143c6708
(svn r22413) -Document: even more stuff
14 years ago
rubidium
87272273b5
(svn r22405) -Document: some more "random-ish" tidbits
14 years ago
rubidium
1a515e6344
(svn r22405) -Document: some more "random-ish" tidbits
14 years ago
rubidium
3cb12ed89c
(svn r22019) -Codechange: s/functions.h/clear_func.h/
14 years ago
rubidium
0395aab420
(svn r22019) -Codechange: s/functions.h/clear_func.h/
14 years ago
rubidium
7086bb3017
(svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting
14 years ago
rubidium
46b3d114a8
(svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting
14 years ago
rubidium
285f369969
(svn r21956) -Cleanup: always draw the bridge pillars
14 years ago
rubidium
71f4067d19
(svn r21956) -Cleanup: always draw the bridge pillars
14 years ago
terkhen
fbad07d3df
(svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company.
14 years ago
terkhen
28676531b0
(svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company.
14 years ago
rubidium
2773233044
(svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridges
14 years ago
rubidium
c8a4d122c5
(svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridges
14 years ago
rubidium
0f52366443
(svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels
14 years ago
rubidium
293ede7bdf
(svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels
14 years ago
rubidium
3d6ba9ab0d
(svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height"
14 years ago
rubidium
fe841c3d0b
(svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height"
14 years ago
frosch
0ebd5af86f
(svn r21291) -Fix: Treat objects on water like water in more cases.
14 years ago
frosch
55d604e60d
(svn r21291) -Fix: Treat objects on water like water in more cases.
14 years ago
frosch
dadf68fe1d
(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects.
14 years ago
frosch
0fff26db97
(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects.
14 years ago
rubidium
127a70cb19
(svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone.
14 years ago
rubidium
395335c197
(svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone.
14 years ago
rubidium
adb1692a4d
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
14 years ago
rubidium
ed18d02e9a
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
14 years ago
rubidium
0b0b1e4d28
(svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo)
14 years ago
rubidium
65e6c9fd12
(svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo)
14 years ago
rubidium
24fe5e2a62
(svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
b50aeb9552
(svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
e08f93b977
(svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
f118744ff2
(svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
38b4224078
(svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo)
14 years ago
rubidium
8b8b4e083c
(svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo)
14 years ago
rubidium
06bb553545
(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle
14 years ago
rubidium
d1dfb27699
(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle
14 years ago
belugas
d5c8ea393d
(svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work)
14 years ago
belugas
ab9279b5a0
(svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work)
14 years ago
alberth
063931d435
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
frosch
c7ef47ebb2
(svn r21013) -Cleanup: Replace some magic value mappings with existing conversion functions. (Hirundo)
14 years ago
frosch
af6c12d586
(svn r21013) -Cleanup: Replace some magic value mappings with existing conversion functions. (Hirundo)
14 years ago
frosch
1fb1efce25
(svn r21012) -Codechange: Deduplicate some code. (Hirundo)
14 years ago
frosch
b10fbd477d
(svn r21012) -Codechange: Deduplicate some code. (Hirundo)
14 years ago
frosch
587e63f841
(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)
14 years ago
frosch
bcd006e4fc
(svn r20961) -Cleanup: Remove redundant/duplicate invisibility test. (uni657)
14 years ago
frosch
31ecda7cdc
(svn r20947) -Change: Draw bridgepillars with correct length on all tile corners by drawing only half of the pillar sprite if required. (based on patch by uni657)
...
Note: Cantilever and tubular bridges will still look weird when using orignal graphics. Use OpenGFX instead :)
14 years ago
frosch
cdf985bff4
(svn r20947) -Change: Draw bridgepillars with correct length on all tile corners by drawing only half of the pillar sprite if required. (based on patch by uni657)
...
Note: Cantilever and tubular bridges will still look weird when using orignal graphics. Use OpenGFX instead :)
14 years ago
frosch
013aba00c3
(svn r20946) -Codechange: Add helper function to draw pillar columns.
14 years ago
frosch
3edf041a43
(svn r20946) -Codechange: Add helper function to draw pillar columns.
14 years ago
frosch
b7ebdb4432
(svn r20945) -Codechange: Add helper function to draw single pillar sprites. (based on patch by uni657)
14 years ago
frosch
01be182880
(svn r20945) -Codechange: Add helper function to draw single pillar sprites. (based on patch by uni657)
14 years ago
frosch
ede9b2bfcf
(svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657)
14 years ago
frosch
3866d8e2d1
(svn r20944) -Codechange: Bail out early in DrawBridgePillars(). (uni657)
14 years ago
frosch
ea905e661e
(svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657)
14 years ago
frosch
58ed553068
(svn r20943) -Codechange: Name some magic constants. (Based on patch by uni657)
14 years ago
frosch
98cd443735
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
14 years ago
frosch
3fb7f5aa87
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
14 years ago
yexo
40ab36e19f
(svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high
14 years ago
yexo
2e054c19ad
(svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high
14 years ago
rubidium
34c4e8f259
(svn r20668) -Codechange: add (more) support for bridges over objects
14 years ago
rubidium
41a80490be
(svn r20668) -Codechange: add (more) support for bridges over objects
14 years ago