Peter Nelson
394adb654e
Codechange: Move GUI parts of badges to a separate file. ( #14023 )
2025-04-18 17:20:31 +01:00
Peter Nelson
d48bc18721
Codechange: Rename badge_class to class_index and badge_classes to gui_classes internally. ( #13995 )
...
These names are already used in some places, so this brings a bit of consistency.
2025-04-13 21:06:09 +01:00
Peter Nelson
4721a1f93e
Fix: Don't display badges if the class has no name. ( #13994 )
...
Unnamed badges are intended to be for internal-use, not for player information.
Additionally if there is no name to the class, then is causes problems when user configuration comes.
2025-04-13 18:00:41 +01:00
Peter Nelson
3503082f19
Codechange: Move template class implementation includes.
...
These are now placed at the bottom of the including files include list.
2025-03-21 12:53:40 +00:00
Peter Nelson
57f0ed716e
Codechange: Use parameterised GetString() for drawing NewGRF info. ( #13674 )
2025-02-28 21:05:12 +00:00
Peter Nelson
e2c1b9f03e
Codechange: Use only raw strings in drop down lists. ( #13667 )
...
Strings with parameters are now pre-formatted, avoiding global parameters.
Helper functions still allow StringID.
2025-02-27 21:11:16 +00:00
Peter Nelson
7a23bfa747
Add: Filter purchase lists by badge text. ( #13588 )
2025-02-17 17:28:26 +00:00
Peter Nelson
af7054dcb6
Fix 8f14894024
: Badge name list did not use translatable separator. ( #13591 )
2025-02-17 17:27:22 +00:00
Peter Nelson
8f14894024
Add: NewGRF Badges.
2025-02-16 22:24:25 +00:00