Rubidium
b376e2655a
Codechange: explicitly initialise member variables of Windows
2025-02-27 20:06:06 +01:00
Rubidium
c540c2bcf7
Codechange: explicitly initialise member variables of Windows
2025-02-27 19:58:31 +01:00
SamuXarick
af32ce3710
Cleanup: Remove unused member in ScriptDebugWindow ( #13664 )
2025-02-27 14:17:31 +01:00
Rubidium
f69968f2bc
Codechange: explicitly initialise member variables of Windows
2025-02-27 12:21:06 +01:00
translators
566a5196f2
Update: Translations from eints
...
english (au): 3 changes by krysclarke
chinese (traditional): 6 changes by KogentaSan
spanish (mexican): 73 changes by absay
english (us): 43 changes by 2TallTyler
chinese (simplified): 3 changes by WenSimEHRP
greek: 3 changes by gh658804
finnish: 6 changes by hpiirai
portuguese: 3 changes by azulcosta
portuguese (brazilian): 3 changes by pasantoro
polish: 6 changes by pAter-exe
2025-02-27 04:45:11 +00:00
Loïc Guilloux
e769c0392e
Cleanup: [Script] Remove some dead code ( #13660 )
2025-02-26 21:37:07 +01:00
Peter Nelson
f10ece41f8
Codechange: Split SettingEntry-related code to own file. ( #13663 )
2025-02-26 19:50:02 +00:00
translators
dddad0dcc5
Update: Translations from eints
...
chinese (traditional): 37 changes by KogentaSan
spanish (mexican): 1 change by absay
chinese (simplified): 3 changes by WenSimEHRP
catalan: 38 changes by J0anJosep
portuguese: 42 changes by azulcosta
polish: 4 changes by pAter-exe
2025-02-26 04:46:09 +00:00
Peter Nelson
31bd85b743
Codechange: Use parameterised GetString() for goal, league and story windows. ( #13662 )
2025-02-25 22:55:06 +00:00
Peter Nelson
a8f56fe7b3
Add: Variable to test how many vehicles in a chain contain a specific badge. ( #13594 )
2025-02-25 20:55:11 +00:00
Loïc Guilloux
ae72e15951
Codefix b2c5712: [Script] Squirrel::GetRealInstance doesn't work with negative index ( #13658 )
2025-02-25 13:13:31 +01:00
Peter Nelson
f1b683b372
Change: Show the type of land covered by snow.
2025-02-25 08:22:46 +00:00
Peter Nelson
3cf9b15959
Codechange: Handle SnowTile state separately from ClearGround.
...
This removes the need for ClearGround to pretend that CLEAR_SNOW exists.
2025-02-25 08:22:46 +00:00
translators
02a1f59a6c
Update: Translations from eints
...
english (au): 39 changes by krysclarke
chinese (traditional): 66 changes by KogentaSan
spanish (mexican): 65 changes by absay
chinese (simplified): 97 changes by WenSimEHRP
greek: 39 changes by gh658804
russian: 42 changes by Ln-Wolf
finnish: 39 changes by hpiirai
portuguese (brazilian): 39 changes by pasantoro
polish: 52 changes by pAter-exe
2025-02-25 04:43:08 +00:00
Loïc Guilloux
c06f5cff09
Codefix b2c5712: [Script] Properly check sq_instanceof return value ( #13657 )
2025-02-24 21:09:04 +00:00
Rubidium
02f040b22a
Codechange: remove unused alloc_func.hpp includes
2025-02-24 20:00:19 +01:00
Rubidium
f6ce8d1b10
Codechange: replace C-style memory management in MacOS code
2025-02-24 16:04:22 +01:00
translators
416f6d54d2
Update: Translations from eints
...
spanish (mexican): 5 changes by absay
french: 6 changes by ottdfevr
portuguese: 1 change by azulcosta
polish: 6 changes by pAter-exe
2025-02-24 04:43:16 +00:00
Peter Nelson
96f260e718
Codechange: Pass TileDesc by reference.
2025-02-23 23:00:51 +00:00
Peter Nelson
012daaa3d9
Codechange: Use member initialisation for TileDesc members.
2025-02-23 23:00:51 +00:00
Peter Nelson
6e10584b91
Codechange: Use EncodedStrings for News messages. ( #13654 )
2025-02-23 20:24:02 +00:00
Rubidium
0afae7c546
Codechange: explicitly initialise member variables of Windows
2025-02-23 14:53:42 +01:00
Peter Nelson
1b6a77a190
Codechange: Update translations for parameter changes.
2025-02-23 13:52:13 +00:00
Peter Nelson
7fd0e6c27d
Codechange: Use local string parameters for order and timetable windows.
...
Order display is now composed of concatenated strings instead of a complex 10-parameter format string, which simplifies things and fixes duplicate spaces.
2025-02-23 13:52:13 +00:00
Rubidium
23ba18ada7
Codechange: remove SimpleSpriteAllocator
2025-02-23 14:44:11 +01:00
Rubidium
b50cf8f252
Codechange: rework OpenGL backend to not need emplacement new and manual deconstructor calls
2025-02-23 14:44:11 +01:00
SamuXarick
718a45b845
Fix 11a8b71: Set direction and rotation of ships upon building ( #13625 )
2025-02-22 23:33:25 +00:00
Peter Nelson
b28dca2222
Codechange: Preprocess text ref stack parameters. ( #13642 )
...
NewGRF text ref stack is now processed in advance, creating parameters as necessary, and then encoding this into an EncodedString.
2025-02-22 22:03:38 +00:00
Peter Nelson
4ac81656ee
Codechange: Simplify some calls to DrawStringMultiLine(). ( #13643 )
...
Sometimes the bottom is passed as UINT16_MAX for no reason. In this case just pass the rect.
Other times it's to extend the window height; in that case just extend the rect itself.
2025-02-22 20:41:40 +00:00
Rubidium
b264a4864b
Codechange: make statistics from CompanyEconomyEntry use C++ constructs
2025-02-22 16:33:05 +01:00
Rubidium
24a7cde9cc
Codechange: explicitly initialise Company member variables
2025-02-22 16:33:05 +01:00
Rubidium
8b7c92dfe3
Codechange: explicitly initialise NewGRF-pool-object member variables
2025-02-22 15:34:44 +01:00
Rubidium
b64e8c0aea
Codechange: use std::vector/std::span over MallocT for NewGRF bridge sprites
2025-02-22 15:34:32 +01:00
Rubidium
7121bc9f31
Codechange: remove ZeroedMemoryAllocator from OpenGLBackend
2025-02-22 15:22:44 +01:00
Rubidium
3e511f2ce7
Codechange: remove ZeroedMemoryAllocator from GRFFile
2025-02-22 14:58:26 +01:00
Rubidium
5cee804f98
Codechange: remove ZeroedMemoryAllocator from NWidgetBase
2025-02-22 14:38:33 +01:00
Peter Nelson
bb4ac915ff
Fix 8f14894024: Badge widths were not updated on interface scale change. ( #13630 )
...
Prepare GUI badge class lists in OnInit() method of Windows, so that they handle scaling changes.
2025-02-22 13:29:52 +00:00
Jonathan G Rennison
8566030c53
Cleanup: Adjustments to comments to match code changes ( #13636 )
2025-02-22 13:28:35 +00:00
Peter Nelson
2b80812922
Codechange: Use parameterised GetString() in network-related windows. ( #13635 )
2025-02-22 13:16:47 +00:00
SamuXarick
847fbe3348
Fix: [Script] Set DummyAI Api version to last available ( #13610 )
2025-02-22 12:58:29 +01:00
Peter Nelson
b13922fb48
Codechange: Update translations for parameter position changes.
2025-02-22 10:33:22 +00:00
Peter Nelson
24d327a30b
Codechange: Use parameterised-GetString for vehicle related windows.
2025-02-22 10:33:22 +00:00
Peter Nelson
0428f8c667
Codechange: Add AppendStringWithArgsInPlace() function.
2025-02-22 10:33:22 +00:00
Peter Nelson
04a16a6b68
Codechange: Add GetParamMaxDigits/Value() functions.
...
Similar to SetDParamMaxDigits/Value(), except the value is returned instead of being set into a parameter.
2025-02-22 10:33:22 +00:00
Peter Nelson
4c99b5b368
Codechange: Return pair from GetBroadestDigit instead of out parameters.
2025-02-22 10:33:22 +00:00
translators
9a8d9e4e48
Update: Translations from eints
...
spanish (mexican): 9 changes by absay
galician: 30 changes by pvillaverde
chinese (simplified): 1 change by WenSimEHRP
catalan: 1 change by J0anJosep
latvian: 30 changes by lexuslatvia
dutch: 4 changes by Afoklala
2025-02-22 04:44:59 +00:00
translators
cc93699459
Update: Translations from eints
...
english (au): 1 change by krysclarke
chinese (traditional): 1 change by KogentaSan
spanish (mexican): 3 changes by absay
greek: 1 change by gh658804
russian: 1 change by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 1 change by azulcosta
portuguese (brazilian): 1 change by pasantoro
polish: 1 change by pAter-exe
2025-02-21 04:45:52 +00:00
Peter Nelson
f4b1bd30f2
Codechange: Codestyle changes for Script League table window.
2025-02-20 22:41:50 +00:00
Peter Nelson
17a4fcefde
Fix: League table window ignored the minimal size in its widget description.
2025-02-20 22:41:50 +00:00
Peter Nelson
9b65786055
Fix: Incorrect snow density when making rocks snowy. ( #13626 )
...
Rocks do not use density, but snowy rocks use snow density. Therefore it should start at zero like non-rocky land.
2025-02-20 18:57:17 +00:00