glx22
31fbb17c5b
Codechange: Replace ScriptObject::[SG]etAllowDoCommand with ScriptObject::DisableDoCommandScope
2025-06-05 01:39:40 +02:00
glx22
4beb23af30
Codechange: TicToc can now accumulate and output every tick
2025-06-04 23:59:06 +02:00
glx22
fca75fd06a
Codechange: Use brace counting to detect end of class in squirrel-exporter
2025-06-04 19:48:27 +02:00
glx22
6482e16564
Codechange: Deduplicate namespace opening in squirrel-exporter
2025-06-04 19:48:27 +02:00
glx22
e0d8158957
Codechange: Don't use literal tabs in squirrel-exporter
2025-06-04 19:48:27 +02:00
Owen Rudge
b0dbe631b3
Codechange: [CI] Azure Code Signing has been rebranded 'Trusted Signing'
2025-06-04 09:16:18 +01:00
Peter Nelson
2e78c24ba3
Codefix: Use bitset .None() or .Any() instead of comparing against an empty bitset. ( #14327 )
2025-06-04 07:31:44 +01:00
translators
8f10f9fb5a
Update: Translations from eints
...
finnish: 1 change by hpiirai
2025-06-04 04:43:00 +00:00
Peter Nelson
5bf31a431e
Fix 4c8f1b0f81: Hidden-by-facility station signs were not ignored when handling clicks. ( #14326 )
2025-06-03 20:53:53 +00:00
Loïc Guilloux
9e8fc8da48
Fix: [Script] SQOpsLimiter had no effect for native valuator/filter ( #14322 )
2025-06-03 14:05:29 +02:00
Peter Nelson
ea0b3983a5
Codechange: Deduplicate common parts of graph windows with cargo legends.
...
This unifies handling on the cargo selected to avoid having to rewrite it for every cargo graph window.
2025-06-02 17:40:39 +01:00
Peter Nelson
43d57a6b7e
Codefix 5c45738613: Rename CompanyGraphWindow to BaseCompanyGraphWindow.
...
This makes it clearer that it isn't a final graph window.
2025-06-02 17:40:39 +01:00
translators
6d0dd90e20
Update: Translations from eints
...
korean: 2 changes by telk5093
portuguese: 2 changes by jcteotonio
2025-06-02 04:43:26 +00:00
Peter Nelson
b7b2b57805
Fix bd1a3fe0b7: Crash if loading compatibility scripts fails. ( #14318 )
2025-05-31 19:59:23 +01:00
Peter Nelson
4ab48f34f5
Fix 5664b1e2f6: Upgrade button in NewGRF window no longer worked. ( #14315 )
2025-05-31 08:20:55 +00:00
translators
621c031307
Update: Translations from eints
...
dutch: 4 changes by Afoklala
2025-05-31 04:39:26 +00:00
Loïc Guilloux
2cd3c8db86
Codechange: [Script] Don't report multiple errors on valuator/filter failure ( #14303 )
2025-05-30 14:38:41 +02:00
translators
10c159a79f
Update: Translations from eints
...
norwegian (bokmal): 4 changes by eriksorngard
korean: 4 changes by telk5093
2025-05-29 04:47:48 +00:00
Peter Nelson
c233e5ee2c
Codechange: Tweak layouts of graph windows to reduce spacers.
2025-05-28 18:40:33 +01:00
Peter Nelson
5c45738613
Codechange: Improve inheritance of graph windows.
...
BaseGraphWindow contains parts that are only relevant to company-series data -- these are moved to a separate class.
2025-05-28 18:40:33 +01:00
translators
3aca5d62a8
Update: Translations from eints
...
spanish (mexican): 4 changes by absay
chinese (simplified): 4 changes by WenSimEHRP
hungarian: 5 changes by vargaviktor
french: 27 changes by glx22
polish: 4 changes by pAter-exe
2025-05-28 04:47:09 +00:00
Peter Nelson
7c9393e822
Codechange: Remove terminator from airport tile lists. ( #14306 )
2025-05-27 20:23:59 +01:00
translators
808af15975
Update: Translations from eints
...
english (au): 4 changes by krysclarke
chinese (traditional): 5 changes by KogentaSan
english (us): 5 changes by 2TallTyler
greek: 4 changes by gh658804
russian: 4 changes by Ln-Wolf
finnish: 4 changes by hpiirai
latvian: 6 changes by lexuslatvia
portuguese: 4 changes by jcteotonio
portuguese (brazilian): 4 changes by pasantoro
2025-05-27 04:48:27 +00:00
Peter Nelson
e2d066e5d3
Codefix: Effect vehicles don't use v->tile, so shouldn't be in the vehicle tile hash. ( #14302 )
2025-05-26 21:45:46 +01:00
translators
e23a591a1e
Update: Translations from eints
...
galician: 10 changes by pvillaverde
turkish: 20 changes by BeratSJ
latvian: 2 changes by lexuslatvia
2025-05-26 04:49:25 +00:00
Peter Nelson
b042e7a439
Codefix: Prefer `static inline const` keyword order. ( #14301 )
2025-05-25 20:32:56 +01:00
Peter Nelson
948ceb3b17
Add: Button to configure badges in build picker window.
2025-05-25 09:13:05 +01:00
Peter Nelson
f28dc3cca4
Add: Button to configure badges in build vehicle window.
2025-05-25 09:13:05 +01:00
Peter Nelson
c2d4098afa
Add: Configuration of NewGRF badges.
2025-05-25 09:13:05 +01:00
Peter Nelson
daef052329
Add: Generic "configure list/view" vertical ellipsis icon.
2025-05-25 09:13:05 +01:00
Peter Nelson
29970fb496
Codechange: Add DropDownToggle component.
2025-05-25 09:13:05 +01:00
Peter Nelson
6e90b828c6
Codechange: Add CentreTo Rect method.
2025-05-25 09:13:05 +01:00
Peter Nelson
c213218b66
Codechange: Pass click state to Dropdown Draw() function.
...
This allows drawing to change depending on last click position.
2025-05-25 09:13:05 +01:00
Peter Nelson
984d864c72
Codechange: Add OnClick handler for dropdown items.
...
This allows each dropdown item to indicate if something different should happen depending on where in the item was clicked.
2025-05-25 09:13:05 +01:00
Peter Nelson
04e07dff84
Codechange: Add Up/Down buttons, to fit in with the settings-button style.
2025-05-25 09:13:05 +01:00
translators
b82e32c360
Update: Translations from eints
...
norwegian (bokmal): 1 change by eriksorngard
spanish (mexican): 1 change by absay
chinese (simplified): 1 change by WenSimEHRP
korean: 1 change by telk5093
danish: 68 changes by bscargo
2025-05-25 04:48:20 +00:00
Loïc Guilloux
5e765a2787
Codechange: [CMake] Use ".sq.hpp" instead of ".hpp.sq" for API exports ( #14297 )
2025-05-24 22:38:37 +02:00
Kuhnovic
34c0b09764
Codechange: Removed T prefix from water region related types. ( #14290 )
2025-05-24 18:12:16 +02:00
Loïc Guilloux
fea120a710
Fix #14295 , 0455627d16: v->cur_implicit_order_index is never INVALID_VEH_ORDER_ID ( #14296 )
2025-05-24 13:53:51 +00:00
translators
c366e6a48e
Update: Translations from eints
...
chinese (simplified): 1 change by WenSimEHRP
dutch: 1 change by Afoklala
2025-05-24 04:44:57 +00:00
Peter Nelson
b42abfbefc
Fix 0455627d16: Incorrect script order position mapping. ( #14294 )
2025-05-23 19:55:22 +01:00
Kuhnovic
180ec6505b
Codechange: Use strong types for water regions. ( #14289 )
2025-05-23 20:54:42 +02:00
Peter Nelson
0455627d16
Codechange: Move ownership of Orders to OrderList. ( #13948 )
...
Removes the orders pool, and orders are now stored directly in each OrderList.
Iterating orders now no longer needs to traverse a linked-list, all orders in an OrderList are sequential.
2025-05-23 10:36:28 +01:00
Peter Nelson
7344dfe651
Change: Reflow Textfile window content incrementally.
...
This avoids a stall when reflowing a long text file with some truetype fonts.
2025-05-23 07:42:10 +01:00
Peter Nelson
46b745a06a
Codechange: Use a helper method to test if text file window is wrapped.
2025-05-23 07:42:10 +01:00
Peter Nelson
940071a5f2
Codechange: Add alternating iterator to take elements from middle of range.
2025-05-23 07:42:10 +01:00
Peter Nelson
780c26237f
Codechange: Add OnScrollbarScroll window event, called when a scrollbar position changes.
2025-05-23 07:42:10 +01:00
translators
321f7e8683
Update: Translations from eints
...
swedish: 3 changes by joeax910
2025-05-23 04:45:57 +00:00
Peter Nelson
1064309ecf
Change: Don't measure group name widths in company livery window. ( #14291 )
...
Measuring the name width did not also take account of indentation levels so didn't prevent cropping, and the window can be resized anyway.
This avoids a potential bottleneck due to layouting group names if there are a lot of groups present.
2025-05-22 22:57:50 +01:00
SamuXarick
5fef32bde7
Change: [Script] Move GSStation::GetOwner to GSBaseStation::GetOwner ( #13406 )
...
* Add: [Script] GSBaseStation::GetOwner
Added method for Game Scripts to retrieve the owner of a basestation.
* Cleanup: [Script] Remove ScriptStation::GetOwner
Due to class inheritance, GSStation::GetOwner and GSWaypoint::GetOwner can both reach GetOwner defined at GSBaseStation.
2025-05-22 13:47:04 +02:00