Commit Graph

56932 Commits

Author SHA1 Message Date
Patric Stout
5fba47b0f7 Codechange: make no assumptions on how the internals of TileIndex work (#11183)
Basically, avoid ".value", and just cast it to its original type
if you want to retrieve this.
2023-08-11 14:53:51 +02:00
Tyler Trahan
6190f48df0 Codechange: Add a DateToYear function instead of dividing each time (#11173) 2023-08-11 08:19:54 -04:00
Tyler Trahan
4928ccf916 Fix #10478: Clarify airport noise control setting texts (#11169) 2023-08-11 08:19:26 -04:00
Tyler Trahan
e4fd99a33a Codechange: Use DateAtStartOfYear() instead of multiplying by DAYS_IN_LEAP_YEAR (#11174) 2023-08-11 08:18:59 -04:00
Tyler Trahan
93069066f9 Codechange: Use auto type when sorting dates (#11175) 2023-08-11 08:18:32 -04:00
Tyler Trahan
6f057cbe6a Codechange: Use proper date type in ClickChangeDateCheat (#11176) 2023-08-11 07:52:59 -04:00
Jonathan G Rennison
3ec633e63c Merge pull request #584 from H-Sachse/H-Sachse-change-desktop-launcher-app-name
Update openttd.desktop -> add "+JGRPP" to app name
2023-08-09 21:03:21 +01:00
Loïc Guilloux
ba95764f1c Fix 57717a2: VS2022 optimisation bug is fixed with MSVC 19.37 (#11172) 2023-08-09 21:43:34 +02:00
translators
c2fc2d2ed5 Update: Translations from eints
romanian: 48 changes by bnegrut
2023-08-09 18:40:24 +00:00
Jonathan G Rennison
8a14d8c246 Add setting to also limit acceleration when using realistic braking 2023-08-09 00:16:28 +01:00
H-Sachse
56d8605caf Update openttd.desktop -> change app name
Add JGRPP to application name to distinguish openttd+JGRPP from vanilla openttd
2023-08-08 22:20:57 +02:00
Jonathan G Rennison
3840a37999 Add console command to dump custom signal styles 2023-08-08 18:57:57 +01:00
Tyler Trahan
b012d1100c Fix #10334: Store separate newgrf-safe version of date_of_last_service. (#11124)
This value is not changed when the date cheat is used, which caused issues with changing properties based on service date.

Co-authored-by: Peter Nelson <peter1138@openttd.org>
(cherry picked from commit 9a602ff304)
2023-08-08 18:31:29 +01:00
translators
4daa00c22a Update: Translations from eints
slovak: 53 changes by legitalk
2023-08-07 18:38:52 +00:00
translators
2bc97fae66 Update: Translations from eints
swedish: 45 changes by joeax910
portuguese: 106 changes by azulcosta
2023-08-06 18:38:21 +00:00
Tyler Trahan
9a602ff304 Fix #10334: Store separate newgrf-safe version of date_of_last_service. (#11124)
This value is not changed when the date cheat is used, which caused issues with changing properties based on service date.

Co-authored-by: Peter Nelson <peter1138@openttd.org>
2023-08-06 12:57:10 -04:00
Jonathan G Rennison
5bcc71f2c2 Fix incorrect industry NewGRF text ID mapping
In the case where the lower 16 bits of the internal string ID
was also a valid NewGRF string ID
2023-08-06 01:21:19 +01:00
Jonathan G Rennison
752b0bce47 ScriptList: Defer creation of sorter and values map until first used 2023-08-05 20:03:33 +01:00
Jonathan G Rennison
24a77e5b36 ScriptList: Update iterators when swapping lists
Safe btree iterators store a pointer to the parent container
2023-08-05 19:54:05 +01:00
Jonathan G Rennison
731a79b224 Fix truncation of dump_command_log console command output 2023-08-04 22:20:36 +01:00
translators
77c00dfe98 Update: Translations from eints
slovak: 9 changes by legitalk
dutch: 3 changes by Afoklala
2023-08-04 18:38:28 +00:00
Jonathan G Rennison
bdbc631e6c Script: Simplify implementation of ScriptList
Use btrees instead of set/map
Replace bucket mechanism for reverse mapping
Avoid redundant operations
2023-08-03 22:05:26 +01:00
Jonathan G Rennison
b68491f2fe Btree: Add copy operator for safe iterators 2023-08-03 20:53:33 +01:00
translators
9d376dc8e0 Update: Translations from eints
finnish: 1 change by hpiirai
portuguese (brazilian): 1 change by pasantoro
2023-08-03 18:38:02 +00:00
Jonathan G Rennison
a248495ee3 Version: Committing version data for tag: jgrpp-0.54.5 2023-08-02 20:29:07 +01:00
Jonathan G Rennison
3a07f92474 CMake: Fix findversion with git when build dir is not inside source dir 2023-08-02 20:28:51 +01:00
translators
11ba39b435 Update: Translations from eints
korean: 21 changes by telk5093
polish: 1 change by pAter-exe
2023-08-02 18:38:24 +00:00
Jonathan G Rennison
6a048bc168 Fix #11164: Duplicate town names when using the many random towns function 2023-08-02 20:07:59 +02:00
Jonathan G Rennison
38c57044ea Add debug special console command 2023-08-01 21:09:51 +01:00
Jonathan G Rennison
bab06f1bb4 CMake: Add option to explicitly disable LTO 2023-08-01 20:51:15 +01:00
translators
4213a2c909 Update: Translations from eints
russian: 1 change by Ln-Wolf
turkish: 33 changes by densxd
danish: 1 change by bscargo
french: 1 change by Lishouuu
polish: 21 changes by pAter-exe
2023-08-01 18:38:22 +00:00
Jonathan G Rennison
cc9daf4128 Use btree set in console list dirs 2023-08-01 19:11:13 +01:00
Jonathan G Rennison
4202afc0bc Use btree set for town names list 2023-08-01 19:09:30 +01:00
Jonathan G Rennison
2313679ee7 Simplify town name duplicate check in VerifyTownName 2023-08-01 19:08:30 +01:00
Jonathan G Rennison
665d6bf7f2 Fix duplicate town names when using the many random towns function
See: #583
2023-08-01 19:06:41 +01:00
Jonathan G Rennison
2ed98b3b9d Saveload: Add support for upstream savegame version 316 2023-08-01 18:55:30 +01:00
PeterN
4acb68e539 Fix #11162: Get colour map of correct train part. (#11163) 2023-08-01 15:05:42 +01:00
Jonathan G Rennison
f4d237e022 Remove use of fmt from squtils.h
Fixes link warning on MinGW
2023-08-01 00:57:38 +01:00
translators
43559524eb Update: Translations from eints
english (au): 1 change by krysclarke
english (us): 1 change by 2TallTyler
portuguese: 1 change by azulcosta
2023-07-31 18:39:05 +00:00
Tyler Trahan
748ff13a6d Change: Enable "Forbid 90 degree turns" setting by default
(cherry picked from commit 4decd2aa48)
2023-07-31 18:22:58 +01:00
Loïc Guilloux
2ddc5d9cd6 Fix #11067, ed83c4b: Don't start competitors during map generation (#11069)
(cherry picked from commit a979d9cdda)
2023-07-31 18:21:45 +01:00
Tyler Trahan
9876c861e4 Remove: Unused ship pathfinder invalidation setting callback 2023-07-30 18:21:13 -04:00
Tyler Trahan
4decd2aa48 Change: Enable "Forbid 90 degree turns" setting by default 2023-07-30 18:21:13 -04:00
Jonathan G Rennison
c79dd3656f conv-lang.pl: Support N: prefixes when fixing STRINGN codes 2023-07-30 23:09:24 +01:00
Daniel Hill
924b2ab9ec Add an optional "(City)" in Viewport labels 2023-07-30 22:06:51 +01:00
Jonathan G Rennison
4d2db01a0f Fix maybe uninitialised warning in DrawDeparturesListItems 2023-07-30 22:03:21 +01:00
Jonathan G Rennison
4c88256183 De-duplicate string IDs used for viewport town labels 2023-07-30 21:47:03 +01:00
Jonathan G Rennison
5f385a5573 De-duplicate string IDs used for station rating tooltips 2023-07-30 21:47:03 +01:00
Jonathan G Rennison
7744ccf3f3 Extra strings: Move "JUST" strings to a no-translate section 2023-07-30 21:47:03 +01:00
Jonathan G Rennison
eb03369a21 Extra strings: Add no-translate tag 2023-07-30 21:47:03 +01:00