Jonathan G Rennison
2bd535e834
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/engine_base.h
# src/gfxinit.cpp
# src/graph_gui.cpp
# src/lang/brazilian_portuguese.txt
# src/lang/dutch.txt
# src/lang/french.txt
# src/lang/korean.txt
# src/lang/norwegian_bokmal.txt
# src/lang/portuguese.txt
# src/lang/russian.txt
# src/lang/spanish.txt
# src/lang/spanish_MX.txt
# src/network/core/address.cpp
# src/network/core/game_info.h
# src/network/core/os_abstraction.h
# src/network/core/udp.cpp
# src/network/network_client.cpp
# src/network/network_client.h
# src/network/network_internal.h
# src/newgrf_engine.cpp
# src/settings_gui.cpp
# src/station_cmd.cpp
# src/string_func.h
# src/town_gui.cpp
# src/video/video_driver.cpp
# src/widget_type.h
2021-09-18 01:28:57 +01:00
Jonathan G Rennison
afd66c1631
Show linear scaling value in settings window for cargo scaling settings
2021-09-08 22:03:02 +01:00
Jonathan G Rennison
964ea7b910
Debug: Show realistic braking approach speeds in debug window
2021-09-04 21:40:26 +01:00
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
16f2ef227b
Store tunnel/bridge signal spacing on tile, adjust spacing to fit length
2021-08-29 02:11:58 +01:00
Jonathan G Rennison
bfef89344d
Show depot reservation state in railtype debug window
2021-08-28 17:40:18 +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
e76c5dfda7
Revert "Temporarily mark dual pane train purchase window as experimental"
...
This reverts commit f9bb004b05
.
2021-08-04 17:49:23 +01:00
Rubidium
1c8f4bfaef
Fix #9388 : thread unsafe use of NetworkAdminConsole/IConsolePrint
...
(cherry picked from commit d7a0e80fc18b689455eaca09883fccbcc722d7e3)
# Conflicts:
# src/debug.cpp
# src/debug.h
# src/table/settings/gui_settings.ini
See: https://github.com/OpenTTD/OpenTTD/pull/9456
2021-07-26 17:55:19 +01:00
Jonathan G Rennison
f9bb004b05
Temporarily mark dual pane train purchase window as experimental
...
See: #287 , #296 , #297
2021-07-09 18:12:55 +01:00
Jonathan G Rennison
158608442c
Merge pull request #281 from VacuumBreather/train_speed_adaptation
...
# Conflicts:
# src/saveload/extended_ver_sl.cpp
# src/saveload/extended_ver_sl.h
2021-07-03 23:00:25 +01:00
Jonathan G Rennison
0773dde669
Merge pull request #287 from VacuumBreather/advanced_train_purchase_window
...
Advanced train purchase window
2021-06-29 00:43:26 +01:00
Jonathan G Rennison
5e418128da
Add setting for whether to use dual pane train purchase window
2021-06-29 00:11:07 +01:00
Jonathan G Rennison
84f973880b
Add signal speed restriction to vehicle debug info
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
3bba9ef37a
Fix setting name
2021-06-27 04:41:46 +01:00
Jonathan G Rennison
879a23811f
Clear state when setting changed
2021-06-27 04:41:46 +01:00
Andreas Schmitt
debc504e59
Add a setting for train speed adaptation
...
Prior to this change, without realistic breaking, trains would continuously run into the train in front of them. This makes them adjust their speed based on trains in front of them
2021-06-20 20:40:33 +02:00
reldred
0eb32a55f9
change the tree line width for arctic tree line patch from 20 to 64
2021-06-20 11:25:12 +01:00
Andreas Schmitt
3b4cbd3323
Improve tree placement
...
Prior to this change, trees tended to either cover the entire map like an ancient forest, or alternatively you turn off their growth which breaks industry. Furthermore there are these ugly random tree clumps at the beginning of the game which look like squares on the map someone placed there.
This change adds a new tree placing setting which removes the ugly random clumps and only slightly modifies the initial placement. The actual growth causes trees to bunch up in higher levels as usual but on the lower 4 levels their growth works differently. The number of trees per tile is limited and the trees spread out over a wider area instead of only to the neighboring tile. That spreads them out more and makes for a nicer look.
This also allows cacti to spread, since they can now use that same algorithm and avoid bunching up, but spread as they should.
2021-06-19 13:56:05 +01:00
Jonathan G Rennison
ac9749d015
Merge PR #283 (max city height) into jgrpp
2021-06-19 13:37:21 +01:00
Jonathan G Rennison
24834c86f7
Allow changing max town height level setting in-game (for town founding)
2021-06-19 13:33:39 +01:00
Andreas Schmitt
5fe1963feb
Lower minimum to 2
2021-06-19 13:23:19 +01:00
Andreas Schmitt
a17efcd7d5
Introduce setting for a max height level for towns
...
Prior to this change, the game tended to place towns on mountain tops. Realistic heightmaps had limitations because of this.
This change allows the player to specify that the towns should be generated in the valleys.
2021-06-19 13:23:19 +01:00
Jonathan G Rennison
3a67065332
Add a build public roads button to the scenario editor
2021-06-19 13:11:03 +01:00
Jonathan G Rennison
e46fb1aa99
Fix loading of build public roads setting from JokerPP savegames
2021-06-19 13:02:36 +01:00
Andreas Schmitt
150e502cf9
Add generation of public roads linking towns
2021-06-19 13:02:36 +01:00
Andreas Schmitt
d718ba62ef
Add option to sort tracks by category and speed ( #282 )
2021-06-17 19:08:59 +01:00
Andreas Schmitt
ec40677fdc
Add a setting to turn off road vehicle slowdown in curves
...
Prior to this change, road vehicles would always slowdown in curves. This forces the player to build grid like roads. With new height levels and more mountainous maps and in the absense of diagonal roads this causes unnecessary pain. It should be an option to turn this off, so mountainous maps and curvy roads are not punishing the player unnecessarily. Nobody wants to build grid like roads outside of towns.
2021-06-17 17:10:26 +01:00
Jonathan G Rennison
0b80461cd4
Merge branch 'pr-270' into jgrpp
...
# Conflicts:
# src/lang/english.txt
# src/settings_type.h
# src/table/settings.ini
2021-06-15 19:32:54 +01:00
Jonathan G Rennison
696fb746b7
Add setting for demolition confirmation mode
2021-06-15 18:46:12 +01:00
Jonathan G Rennison
3392d25aa3
Merge PR #274 into jgrpp
2021-06-15 02:01:22 +01:00
Jonathan G Rennison
1cc8053003
Add setting to control station rating tooltip detail level
...
Default to simple
2021-06-15 02:00:58 +01:00
Jonathan G Rennison
8485ed724b
Add {PLUS_NUM} string code which includes leading + for positive values
2021-06-14 22:55:26 +01:00
Jonathan G Rennison
2cd1740c01
Merge PR #268 into jgrpp
2021-06-14 00:53:59 +01:00
Jonathan G Rennison
fd4b5cc083
Add buttons to cargo payment graph to select x-axis
...
Save in misc settings
2021-06-14 00:52:46 +01:00
Jonathan G Rennison
f438daa0bc
Use localised units for payment graph X axis
...
Match quantities in graph title
2021-06-13 23:57:14 +01:00
Jonathan G Rennison
229f856327
Merge PR #275 into jgrpp
2021-06-13 11:50:54 +01:00
Andreas Schmitt
da4de2c959
Improve lake generation
...
Prior to this change, lakes could be very small and could also not be deactivated.
This change allows the deactivation of lake creation and the lake size is now the set size +- 25% instead of anything between 0 and lake_size.
2021-06-13 08:15:43 +02:00
Jonathan G Rennison
7aa63e9726
Update status bar sizing when changing date/time display settings
2021-06-10 22:12:10 +01:00
Jonathan G Rennison
a7d8c6fe0c
Add PF setting for whether to pathfind up to back of one-way PBS
2021-06-09 20:43:57 +01:00
Jonathan G Rennison
900a93ac59
Debug: Add sprite dumping to vehicle debug windows
2021-05-21 19:36:19 +01:00
PeterN
dcb0cc2c52
Fix #9186 : Fix incorrect bounding box height causing station sprite glitch. ( #9187 )
...
Increased height of small station building bounding box to cover the build rather than just the platform.
(cherry picked from commit ba193f2e23
)
2021-05-21 18:29:45 +01:00
Jonathan G Rennison
3e8ee4f49f
Remove "Disable vehicle image update" setting
2021-05-19 20:42:04 +01:00
Jonathan G Rennison
a15e26f369
NewGRF: Elide unmasked vehicle callbacks where possible
...
This includes:
* CBID_VEHICLE_32DAY_CALLBACK
* CBID_VEHICLE_REFIT_COST
* CBID_VEHICLE_MODIFY_PROPERTY
This is on a per-property basis
The main benefit of this is to avoid callbacks not handled by the
vehicle's current sprite group from using the full graphics chain as
the "default" branch in the callback switch.
In the case where the graphics chain is long/expensive, a lot of work
had to be done before a callback failure result was eventually returned.
2021-05-18 19:07:44 +01:00
Jonathan G Rennison
a9515456cb
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/network/core/os_abstraction.h
# src/network/core/tcp_content.h
# src/network/core/udp.cpp
# src/table/currency_settings.ini
# src/table/settings.h.preamble
2021-05-03 21:59:49 +01:00
Patric Stout
be37a2cab8
Codechange: use NetworkAddress instead of two host/port variables where possible
...
This also means we no longer need last_host/last_port, but can
just use a single last_joined setting.
2021-04-29 20:12:11 +02:00
rubidium42
b54d8a49fb
Feature: allow non-ASCII currency separators
2021-04-27 19:41:51 +02:00
Jonathan G Rennison
8eb27e1ac7
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/company_cmd.cpp
# src/lang/japanese.txt
# src/network/core/config.h
# src/network/core/packet.cpp
# src/network/core/tcp.cpp
# src/network/network_content.cpp
# src/network/network_server.cpp
# src/network/network_udp.cpp
# src/toolbar_gui.cpp
# src/vehicle_gui_base.h
2021-04-25 22:14:59 +01:00
Jonathan G Rennison
ba418f9d0d
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/simplified_chinese.txt
# src/network/core/tcp_content.cpp
# src/network/core/udp.cpp
# src/network/network_server.cpp
# src/saveload/linkgraph_sl.cpp
# src/table/gameopt_settings.ini
2021-04-25 01:23:52 +01:00
Jonathan G Rennison
e3193e7b9e
Fix #248 : Crash in debug window -> parent button for non-GRF industries
2021-04-25 00:12:57 +01:00