Commit Graph

52997 Commits

Author SHA1 Message Date
Loïc Guilloux
1a17b6c8f6
Change: [Actions] Remove VS2017 and restore VS2019 for CI (#9835) 2022-03-13 16:05:24 +01:00
Michael Lutz
08a5478a93 Add: [NewGRF] Map seed as global variable.
This is useful to provide a feature-agnostic, stable random value that differs between games.
One of the possible uses is to e.g. use it to create pseudo-random regions for towns or industries.
2022-03-13 14:20:23 +01:00
Jonathan G Rennison
da88e12990 Fix deny and penalty actions not being applied to no-entry signals 2022-03-12 15:06:47 +00:00
Jonathan G Rennison
16e4b84a2f Github: Disable installing gon in OSX release build 2022-03-12 02:40:18 +00:00
Jonathan G Rennison
0949482698 Version: Committing version data for tag: jgrpp-0.47.0 2022-03-12 01:12:51 +00:00
Patric Stout
68ec2a7877
Fix: removing long roads doesn't prioritize refusal of local authority over other errors (#9831) 2022-03-11 16:18:09 +01:00
Tyler Trahan
d220debc6c
Change: Don't pay Property Maintenance on stations when Infrastructure Maintenance is disabled (#9828) 2022-03-10 22:34:03 +01:00
Tyler Trahan
fbbc80f79e Fix #9020: Update station coverage highlight when adding/removing tiles 2022-03-10 20:54:45 +01:00
Jonathan G Rennison
40cdf7944a Fix 583663bc, 7953a1f8: Loading autosave setting from config file 2022-03-10 00:09:07 +00:00
Rubidium
c73f578e8c Codechange: replace magic numbers and C-style arrays with C++-style array for share owners 2022-03-09 18:05:12 +01:00
Tyler Trahan
2bfceea762 Doc: Fix broken links to Bootstrap CONTRIBUTING guide and doc license 2022-03-08 17:46:48 +01:00
Jonathan G Rennison
221120090e Fix wrong prefix in trace restrict enum
TRSACF_REMOVE_SPEED_ADAPT_EXEMPT in
TraceRestrictSpeedAdaptationControlField
2022-03-07 00:40:22 +00:00
Jonathan G Rennison
92142e5684 Add routing restriction action to make exempt from speed adaptation 2022-03-06 22:39:53 +00:00
Jonathan G Rennison
60a33feac8 Merge branch 'desert-tweaks' into jgrpp 2022-03-06 19:38:18 +00:00
Jonathan G Rennison
39d39a5c61 Reduce duplication in desert or rainforeset data search arrays 2022-03-06 02:05:12 +00:00
reldred
3bf2e850a5 undo the mess I made of JGR's fixes to my janky code 2022-03-06 11:17:14 +10:30
reldred
e3e032518b Merge branch 'desert-tweaks' of https://github.com/reldred/OpenTTD-patches into desert-tweaks 2022-03-06 11:03:59 +10:30
reldred
59022c40f9 adjustments;
added lake tropic width adjustment
added an extra large setting to the coasts (51radius)
set minimum width for rivers and lakes to 2 (setting it to 1 actually CTD'd the game)
made max for rivers and lakes be 51 tiles to match the 51tiles of the coast setting.
2022-03-06 11:03:46 +10:30
Jonathan G Rennison
f1b6eb932f Reduce duplication in CreateDesertOrRainForest 2022-03-05 14:59:31 +00:00
reldred
22305e8795 Allows configuring the width of the coast in tropic maps that generates as tropiczone_normal before the desert kicks in, it does this by creating two additional arrays which house the coordinates to create a filled circle of radius of 19 tiles, and 25 tiles. the default creates a radius of 13 tiles.
I'd eventually like to add an Extra Large setting but manually creating the array of coordinates is horrible.

I wedged this setting in beside the setting for tropic width around rivers despite it not fitting into the rivers/lakes category because it still feels the most relevant place for now.
2022-03-05 16:25:50 +10:30
Jonathan G Rennison
e5a421b65a Merge branch 'master' into jgrpp
# Conflicts:
#	src/economy.cpp
#	src/linkgraph/refresh.cpp
#	src/order_cmd.cpp
#	src/saveload/vehicle_sl.cpp
#	src/station.cpp
#	src/station_base.h
#	src/timetable_cmd.cpp
#	src/timetable_gui.cpp
#	src/vehicle.cpp
#	src/vehicle_base.h
#	src/vehicle_cmd.cpp
2022-03-04 18:17:44 +00:00
translators
0d8fbf647b Update: Translations from eints
latvian: 4 changes by lexuslatvia
2022-03-03 18:45:52 +00:00
Jonathan G Rennison
1e1b48323a Remove further obsolete comment about CmdScheduledDispatchSetStartDate 2022-02-28 20:48:55 +00:00
translators
acaea776eb Update: Translations from eints
finnish: 2 changes by RedJimi
2022-02-28 18:49:10 +00:00
Jonathan G Rennison
3422915bfa Remove obsolete comments about CmdScheduledDispatchSetStartDate 2022-02-26 23:37:09 +00:00
Jonathan G Rennison
156e53a519 Documentation: Reference road stops from main NewGRF pages 2022-02-25 23:23:15 +00:00
Jonathan G Rennison
95fb19490b Documentation: Add note about road stop parent scope 2022-02-25 20:41:17 +00:00
Jonathan G Rennison
13f93ee678 Documentation: Add syntax example for road stops NML 2022-02-25 20:35:25 +00:00
Jonathan G Rennison
998d92fa37 Documentation: Add NML road stop nearby_tile_is_drive_through variable 2022-02-25 15:46:01 +00:00
Jonathan G Rennison
e24d7c88bc Add road stop flag to not show one-way road overlays 2022-02-25 12:42:32 +00:00
Jonathan G Rennison
2ce5a93527 Add road stop variables for one-way road info 2022-02-25 14:41:07 +00:00
Jonathan G Rennison
d7bc18e5ac Documentation: Add NML road stops documentation 2022-02-24 23:59:10 +00:00
Jonathan G Rennison
cb573a1523 Add road stop property to set cost multipliers 2022-02-24 21:13:46 +00:00
Jonathan G Rennison
ff2640c0e3 Add more sub parts to road stop var 68 2022-02-24 20:36:41 +00:00
Rubidium
1c256a4be7 Fix: do not let shares in the company taking over another company disappear 2022-02-24 20:25:31 +01:00
Jonathan G Rennison
ad046bdf22 Add a waypoint ground draw flag to NewGRF road stops
Adjust overlay draw conditions
2022-02-24 18:20:09 +00:00
Jonathan G Rennison
5109083564 Fix spec allocation issues when overbuilding a road stop with the same type 2022-02-24 18:20:09 +00:00
Jonathan G Rennison
6b03575dcd Fix road stop ground sprite/overlays in preview window 2022-02-24 18:19:16 +00:00
Jonathan G Rennison
8eddb494c2 Fix tram bus/truck stop windows, fix filter text left padding 2022-02-24 00:14:21 +00:00
Jonathan G Rennison
1dee6d2796 Fix drawing of custom road stop ground sprites on map 2022-02-24 00:04:04 +00:00
Jonathan G Rennison
c503bd32c0 Fix road waypoint window not being closed when no longer placing 2022-02-24 00:03:12 +00:00
Jonathan G Rennison
5a2cc24190 Fix initialisation of new road stop specs 2022-02-24 00:02:47 +00:00
Tyler Trahan
89dba56782 Fix e740c24: Use correct command flag, not just DC_EXEC 2022-02-23 01:36:24 +01:00
translators
22f6502b14 Update: Translations from eints
chinese (traditional): 3 changes by benny30111
galician: 9 changes by mgtrad, 1 change by NicoSGF64
indonesian: 14 changes by bsuseno
2022-02-22 18:50:00 +00:00
Jonathan G Rennison
909b20ee68 Implement train speed adaptation on signalled tunnels/bridges
See: #373
2022-02-21 18:57:50 +00:00
Jonathan G Rennison
cf25a0c80a Documentation: Update links to online doc HTML in readme 2022-02-20 17:00:29 +00:00
Jonathan G Rennison
df92b7e449 Merge branch 'road-stops' into jgrpp 2022-02-20 16:56:17 +00:00
dP
36bee83864
Change: Deliver cargo to the closest industry first (#9536) 2022-02-19 19:08:23 +01:00
Jonathan G Rennison
5428492d6b Add hotkeys for building road waypoints to the road/tram toolbars 2022-02-18 01:01:41 +00:00
Jonathan G Rennison
742b42cff6 Remove unused road stop constant 2022-02-17 18:48:01 +00:00