frosch
a47fb85cd8
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
7 years ago
Jonathan G Rennison
4db69283c1
Add setting to disable removing sea/rivers
7 years ago
Jonathan G Rennison
424e4691ce
Show tracerestrict and/or progsig windows when ctrl-clicking signal.
7 years ago
Jonathan G Rennison
ac69b746ab
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/gfxinit.cpp
# src/saveload/saveload.cpp
7 years ago
peter1138
3109f158a6
(svn r27784) -Fix [FS#6505]: Allow rail conversion even if ship is on tile (Samu).
7 years ago
peter1138
7501b7cf7a
(svn r27784) -Fix [FS#6505]: Allow rail conversion even if ship is on tile (Samu).
7 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
90cd312428
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/fios.h
8 years ago
frosch
1446d916f0
(svn r27726) -Fix: Improve error message when trying to build rail track over a depot. (adf88)
8 years ago
frosch
b276dd7c63
(svn r27726) -Fix: Improve error message when trying to build rail track over a depot. (adf88)
8 years ago
Jonathan G Rennison
074555e41d
Merge branch 'save_ext' into signal_tunnels_bridges
8 years ago
Jonathan G Rennison
cea0d42548
Merge branch 'master' into jgrpp
8 years ago
frosch
4e2ecbb5a1
(svn r27690) -Fix: Old compilers do not zero-initialise POD members when explicitly calling implicitly created default constructors.
8 years ago
frosch
69966b6322
(svn r27690) -Fix: Old compilers do not zero-initialise POD members when explicitly calling implicitly created default constructors.
8 years ago
frosch
0360e61dae
(svn r27688) -Fix-ish: Initialise new railtypes with the original railtype data, though strictly NewGRF could only have modified 'label' and 'alternate_labels' at the time AllocateRailType is called, which are reset anyway.
8 years ago
frosch
108a0fc0d7
(svn r27688) -Fix-ish: Initialise new railtypes with the original railtype data, though strictly NewGRF could only have modified 'label' and 'alternate_labels' at the time AllocateRailType is called, which are reset anyway.
8 years ago
frosch
00b422712e
(svn r27687) -Fix: RailtypeInfo::alternate_labels leaked when reloading NewGRF. (adf88)
8 years ago
frosch
3ee06b036e
(svn r27687) -Fix: RailtypeInfo::alternate_labels leaked when reloading NewGRF. (adf88)
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
4753097c3d
(svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window.
8 years ago
frosch
10293c5fb1
(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
616c02c42e
(svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary.
8 years ago
frosch
d9bfe88261
(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
8a59b960d4
Fix missing include in parent commit.
8 years ago
Jonathan G Rennison
e85e302a68
Merge branch 'signal_tunnels_bridges' into jgrpp
...
# Conflicts:
# src/rail_cmd.cpp
8 years ago
Jonathan G Rennison
8281041784
Fix action cost estimation for signal dragging over bridge/tunnels.
...
If a bridge/tunnel entrance is signalled, blacklist the far end.
8 years ago
Jonathan G Rennison
afb5b625ef
Merge branch 'tracerestrict-sx' into jgrpp
...
# Conflicts:
# src/rail_cmd.cpp
8 years ago
Jonathan G Rennison
fe1fee456a
Merge branch 'tracerestrict' into tracerestrict-sx
8 years ago
Jonathan G Rennison
a091780843
Fix type mismatch in GRF externals.
8 years ago
Jonathan G Rennison
54b8eb9b4c
Merge branch 'polyline_track_tool' into jgrpp
...
# Conflicts:
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/viewport.cpp
# src/viewport_func.h
8 years ago
patch-import
01cf154f51
Import polyline rail tool patch v10b
...
http://www.tt-forums.net/viewtopic.php?f=33&t=57080
8 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.
8 years ago
Jonathan G Rennison
59677d5c6f
Merge branch 'signal_tunnels_bridges-sx' into jgrpp
8 years ago
keldorkatarn
095229128d
Fix crash when dragging two-directional block signals onto a bridge or tunnel
...
(cherry picked from commit 4199ba5981b2761d5226ebc89b315f00e62e1a3a)
8 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
8 years ago
Jonathan G Rennison
35b93a42ac
Enable bridge/tunnel exit signals to be one-way PBS.
...
Add signal conversion support.
8 years ago
Jonathan G Rennison
69c2cf352e
Fix drag-convert not updating bridge/tunnel direction correctly.
8 years ago
Jonathan G Rennison
3861968765
Enable setting semaphore/electric type of signals on bridges/tunnels.
8 years ago
Jonathan G Rennison
41e0d65d6a
Merge branch 'progsig-sx' into jgrpp
9 years ago
Jonathan G Rennison
1e9433e0ff
progsig: Fix signal dependency being left dangling after cycling side.
...
If the target of a programmable signal dependency was cycled to the
other side, the dependency was not cleared.
As the dependency was then no longer valid, it was not cleared by the
programmable signal.
Deleting the programmable signal and then the target signal resulted
in a crash.
9 years ago
Jonathan G Rennison
a671f40fc8
Merge branch 'save_ext' into tracerestrict-sx
9 years ago
Jonathan G Rennison
69f3844d2e
Merge branch 'tracerestrict-sx' into jgrpp
...
Conflicts:
src/lang/english.txt
src/settings_gui.cpp
src/settings_type.h
src/table/settings.ini
9 years ago
Jonathan G Rennison
a93714a720
Add setting to show restricted electric signals using the default sprites.
...
This is to improve visual distinctiveness of restricted signals when
using signal GRFs.
This defaults to off.
9 years ago
Jonathan G Rennison
8edf5e0a34
Special case OpenGFX as a "base" set to allow recolouring signals.
9 years ago
Jonathan G Rennison
5b1fe71552
Merge branch 'tracerestrict-sx' into jgrpp
...
Conflicts:
src/rail_cmd.cpp
9 years ago
Jonathan G Rennison
4d484a858f
Fix attempts to recolour signal sprites from GRFs.
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
95a329a4b9
Fix signals on far side of bridge not being updated when adding/removing signals.
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
8d19727c93
Merge branch 'save_ext' into jgrpp
...
Conflicts:
src/pathfinder/follow_track.hpp
9 years ago
Jonathan G Rennison
3b60379a42
Merge branch 'signal_tunnels_bridges-sx' into jgrpp
9 years ago
Jonathan G Rennison
5d774e5844
Merge branch 'signal_tunnels_bridges' into signal_tunnels_bridges-sx
9 years ago
Jonathan G Rennison
654afdc113
Fix removing signals from bridges not updating adjacent signals.
...
Fix minor whitespace/code issues.
9 years ago
frosch
ade25fff71
(svn r27427) -Fix: Use the NewGRF railtype sorting order in the infrastructure window.
9 years ago
frosch
2d636266f5
(svn r27427) -Fix: Use the NewGRF railtype sorting order in the infrastructure window.
9 years ago
Jonathan G Rennison
6c5b86bd21
Merge branch 'progsig-sx' into jgrpp
9 years ago
Jonathan G Rennison
0577d7cbf8
progsig: Fix test remove rail action clearing signal programs.
...
This could be triggered by using shift, using the land info window, etc.
9 years ago
Jonathan G Rennison
e257b23cba
Merge branch 'tracerestrict-sx' into jgrpp
9 years ago
Jonathan G Rennison
38aaf8a921
Fix compilation on legacy compilers.
9 years ago
Jonathan G Rennison
f2d0c3a441
Merge branch 'tracerestrict-sx' into jgrpp
...
Conflicts:
src/gfxinit.cpp
src/rail_cmd.cpp
src/table/sprites.h
9 years ago
Jonathan G Rennison
8faead7e7a
Graphically indicate restricted signals by recolouring the signal post.
...
Recolour signal posts from grey to blue for restricted signals which
are not semaphores and are not custom sprites.
9 years ago
Jonathan G Rennison
55af40c456
Merge branch 'signal_tunnels_bridges-sx' into jgrpp
9 years ago
Jonathan G Rennison
a5f00c1df5
Merge branch 'signal_tunnels_bridges' into signal_tunnels_bridges-sx
9 years ago
Jonathan G Rennison
20f1f48983
Fix add/removing signals on bridges/tunnels not checking train occupancy.
...
Fix compiler warning.
9 years ago
Jonathan G Rennison
29c4f244f3
Merge branch 'master' into tracerestrict
...
Conflicts:
src/pathfinder/yapf/yapf_costrail.hpp
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
patch-import
536a95dfd0
Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch
...
https://www.tt-forums.net/viewtopic.php?f=33&t=53394
9 years ago
Jonathan G Rennison
a2eac188de
Merge branches 'save_ext', 'tracerestrict-sx', 'departure-boards-sx', 'town_cargo_adj-sx', 'signal_tunnels_bridges-sx', 'adjacent_crossings-sx' and 'progsig-sx' into jgrpp
9 years ago
Jonathan G Rennison
bc8b2d9826
Merge branch 'save_ext' into tracerestrict-sx
9 years ago
Jonathan G Rennison
77ec2aac58
Merge branch 'save_ext' into progsig-sx
9 years ago
Jonathan G Rennison
6ac6759b00
Merge branch 'save_ext' into signal_tunnels_bridges-sx
9 years ago
Jonathan G Rennison
27c70542da
Merge branch 'signal_tunnels_bridges-sx' into jgrpp
...
Conflicts:
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/settings_type.h
src/signal.cpp
9 years ago
Jonathan G Rennison
2bcbeea011
Merge branch 'progsig-sx' into jgrpp
...
Conflicts:
src/command.cpp
src/command_type.h
src/lang/english.txt
src/rail_cmd.cpp
src/rail_gui.cpp
src/saveload/extended_ver_sl.cpp
src/saveload/extended_ver_sl.h
src/saveload/saveload.cpp
src/widgets/rail_widget.h
src/window_type.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
patch-import
fc0efe599e
Port of the programmable signals patch to recent trunk
...
Also add some additional changes from the SpringPP patch,
and make some other minor changes/fixes.
9 years ago
frosch
4eb6ce863a
(svn r27354) -Fix (r27343): Actually make it work. (rubidium)
9 years ago
frosch
e9b25f2ee8
(svn r27354) -Fix (r27343): Actually make it work. (rubidium)
9 years ago
Jonathan G Rennison
9fc308b70e
Update land info window to indicate if signal tile is restricted.
9 years ago
Jonathan G Rennison
5f1b148cf9
Initial minimal working tracerestrict implementation.
...
This is a port of the tracerestrict/routing restrictions feature
from TTDPatch.
At present this implements if tests (train length only),
and pathfinder deny and penalty actions.
This requires the use of YAPF. Note that restrictions are only evaluated
within the YAPF lookahead distance.
9 years ago
frosch
13a726b18f
(svn r27343) -Feature [FS#6315]: [NewGRF] Allow railtype NewGRF to define separate sprites for the fences on either track side.
9 years ago
frosch
74e61a1806
(svn r27343) -Feature [FS#6315]: [NewGRF] Allow railtype NewGRF to define separate sprites for the fences on either track side.
9 years ago
frosch
0efffb6df4
(svn r27309) -Change [FS#6283]: Auto-complete partial roads when building level-crossings. (adf88)
9 years ago
frosch
9b534b4393
(svn r27309) -Change [FS#6283]: Auto-complete partial roads when building level-crossings. (adf88)
9 years ago
frosch
db7dc5a6e9
(svn r27253) -Fix [FS#6282]: When crossing tram tracks with railroads, cost of extra roads was not being counted. (adf88)
9 years ago
frosch
e3c8e8e8e8
(svn r27253) -Fix [FS#6282]: When crossing tram tracks with railroads, cost of extra roads was not being counted. (adf88)
9 years ago
frosch
f690713802
(svn r27252) -Fix [FS#6281]: Invalid infrastructure counting when crossing tram tracks with railroads. (adf88)
9 years ago
frosch
3a82bae0d3
(svn r27252) -Fix [FS#6281]: Invalid infrastructure counting when crossing tram tracks with railroads. (adf88)
9 years ago
frosch
1ab66855db
(svn r27207) -Codechange: Replace some magic integers with the appropiate symbols.
9 years ago
frosch
a6e4e5d444
(svn r27207) -Codechange: Replace some magic integers with the appropiate symbols.
9 years ago
frosch
bd3a8bf9e4
(svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges.
9 years ago
frosch
e8e49e5dda
(svn r27157) -Fix: Mark bridge middle tiles dirty when building/removing/changing bridges.
9 years ago
peter1138
4f63bbedc1
(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom level.
10 years ago
peter1138
51fe741987
(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom level.
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
10 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
10 years ago
frosch
eb6974179d
(svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to.
11 years ago
frosch
41b7a04a68
(svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to.
11 years ago
fonsinchen
4b525e34fe
(svn r26291) -Fix [FS#5866, FS#5888]: Correctly identify opposite ends of bridges and tunnels when converting rails (adf88)
11 years ago
fonsinchen
9dc69d7f4d
(svn r26291) -Fix [FS#5866, FS#5888]: Correctly identify opposite ends of bridges and tunnels when converting rails (adf88)
11 years ago
frosch
83b7021d9f
(svn r26279) -Fix [FS#5853]: [NoAI] Some RemoveRail methods required to set a valid railtype, though it was not used anyway. Remove the need to set one.
11 years ago
frosch
5d4c4b9172
(svn r26279) -Fix [FS#5853]: [NoAI] Some RemoveRail methods required to set a valid railtype, though it was not used anyway. Remove the need to set one.
11 years ago
rubidium
34ae6d4b39
(svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in multiplayer (adf88)
11 years ago
rubidium
116adbc0e1
(svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in multiplayer (adf88)
11 years ago
frosch
478500abbc
(svn r25832) -Codechange: Reduce variety of object type test functions.
11 years ago
frosch
2080a8c16f
(svn r25832) -Codechange: Reduce variety of object type test functions.
11 years ago
frosch
0a11f93c3d
(svn r25302) -Fix [FS#5565]: Build railway fences next to objects, even if they are owned by the same company.
11 years ago
frosch
812faf08b5
(svn r25302) -Fix [FS#5565]: Build railway fences next to objects, even if they are owned by the same company.
11 years ago
frosch
09ac5c639c
(svn r25082) -Codechange [FS#5501]: Simplify some code. (adf88)
11 years ago
frosch
aa2ff3d552
(svn r25082) -Codechange [FS#5501]: Simplify some code. (adf88)
11 years ago
rubidium
bad2326dad
(svn r25038) -Fix [FS#5479]: minimise gaps feature caused removal to only happen at the signal build interval instead of the implicit interval of 1
12 years ago
rubidium
35570156dd
(svn r25038) -Fix [FS#5479]: minimise gaps feature caused removal to only happen at the signal build interval instead of the implicit interval of 1
12 years ago
rubidium
4864344fc1
(svn r25037) -Fix [FS#5480]: green path signals would be shown when building them 'under' a train, and they would keep showing green until they were passed again
12 years ago
rubidium
0c8b215935
(svn r25037) -Fix [FS#5480]: green path signals would be shown when building them 'under' a train, and they would keep showing green until they were passed again
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
frosch
2fdf7b7f4e
(svn r24857) -Fix: Don't let UFOs and coal mines clear water.
12 years ago
frosch
e9afedca14
(svn r24857) -Fix: Don't let UFOs and coal mines clear water.
12 years ago
frosch
336a93a9d8
(svn r24846) -Add: Advanced settings to disable certain sound effects.
12 years ago
frosch
3ce8d2ce70
(svn r24846) -Add: Advanced settings to disable certain sound effects.
12 years ago
frosch
d0ea1b96a9
(svn r24449) -Fix [FS#5254]: Coast and sea are not the same.
12 years ago
frosch
e07e246532
(svn r24449) -Fix [FS#5254]: Coast and sea are not the same.
12 years ago
frosch
fae088737a
(svn r24439) -Fix [FS#5254]: In some cases ships could be covered with land.
12 years ago
frosch
59a3bbcbe6
(svn r24439) -Fix [FS#5254]: In some cases ships could be covered with land.
12 years ago
michi_cc
bcac892dd7
(svn r24367) -Feature: [NewGRF] Customisable signals for rail types.
12 years ago
michi_cc
b0d21d2fad
(svn r24367) -Feature: [NewGRF] Customisable signals for rail types.
12 years ago
frosch
9c0aa44a41
(svn r24356) -Change: Allow building/modifying/removing signals even if a train is on the belonging track.
12 years ago
frosch
d496845820
(svn r24356) -Change: Allow building/modifying/removing signals even if a train is on the belonging track.
12 years ago
frosch
70b2c96c8b
(svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so.
12 years ago
frosch
e1fda49027
(svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so.
12 years ago
michi_cc
c67f4ddd9e
(svn r24143) -Change [FS#5145]: Improve fence placement for rail. (Eddi)
12 years ago
michi_cc
a34dabce9c
(svn r24143) -Change [FS#5145]: Improve fence placement for rail. (Eddi)
12 years ago
michi_cc
88cfe6fc9c
(svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88)
12 years ago
michi_cc
708d5b6712
(svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88)
12 years ago
michi_cc
617993e904
(svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype.
13 years ago
michi_cc
9232a2ef0c
(svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype.
13 years ago
michi_cc
64b7bc557f
(svn r23758) -Feature: [NewGRF] Alternate rail type label list.
13 years ago
michi_cc
ee0fcb2567
(svn r23758) -Feature: [NewGRF] Alternate rail type label list.
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
michi_cc
06ffcf0ae8
(svn r23593) -Fix (r23411): Infrastructure counts for rail were not properly updated when converting rail or building level crossings.
13 years ago
michi_cc
aba9f98a73
(svn r23593) -Fix (r23411): Infrastructure counts for rail were not properly updated when converting rail or building level crossings.
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
rubidium
48f7492434
(svn r23348) -Fix [FS#4679]: make signal removal behaviour work the same regardless of autofill, i.e. always removal all signals instead those at the signal interval
13 years ago
rubidium
06fe032a7b
(svn r23348) -Fix [FS#4679]: make signal removal behaviour work the same regardless of autofill, i.e. always removal all signals instead those at the signal interval
13 years ago
rubidium
d823378d8a
(svn r23341) -Fix (r23338): memory leak when converting rails
13 years ago
rubidium
251c7fbc8d
(svn r23341) -Fix (r23338): memory leak when converting rails
13 years ago
rubidium
a8014c0af5
(svn r23338) -Feature [FS#4841]: diagonal dragging the rail conversion tool when pressing CTRL
13 years ago
rubidium
95f88ea537
(svn r23338) -Feature [FS#4841]: diagonal dragging the rail conversion tool when pressing CTRL
13 years ago
michi_cc
3b45b41e68
(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
13 years ago
michi_cc
4d2a9e384c
(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
13 years ago
yexo
8fcca75d54
(svn r23163) -Fix [FS#4627]: don't display railway fences between track and waypoints (Krille)
13 years ago
yexo
ed04410f89
(svn r23163) -Fix [FS#4627]: don't display railway fences between track and waypoints (Krille)
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
michi_cc
23bf62c77a
(svn r23129) -Add: [NewGRF] Property for the rail type name.
13 years ago
michi_cc
fe574b7e0c
(svn r23129) -Add: [NewGRF] Property for the rail type name.
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
1a54b7733c
(svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT
13 years ago
rubidium
798f5a8608
(svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT
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
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
bcb93b3b75
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
13 years ago
rubidium
2ed0f93bfb
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
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
frosch
1df095f114
(svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes.
13 years ago
frosch
8d5c1479f4
(svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes.
13 years ago
frosch
2c78b156a8
(svn r22854) -Change: [NewGRF] Allow replacing depot sprites without having to provide rail overlays. (Hirundo)
13 years ago
frosch
36dd5cd685
(svn r22854) -Change: [NewGRF] Allow replacing depot sprites without having to provide rail overlays. (Hirundo)
13 years ago
frosch
fb72295945
(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1.
13 years ago
frosch
76c7cbff70
(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1.
13 years ago
rubidium
cb2c7f871f
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
14 years ago
rubidium
bc3ce1e53b
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
14 years ago
rubidium
95e0695e02
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
14 years ago
rubidium
2f6c840ebf
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
14 years ago
rubidium
0cf2ef83f0
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
14 years ago
rubidium
9ca4b629cd
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
14 years ago
rubidium
dc94c94599
(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
14 years ago
rubidium
6371b75bcc
(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
14 years ago
planetmaker
6e9800026c
(svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again)
14 years ago
planetmaker
9b4beb0a5c
(svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again)
14 years ago
terkhen
f69d280f14
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
14 years ago
terkhen
48b7916458
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
14 years ago
rubidium
9317f7bb4a
(svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well
14 years ago
rubidium
a1d923700f
(svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well
14 years ago
rubidium
ed8a9731c6
(svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites
14 years ago
rubidium
42dc2e63f2
(svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites
14 years ago
frosch
a97c13253c
(svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore).
14 years ago
frosch
f2c84e0120
(svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore).
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
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
frosch
d08c3d9381
(svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype.
14 years ago
frosch
236737b2f2
(svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype.
14 years ago
frosch
591052013d
(svn r20500) -Fix: When converting rail all trains with a part on the converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power.
14 years ago
frosch
a0520bb8bf
(svn r20500) -Fix: When converting rail all trains with a part on the converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power.
14 years ago
terkhen
2c6a94b445
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
14 years ago
terkhen
78fd08c7b2
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
14 years ago
frosch
b2ea8b196a
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
14 years ago
frosch
48c5091a7c
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
14 years ago
frosch
eb7ea24aec
(svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays.
14 years ago
frosch
5f874b90f9
(svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays.
14 years ago
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
terkhen
c92b2e9d3c
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
michi_cc
40935ee4a1
(svn r20237) -Fix (r20049): Check for disallowed level crossings also when converting rail.
14 years ago
michi_cc
e8cabbdc56
(svn r20237) -Fix (r20049): Check for disallowed level crossings also when converting rail.
14 years ago
frosch
422d9e3b77
(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.
14 years ago
frosch
3767ae5196
(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.
14 years ago
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
035d0ef16b
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
14 years ago
rubidium
5a836cdec7
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
14 years ago
frosch
e5691636e6
(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
14 years ago
frosch
72ee11a7c6
(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
14 years ago
terkhen
dc3eb3da76
(svn r20116) -Add: Show an specific error message when trying to convert/remove nonexistant signals.
14 years ago
terkhen
066aa61a45
(svn r20116) -Add: Show an specific error message when trying to convert/remove nonexistant signals.
14 years ago
terkhen
dec6f67099
(svn r20114) -Add: Show an specific error message when trying to remove rail or build/convert/remove signals over nonexistant railways.
14 years ago
terkhen
191389fa8d
(svn r20114) -Add: Show an specific error message when trying to remove rail or build/convert/remove signals over nonexistant railways.
14 years ago
alberth
eaae1dbfc2
(svn r20110) -Fix [FS#3695]: Do not allow building a rail track to the water using a tree-tile.
14 years ago
alberth
b06d18b19a
(svn r20110) -Fix [FS#3695]: Do not allow building a rail track to the water using a tree-tile.
14 years ago