Jonathan G Rennison
5d351a14d2
Add new signal type: no-entry signal
...
This is only passable in one direction, but does not have a signal
or show an aspect in the opposite direction
Add a setting for whether this is shown in the signal UI.
Off by default.
2021-09-04 11:39:54 +01:00
Jonathan G Rennison
b08cc3cf38
Reduce screen re-draw area for tunnel/bridge end signal updates
2021-08-30 03:09:30 +01:00
Jonathan G Rennison
f6c2a81f72
Reduce screen re-draw area for bridge middle signal updates
2021-08-30 01:46:40 +01:00
Jonathan G Rennison
16f2ef227b
Store tunnel/bridge signal spacing on tile, adjust spacing to fit length
2021-08-29 02:11:58 +01:00
Jonathan G Rennison
b2ef6c0de8
Add implementation of multi-aspect signalling and GRF support
...
Requires realistic braking
See: #247
2021-08-28 12:54:18 +01:00
Jonathan G Rennison
93c23b4096
Fix signals on dual railtype tiles using wrong per-railtype custom sprites
2021-08-25 03:36:06 +01:00
Jonathan G Rennison
f1fde8c684
Enable recolouring of custom signal graphics (global and per-railtype)
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
322a046f49
NewGRF: Allow using Action 2/3 for custom signal sprites
...
This is mostly the same format as the railtype custom signal mechanism
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
98e2cb2e3e
Open routing restriction window on ctrl-click of any non-prog signal
...
See: #294
2021-06-30 17:10:08 +01:00
Andreas Schmitt
d718ba62ef
Add option to sort tracks by category and speed ( #282 )
2021-06-17 19:08:59 +01:00
Jonathan G Rennison
384e8cca89
Fix infra signal total when moving signalled tunnel/bridge to other company
...
When signal spacing setting differs
2021-06-12 23:41:32 +01:00
Jonathan G Rennison
054c820521
Implement custom sprite detection with new sprite mechanism
2021-05-30 22:02:14 +01:00
Rubidium
6bd12e24d7
Codechange: introduce SpriteFile to be used by the sprite loader instead of the global FIO slot functionality
...
(cherry picked from commit fdc11a9f94
)
2021-05-30 22:02:14 +01:00
Jonathan G Rennison
74091c3c80
Disable realistic braking for TELE, PIPE, WIRE railtypes by default
...
See: #242
2021-04-15 20:56:45 +01:00
Jonathan G Rennison
227041008f
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/debug.cpp
# src/lang/russian.txt
# src/misc_gui.cpp
# src/os/windows/crashlog_win.cpp
# src/os/windows/font_win32.cpp
# src/os/windows/win32.cpp
# src/rail_cmd.cpp
# src/window_gui.h
2021-04-11 03:05:08 +01:00
Jonathan G Rennison
edfa04286b
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release.yml
# bin/CMakeLists.txt
# src/dock_gui.cpp
# src/lang/brazilian_portuguese.txt
# src/lang/catalan.txt
# src/lang/czech.txt
# src/lang/dutch.txt
# src/lang/english.txt
# src/lang/english_US.txt
# src/lang/estonian.txt
# src/lang/finnish.txt
# src/lang/french.txt
# src/lang/german.txt
# src/lang/hungarian.txt
# src/lang/indonesian.txt
# src/lang/italian.txt
# src/lang/japanese.txt
# src/lang/korean.txt
# src/lang/lithuanian.txt
# src/lang/luxembourgish.txt
# src/lang/norwegian_bokmal.txt
# src/lang/polish.txt
# src/lang/portuguese.txt
# src/lang/romanian.txt
# src/lang/russian.txt
# src/lang/serbian.txt
# src/lang/simplified_chinese.txt
# src/lang/slovak.txt
# src/lang/spanish.txt
# src/lang/spanish_MX.txt
# src/lang/swedish.txt
# src/lang/tamil.txt
# src/lang/ukrainian.txt
# src/lang/vietnamese.txt
# src/newgrf.cpp
# src/newgrf_gui.cpp
# src/object_gui.cpp
# src/pathfinder/yapf/yapf_costrail.hpp
# src/pathfinder/yapf/yapf_node_rail.hpp
# src/rail_cmd.cpp
# src/roadveh_cmd.cpp
# src/town_cmd.cpp
# src/vehicle.cpp
# src/water_cmd.cpp
2021-04-11 02:39:33 +01:00
Peter Nelson
f9460c0c8b
Fix #8981 : Don't attempt to re-reserve path if already entering/entered depot.
2021-04-11 00:11:41 +02:00
Jonathan G Rennison
850d2bfa23
Fix tile iterator leak in CmdConvertRail
2021-04-01 17:26:27 +01:00
Charles Pigott
086c95718d
Fix #8803 : Only auto-remove signals when rail can be built ( #8904 )
2021-03-31 09:27:25 +01:00
Jonathan G Rennison
f4526dbb5f
Fix wrong cost when cycling tunnel/bridge signal type with CTRL
2021-02-04 12:14:54 +00:00
Jonathan G Rennison
23651fd550
Fix #214 : CmdRemoveSingleSignal removed tunnel/bridge signals in test mode
...
Regression from: ed0ffb622
2021-02-04 12:02:54 +00:00
Jonathan G Rennison
5ac9fa10e1
Fix signal dragging when obstructed by train reservation
2021-02-03 03:37:06 +00:00
Jonathan G Rennison
b7ddd486cf
Merge branch 'master' into jgrpp
...
# Conflicts:
# cmake/CompileFlags.cmake
# src/aircraft_cmd.cpp
# src/blitter/32bpp_anim.cpp
# src/cargopacket.cpp
# src/cheat_gui.cpp
# src/company_cmd.cpp
# src/company_gui.cpp
# src/core/pool_func.hpp
# src/date.cpp
# src/economy.cpp
# src/error_gui.cpp
# src/ground_vehicle.cpp
# src/ground_vehicle.hpp
# src/group_gui.cpp
# src/industry_cmd.cpp
# src/lang/dutch.txt
# src/lang/french.txt
# src/lang/german.txt
# src/linkgraph/linkgraph_gui.cpp
# src/linkgraph/mcf.cpp
# src/network/network_content.cpp
# src/network/network_server.cpp
# src/network/network_udp.cpp
# src/newgrf_engine.cpp
# src/newgrf_station.cpp
# src/order_cmd.cpp
# src/order_gui.cpp
# src/pathfinder/follow_track.hpp
# src/pathfinder/yapf/yapf_common.hpp
# src/saveload/saveload.cpp
# src/settings_gui.cpp
# src/station_cmd.cpp
# src/station_kdtree.h
# src/string_func.h
# src/table/settings.ini
# src/tgp.cpp
# src/timetable_cmd.cpp
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/train_cmd.cpp
# src/train_gui.cpp
# src/tree_gui.cpp
# src/tunnelbridge_cmd.cpp
# src/vehicle.cpp
# src/vehicle_gui.cpp
# src/video/sdl2_v.cpp
# src/video/sdl_v.cpp
# src/video/win32_v.cpp
# src/viewport.cpp
# src/viewport_sprite_sorter_sse4.cpp
# src/window.cpp
2021-02-01 17:07:34 +00:00
Jonathan G Rennison
1d1b105299
Fix auto remove signals functionality
2021-01-31 01:46:29 +00:00
Jonathan G Rennison
f9956d88c3
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/aircraft_cmd.cpp
# src/company_gui.cpp
# src/lang/arabic_egypt.txt
# src/lang/czech.txt
# src/lang/esperanto.txt
# src/lang/faroese.txt
# src/lang/finnish.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/latvian.txt
# src/lang/malay.txt
# src/lang/polish.txt
# src/lang/spanish.txt
# src/lang/spanish_MX.txt
# src/lang/unfinished/urdu.txt
# src/main_gui.cpp
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/road_cmd.cpp
# src/settings_type.h
# src/station_cmd.cpp
# src/table/settings.ini
2021-01-31 01:11:12 +00:00
Jonathan G Rennison
6c3e5642f8
Merge branch 'master' into jgrpp
...
# Conflicts:
# cmake/CompileFlags.cmake
# src/crashlog.cpp
# src/fileio.cpp
# src/fileio_func.h
# src/fios_gui.cpp
# src/ini_load.cpp
# src/ini_type.h
# src/lang/english.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/network/network_client.cpp
# src/order_base.h
# src/order_cmd.cpp
# src/os/windows/win32.cpp
# src/road_cmd.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/settings.cpp
# src/station_cmd.cpp
# src/stdafx.h
# src/table/settings.ini
# src/tree_cmd.cpp
# src/tree_gui.cpp
# src/vehicle_base.h
# src/video/cocoa/cocoa_v.mm
# src/video/cocoa/event.mm
# src/video/cocoa/wnd_quartz.mm
# src/viewport.cpp
# src/widgets/tree_widget.h
2021-01-31 01:08:35 +00:00
Jonathan G Rennison
ed0ffb6220
Add feature: realistic train braking
...
Add setting to select train braking model.
2021-01-28 19:03:18 +00:00
Charles Pigott
9b800a96ed
Codechange: Remove min/max functions in favour of STL variants ( #8502 )
2021-01-08 11:16:18 +01:00
Kuhnovic
a3a7928372
Feature: option to auto remove signals when in the way during rail construction ( #8274 )
2021-01-07 10:17:05 +01:00
Jonathan G Rennison
6965a339c4
Fix crash when removing rail depot or road when debug window open on tile
2021-01-05 17:44:19 +00:00
Patric Stout
bb28ff7226
Codechange: DC_NO_RAIL_OVERLAP is a remnant of the OldAI. ( #8496 )
...
The OldAI was removed in 2009. Pretty sure we can remove this flag
now too.
2021-01-05 12:36:57 +01:00
Charles Pigott
860c270c73
Codechange: Replace assert_compile macro with static_assert
2020-12-27 10:55:42 +00:00
Jonathan G Rennison
ffbb4622ad
Make sure that CmdBuildSingleRail failure cannot modify tile rail types
2020-11-21 16:49:41 +00:00
Jonathan G Rennison
ffe3c769a3
Add road tile cached one way state, one way road section detection
2020-10-28 00:27:48 +00:00
Jonathan G Rennison
92ca965ef7
Fix PBS rail type handling with incorrect GRF rail type compatibility
2020-10-15 20:37:57 +01:00
Jonathan G Rennison
352b361e1b
Viewport: Replace viewport mark dirty if zoom level below with flags param
...
Fix missing flags for tracerestrict and effect vehicles
2020-10-01 23:18:39 +01:00
Jonathan G Rennison
b6f583a799
GRF: Add railtype custom signal sprite restricted flag, and control flag
2020-09-26 11:53:44 +01:00
Jonathan G Rennison
d32672a325
GRF: Allow railtype custom signal sprites for programmable pre-signals
2020-09-26 11:26:33 +01:00
Jonathan G Rennison
a18ebba564
Allow converting track under trains when compatible with the new rail type
2020-09-24 18:00:59 +01:00
Jonathan G Rennison
ea06a0670d
Add rail ground type support for rail custom bridge heads
...
See: #146
2020-05-19 00:41:35 +01:00
Jonathan G Rennison
763a2826b6
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/gamelog.cpp
2020-05-11 00:45:24 +01:00
glx
39092ee13b
Fix #8119 : Update docking area when clearing a shore rail tile
2020-05-10 20:10:12 +01:00
SamuXarick
a95fbd59a3
Fix #8119 , f538179
: Update docking tile area when placing a diagonal rail next to a dock end ( #8124 )
2020-05-09 22:27:06 +02:00
Jonathan G Rennison
cba9b56ff7
Custom bridge heads: Fix secondary rail track type when removing piece
...
In case when new configuration is parallel tracks
2020-04-29 17:56:26 +01:00
Jonathan G Rennison
7949de2c05
Add a minimum visible height and no ground tile parameter to DrawTileProc.
...
Filter out tile parts which are entirely outside the drawing area.
2020-03-05 23:06:01 +00:00
Jonathan G Rennison
4108672cf6
Use separate tile hash for each vehicle type
2020-03-03 06:57:50 +00:00
Jonathan G Rennison
1d79a7610d
Increase width of signal state change viewport invalidation area
2020-03-03 06:57:50 +00:00
Jonathan G Rennison
5240b46d1d
Reduce viewport invalidation area of signal state changes
2020-02-25 21:31:29 +00:00
Jonathan G Rennison
08af3b38d9
Do not mark map-mode viewports dirty when changing rail ground type
2020-02-20 00:38:01 +00:00
Jonathan G Rennison
e217cee5de
Fix incorrect reservation when signal is removed from under train
...
In case where the front is in a signalled tunnel/bridge
2020-02-11 22:08:21 +00:00