TELK
9396eb36bc
Update: Missing Korean translation ( #647 )
...
* Update: Korean translation up to 0.57.0
* Update: Missing Korean translation
2024-02-11 00:35:01 +00:00
Jonathan G Rennison
c0a4169afd
Include intrin.h in cpu.cpp for MSVC intrinsics
2024-02-11 00:30:35 +00:00
Jonathan G Rennison
3407b3edc0
Fix tile hash cache check warnings when loading very old savegames
...
See: #648
2024-02-10 23:17:08 +00:00
Jonathan G Rennison
11f75933bf
Saveload: Use table format for DATE, VIEW, MAPS chunks
...
Merge MISC into DATE
2024-02-10 21:14:22 +00:00
Jonathan G Rennison
195b3b6d1d
Saveload: Add initial table chunk support to non-upstream save backend
2024-02-10 21:11:27 +00:00
Jonathan G Rennison
5aaff39164
Fix wrong saveload types for std::string
2024-02-10 19:57:57 +00:00
Jonathan G Rennison
26e00d022a
Fix crash when showing overwrite warning for a save with no readable version
2024-02-10 17:58:01 +00:00
Jonathan G Rennison
60e59a8233
Saveload: Add wrapper to simplify conditionally upstream chunks
...
Where they're always saved as upstream and conditional on a feature
2024-02-10 16:58:48 +00:00
Jonathan G Rennison
25e100a465
Calculate airport noise level in permissive mode as same as lenient
2024-02-10 12:47:25 +00:00
Jonathan G Rennison
2ef2142d95
Disable non-noise town airport limit in local authority permissive mode
2024-02-10 12:43:27 +00:00
Jonathan G Rennison
516e8defb5
Add wrappers to get and update the current effective day length factor
2024-02-09 19:39:58 +00:00
Jonathan G Rennison
db8b77a72e
Remove empty DayLengthPreChange
2024-02-09 19:15:27 +00:00
Jonathan G Rennison
a6dcc0c624
Add messages from ShowNewGrfVehicleError to special events log
2024-02-09 18:50:49 +00:00
Jonathan G Rennison
130d9cb650
Fix crash when road vehicle changed length in drive-through road stop
...
Due to refit and incorrectly implemented NewGRF
2024-02-09 18:50:49 +00:00
Jonathan G Rennison
cfebbfac8c
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/autoreplace_cmd.cpp
# src/company_base.h
# src/company_gui.cpp
# src/cpu.cpp
# src/debug.h
# src/group.h
# src/group_cmd.cpp
# src/house.h
# src/industry.h
# src/newgrf_house.cpp
# src/news_type.h
# src/openttd.cpp
# src/saveload/company_sl.cpp
# src/settings_type.h
# src/sl/oldloader_sl.cpp
# src/story.cpp
# src/table/town_land.h
# src/viewport.cpp
2024-02-09 18:50:49 +00:00
Jonathan G Rennison
e1d629dba3
Also use custom sprite sorting for catenary pylons under bridges
2024-02-09 01:30:17 +00:00
Jonathan G Rennison
a484a5eb77
Use custom sprite sorting rules for vehicles diagonally under bridges
...
Extend bb sprite south for comparisons, but only for vehicles underneath
This is to avoid creating sprite sorting problems for vehicles
on top of the bridge
Adjust ParentSpriteToDraw struct
2024-02-09 01:28:15 +00:00
Jonathan G Rennison
ea8aa47832
Add missing braces around calls to ViewportMapDraw in ViewportDoDraw
2024-02-08 18:26:51 +00:00
Jonathan G Rennison
9aa8059c79
Include elapsed state ticks since load in crash/failure logs
...
Consolidate game load date/time variables
2024-02-07 21:19:55 +00:00
Jonathan G Rennison
d456f4a3a5
Replace DATE_UNIT_SIZE macro with a function
2024-02-07 21:19:55 +00:00
Jonathan G Rennison
d39236d50c
Store state ticks directly in savegame instead of the offset
...
Initialise the state ticks value to a constant for new games,
instead of using an implicit offset of 0
2024-02-07 20:05:11 +00:00
Jonathan G Rennison
0ea57528c9
Rename DateTicksScaled to StateTicks
...
Rename various other related/derived types and variables
2024-02-07 18:36:47 +00:00
Jonathan G Rennison
39b4772a34
Convert speed units in station rating tooltip
...
See: #645
2024-02-07 17:28:13 +00:00
Jonathan G Rennison
b6b665e989
Set GoodsEntry last_vehicle_type when resetting time_since_pickup
2024-02-07 17:22:21 +00:00
Jonathan G Rennison
e8c17f634b
Remove randombytes from 3rdparty
2024-02-06 19:31:56 +00:00
Jonathan G Rennison
f966153ae2
Saveload: Remove use of randombytes in company passwords storage
...
Use RandomBytesWithFallback
Replace related key/data arrays with std::array
2024-02-06 19:17:57 +00:00
Jonathan G Rennison
9492aa1c0d
Saveload: Add span overloads to ReadBuffer and MemoryDumper
2024-02-06 19:06:37 +00:00
Jonathan G Rennison
17712af318
Random: Try a little bit harder in the random bytes fallback path
2024-02-06 18:58:31 +00:00
Jonathan G Rennison
f44ec32011
Replace NetworkRandomBytesWithFallback with RandomBytesWithFallback
...
Replace related key/data arrays with std::array
2024-02-06 18:51:33 +00:00
Jonathan G Rennison
bb627e944c
Serialisation: Add std::span wrappers for Recv_binary, Send_binary
2024-02-06 18:35:44 +00:00
Jonathan G Rennison
2208d70e33
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/3rdparty/monocypher/CHANGELOG.md
# src/3rdparty/monocypher/CMakeLists.txt
# src/3rdparty/monocypher/README.md
# src/3rdparty/monocypher/monocypher.h
# src/core/random_func.cpp
# src/misc.cpp
2024-02-06 18:10:16 +00:00
Jonathan G Rennison
347862504f
Fix rail toolbar layout when polyrail button hidden at init
2024-02-05 17:10:31 +00:00
Koen Bussemaker
35c89d57f8
Codechange: Added debug printing for Water Regions
2024-02-04 22:50:04 +01:00
Koen Bussemaker
4b94457bf1
Fix #11802 : Made determining water region edge traversability more robust
2024-02-04 22:50:04 +01:00
translators
9cc17230e8
Update: Translations from eints
...
english (au): 11 changes by krysclarke
english (us): 11 changes by 2TallTyler
galician: 3 changes by pvillaverde
chinese (simplified): 17 changes by WenSimEHRP
korean: 14 changes by telk5093
german: 78 changes by SecretIdetity
russian: 11 changes by Ln-Wolf
catalan: 23 changes by J0anJosep
danish: 2 changes by bscargo
latvian: 229 changes by lexuslatvia
french: 29 changes by glx22
portuguese: 33 changes by azulcosta
portuguese (brazilian): 28 changes by pasantoro
2024-02-04 18:36:20 +00:00
Jonathan G Rennison
5b894edde8
Fix mismatch between struct Blitter and class Blitter declarations
2024-02-04 18:24:01 +00:00
Loïc Guilloux
64611a7d12
Fix #11975 , 27a920c
: Running AIs also occupy a slot ( #11976 )
2024-02-04 13:19:35 +01:00
dP
ff618230fe
Codechange: Replace magic value with a variable ( #11980 )
2024-02-04 10:45:24 +00:00
Peter Nelson
2fd9096070
Change: Decouple and remove landscape-dependent cargo types. ( #11719 )
...
Cargo types of default engines, industries and houses are now specified in terms of label.
2024-02-04 10:16:08 +00:00
Peter Nelson
83d63464db
Fix #11966 : Scrollbar may be incorrect on first opening of text file window. ( #11981 )
...
The scrollbar is set up before the true monospace is loaded, so reinitialise the window after loading.
2024-02-04 10:15:20 +00:00
Loïc Guilloux
75015cdad2
Fix 6f6f099
: Signals exist only on plain rail tiles ( #11977 )
2024-02-04 10:39:06 +01:00
Peter Nelson
d9461e52af
Fix #11972 : Incorrect minimum width allocated to graph. ( #11974 )
...
Width was based on actual number of data points instead of possible number of data points.
2024-02-04 08:51:19 +00:00
Jonathan G Rennison
cb13ee90ef
Fix: Second colour vehicle-type default liveries not being updated
...
When changing company default second colour
2024-02-04 07:14:39 +01:00
Tyler Trahan
d5e936c9d4
Fix #11968 : Always set string parameters to avoid undefined behavior ( #11973 )
2024-02-04 07:07:47 +01:00
Jonathan G Rennison
b2b96fff13
Disable threaded rendering when showing widget outlines
...
Because these are drawn outside the window boundary, so it is not
technically thread-safe due to non-deterministic drawing order
2024-02-04 02:39:59 +00:00
Jonathan G Rennison
16589041f2
Prevent dragging plan lines across viewports
...
As this leads to erratic plans
2024-02-04 02:39:59 +00:00
Jonathan G Rennison
d4381d06ea
Revert "Add scoped helper to temporarily override current blitter"
...
This reverts commit ae701a3bd8
.
2024-02-04 02:00:45 +00:00
Jonathan G Rennison
4a9803c6f0
Do not override global blitter to render overlay/plans to cache buffer
...
Creates thread safety issues with active draw jobs
2024-02-04 01:41:04 +00:00
Jonathan G Rennison
816d4eb657
Fix ff0c77ee
: Wrong pitch used to fill in scrolled plan/overlay caches
2024-02-04 01:41:04 +00:00
Jonathan G Rennison
3365efa5b2
Ensure that sprite aligner click to pick sprites is thread safe
...
Use a mutex for list of sprite IDs found in (threaded) draw jobs
2024-02-04 01:41:04 +00:00