Loïc Guilloux
2848483810
Fix #10206 : Disable scripts in intro game ( #10241 )
2022-12-15 21:43:07 +01:00
Jonathan G Rennison
9038c849ab
VarAction2: Use scaled tick counter for NewGRF variable 0x0A
2022-12-15 18:39:47 +00:00
Eddi-z
8db4892f49
Codechange: Reshuffle debuglevels in fileio to address spammyness ( #10240 )
2022-12-15 13:25:06 -05:00
Jonathan G Rennison
d69bb5f511
Mapgen: Allow starting a rocky patch on a desert tile when enabled
2022-12-14 23:07:34 +00:00
translators
ac12028278
Update: Translations from eints
...
spanish: 2 changes by MontyMontana
portuguese (brazilian): 86 changes by ericandradex
2022-12-14 18:45:21 +00:00
translators
7e7e1183cf
Update: Translations from eints
...
finnish: 1 change by hpiirai
2022-12-13 18:43:24 +00:00
Jonathan G Rennison
0a9d734ce8
Debug: List new landscape GRFs and their flags in the debug window
2022-12-12 23:25:44 +00:00
Jonathan G Rennison
39277404a2
Add new landscape variable for ground density and snow presence
2022-12-12 23:19:44 +00:00
Jonathan G Rennison
0d4f196451
Documentation: Add missing text about new landscape variable 44
...
newlandscape_landscape_type
2022-12-12 23:10:52 +00:00
Jonathan G Rennison
12b20376b3
Add new landscape flag to enable drawing rocks covered by snow
2022-12-12 23:06:07 +00:00
Jonathan G Rennison
41fb98db09
Add NewGRF global flag to allow rocky tiles in tropic desert zones
2022-12-12 22:12:20 +00:00
Jonathan G Rennison
b1051fa131
Move GRF global var init to common function
2022-12-12 21:40:46 +00:00
Jonathan G Rennison
2430a5113e
Debug: Add GRF debug window support for new landscape rocks
2022-12-12 19:15:19 +00:00
translators
fd5de3b366
Update: Translations from eints
...
spanish (mexican): 7 changes by absay
romanian: 5 changes by bnegrut
finnish: 108 changes by hpiirai
2022-12-12 18:46:56 +00:00
translators
49c121ec29
Update: Translations from eints
...
vietnamese: 38 changes by KhoiCanDev
2022-12-11 18:44:33 +00:00
Jonathan G Rennison
1de38b1ca0
Fix missing override specifiers on CommandAuxiliaryBase::Clone
2022-12-11 16:11:45 +00:00
Jonathan G Rennison
e9aa92d49e
Fix implicit 32 -> 64 operation warning in AnimationBase
2022-12-11 16:08:38 +00:00
Jonathan G Rennison
a36eefa2ef
Version: Committing version data for tag: jgrpp-0.50.0
2022-12-11 15:37:58 +00:00
Jonathan G Rennison
a3e313b4d5
Fix plan lines not being refreshed when privacy mode changed
2022-12-11 15:36:23 +00:00
Jonathan G Rennison
3412e43608
Use optional span for return type of CommandAuxiliaryBase::GetDeserialisationSrc
2022-12-11 15:27:48 +00:00
Jonathan G Rennison
ab95e8e5ed
Add STR_LINKGRAPH_STATS_TOOLTIP_CAPACITY entries
...
From STR_VEHICLE_DETAILS_TRAIN_ARTICULATED_RV_CAPACITY
2022-12-11 14:08:29 +00:00
Jonathan G Rennison
f925f578c6
Add missing STR_LINKGRAPH_STATS_TOOLTIP_TIME_EXTENSION_GENERAL entries
2022-12-11 14:07:09 +00:00
Jonathan G Rennison
d7f9ffd646
Show more info in linkgraph overlay tooltip if ctrl pressed
2022-12-11 13:07:09 +00:00
Jonathan G Rennison
599b016c91
Adjust link graph edge travel time updates in refresh mode
2022-12-11 00:56:50 +00:00
Jonathan G Rennison
5c2d5782a4
Fixes incorrect link graph edge travel times with non-unity day length
...
Change vehicle last_loading_tick to be relative to _scaled_tick_counter
2022-12-11 00:27:18 +00:00
Jonathan G Rennison
f4d775cad3
Change _scaled_tick_counter to uint64
2022-12-11 00:04:12 +00:00
Jonathan G Rennison
ce9ccdb72a
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/settings_gui.cpp
2022-12-10 17:01:13 +00:00
PeterN
daacde4496
Fix #10147 : Sound effect volume slider no longer set volume. ( #10228 )
2022-12-10 15:51:45 +00:00
Jonathan G Rennison
37a270e65c
Add header and footer to league table saveload descriptor
...
See: https://github.com/OpenTTD/OpenTTD/issues/10214
2022-12-09 21:13:39 +00:00
Jonathan G Rennison
d776b302fa
Store the gui.zoom_max setting under a different name in the config file
...
So that it isn't overwritten by vanilla.
Otherwise use the vanilla setting value if present and outside the
vanilla range.
2022-12-09 19:58:07 +00:00
Jonathan G Rennison
b9e322ec7a
Add mechanism to override setting names used in config file
2022-12-09 19:56:17 +00:00
translators
2756741575
Update: Translations from eints
...
italian: 11 changes by Rivarossi
2022-12-09 18:43:26 +00:00
Jonathan G Rennison
e6a38f1d23
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/saveload/afterload.cpp
2022-12-08 22:06:46 +00:00
translators
5cef40591b
Update: Translations from eints
...
slovak: 2 changes by legitalk
2022-12-08 18:43:04 +00:00
Jonathan G Rennison
321cfee96a
Fix league and graph buttons in toolbar not having a default action
...
See: https://github.com/OpenTTD/OpenTTD/issues/10214
2022-12-07 23:32:27 +00:00
Michael Lutz
d5fc423793
Fix #10223 : Crash when vehicle cloning fails on order cloning.
2022-12-08 00:09:12 +01:00
Jonathan G Rennison
ce0dddc714
Saveload: Fix load and load check mixup with upstream chunks
...
Fixes 690ef6cc
2022-12-07 22:08:41 +00:00
Jonathan G Rennison
2b38022161
Fix airport catchment overlay not being refreshed when upgrading/moving
2022-12-07 21:31:42 +00:00
Jonathan G Rennison
6a03e7ba97
Command: Remove unused CMD_STR_SEP flag
2022-12-07 21:14:50 +00:00
Jonathan G Rennison
5c134e6dd0
Command: Use auxiliary data for league command strings
2022-12-07 21:14:34 +00:00
Jonathan G Rennison
f32733ef22
Command: Replace binary_length field with auxiliary data
...
Use for CMD_ADD_PLAN_LINE
2022-12-07 21:14:34 +00:00
Jonathan G Rennison
b0329ec77a
Add auxiliary data type for extra command data
2022-12-07 21:04:20 +00:00
Jonathan G Rennison
f1f73ddd6e
Factor out packet deserialisation functions into common file
2022-12-07 21:04:20 +00:00
Jonathan G Rennison
c29b395357
Factor out packet serialisation functions into new common file
2022-12-07 18:10:55 +00:00
Jonathan G Rennison
24b3e70494
Linkgraph: Reduce job duration multipliers
...
Change to linear: size / 75
Remove knee in curve
2022-12-07 02:50:19 +00:00
Jonathan G Rennison
ad815210ae
Linkgraph: Dynamically adjust accuracy parameters in MCF 1st pass
...
For larger graphs (>= 50 nodes), reduce the accuracy and set a
minimum push flow threshold.
This avoids wasting a lot of time calculating very small flow demand
increments when the total number of demands is high and most demands
are small already.
2022-12-07 02:24:17 +00:00
Jonathan G Rennison
351090ae7f
Fix crash when launching game with non-default GUI scale in config
...
See: #459
2022-12-06 18:29:55 +00:00
translators
985f487065
Update: Translations from eints
...
spanish: 1 change by MontyMontana
2022-12-05 18:43:08 +00:00
Jonathan G Rennison
e647075870
Change LinkGraph::EdgeMatrix to a sparse storage format
...
Use a btree_map instead of a SmallMatrix.
This avoids excessive storage requirements for large graphs,
and overly expensive edge matrix resize operations.
Remove next_edge iteration mechanism.
2022-12-05 18:17:25 +00:00
PeterN
53b827c460
Fix: Maximum space for engine preview image was never scaled. ( #10219 )
2022-12-05 17:57:27 +00:00