Rubidium
9ba2e386ac
Codechange: use GrfID over uint32_t for NewGRF IDs
2026-07-06 16:41:08 +02:00
mmtunligit
98dfc7376c
Codechange: Split long single line loop to match #15589
2026-06-26 18:26:01 +02:00
mmtunligit
1a00026929
Change: selecting Rail/Roadtype updates build toolbar instead of closing and reopening ( #15589 )
2026-06-23 22:31:54 +00:00
Peter Nelson
a55bd4e041
Codechange: make TransportType a scoped enum
2026-06-22 11:59:24 +02:00
mmtunligit
2d5c1a9af8
Codechange: Build rail station highlight updates only as needed
2026-06-16 19:11:25 +02:00
Rubidium
5a6469ad6f
Codechange: make EventState a scoped enum
2026-06-15 11:20:52 +02:00
Peter Nelson
c3b0d71973
Codechange: use EnumRange over many enum loops
2026-06-13 21:54:42 +01:00
Matt C
09a475f30a
Codechange: Calculate most used rail type using company infrastructure records ( #15598 )
2026-06-11 08:56:03 -04:00
Peter Nelson
c9cf141813
Codechange: make Track a scoped enum and TrackBits an EnumBitSet ( #15684 )
...
Helper methods to convert Track to TrackBits are removed as they are no longer necessary.
2026-06-08 23:05:51 +01:00
Peter Nelson
14be71cb5f
Codechange: make SignalState a scoped enum
2026-06-06 18:52:10 +01:00
Peter Nelson
231d946624
Codechange: make SignalType a scoped enum
2026-06-06 18:52:10 +01:00
Peter Nelson
e97e182630
Codechange: make SignalVariant a scoped enum
2026-06-06 18:52:10 +01:00
Peter Nelson
ebb77e592c
Codechange: use EnumIndexArray for signal sprite and string tables
2026-06-06 18:52:10 +01:00
Matt C
6bc486a578
Feature: Add default road and tram selection ( #15585 )
...
- Merged with the existing default rail type selection
2026-06-06 09:23:08 -04:00
Cyprian Klimaszewski
4175aee782
Fix #14975 : Show correct tile for tunnel error message ( #15660 )
2026-06-03 18:47:55 -04:00
Rubidium
4c2d4ec73e
Codechange: rename InitializeRailGUI to InitializeSignalGui
2026-06-03 07:20:55 +02:00
Rubidium
a8606613a4
Codechange: use single path for calling SetDefaultRailGui
2026-06-03 07:20:55 +02:00
Rubidium
55be58a31d
Codefix: do not update just closed construction toolbar when changing company
2026-06-03 07:20:55 +02:00
Peter Nelson
28cd6a3d33
Codechange: make TrackStatus a struct instead of opaque uint32_t ( #15653 )
2026-05-31 18:09:26 +01:00
Peter Nelson
f010c21f1a
Codechange: make DiagDirection a scoped enum
2026-05-31 13:11:53 +01:00
Rubidium
2ff631caa2
Codechange: make GameMode a scoped enum
2026-05-30 23:20:20 +02:00
Peter Nelson
81bdc44d1a
Codechange: use EnumIndexArray for Direction and DiagDirection indexed arrays
2026-05-30 07:39:21 +01:00
Peter Nelson
c74431e734
Codechange: make Axis a scoped enum
2026-05-27 07:49:39 +01:00
Peter Nelson
39d4fe24a0
Codechange: treat station gui axis as an axis ( #15627 )
2026-05-25 07:21:15 +01:00
Jonathan G Rennison
f2aeed9cb9
Cleanup: Remove unused GameOptionsWindowNumber::GameSettings window number ( #15617 )
...
Remove associated redundant SetWindowDirty calls
2026-05-23 02:18:30 +02:00
Rubidium
bcda4a72ee
Codechange: make WindowClass a scoped enum
2026-05-20 21:39:04 +02:00
Rubidium
54d8c3f8e3
Codechange: split WindowNumberEnum into several scoped enumerations
2026-05-19 16:14:40 +02:00
Rubidium
c59d64c132
Codechange: separate TextColour enumeration and flags
2026-05-18 08:37:42 +02:00
Peter Nelson
77403627a8
Codechange: make VehicleType a scoped enum
2026-04-26 07:00:13 +01:00
Rubidium
99c8a637b4
Codechange: make WindowPosition a scoped enum
2026-04-25 17:15:18 +02:00
Rubidium
3b5d46e0bb
Codechange: make Colours a scoped enum
2026-04-19 20:53:52 +02:00
Peter Nelson
2bf84ea78c
Codechange: make GrfSpecFeature a scoped enum ( #15487 )
2026-04-19 19:04:27 +01:00
Matt C
e4bc01d172
Change: Most used rail type takes ownership into account ( #15489 )
2026-04-17 18:29:39 -04:00
Peter Nelson
a5a60c8615
Codechange: make RoadTramType a scoped enum, and use EnumBitSet ( #15477 )
2026-04-13 18:15:41 +01:00
Rubidium
7434052eb6
Codechange: make FontSize a scoped enum
2026-04-12 18:10:34 +02:00
Peter Nelson
a9d7397a77
Codechange: Pass rail and roadtypes separately for tunnel and bridge commands. ( #15438 )
...
Avoids passing and casting each via an unrelated type, at the expense of an extra command parameter.
2026-04-06 14:45:22 +01:00
Peter Nelson
ff2028c7d6
Codechange: use scoped enum for ArrowWidgetType
...
Rename from ArrowWidgetValues to make more sense
2026-03-31 12:21:00 +01:00
Rubidium
549d555be7
Codechange: document a number of parameters and return types
2026-02-18 22:57:05 +01:00
Peter Nelson
0e25f9245c
Codechange: use PoolID for newgrf class ids ( #15228 )
2026-02-18 09:11:04 +00:00
Rubidium
c6c06e13eb
Codefix: wrong parameter names and partially missing parameters
2026-02-02 16:31:46 +01:00
Konstantin Gribov
6cac80a158
Change: Add support for next/previous/first/last railtype hotkeys.
...
This patch adds support for next/prev railtype hotkeys which select
previous next, first or last available railtype.
If user selected any widget in railway build toolbox it will be
preserved.
Such behaviour is useful for players who use PURR, Useless Tracks,
U&ReRMM and similar NewGRFs for quick selection.
I use PURR with semantic tracks coloring (e.g. white purr for waiting
bays, red purr for prio zones etc).
Current patch binds this feature to `[`, `]`, `CTRL+[` and `CTRL+]`.
Initialy by Konstantin Gribov <grossws@gmail.com >.
2026-01-30 00:00:53 +01:00
Rito12
2de2c5d31d
Cleanup: Expose last built types in the toolbar gui header.
2026-01-30 00:00:53 +01:00
Rubidium
03c24810b1
Codechange: use scoped enums for timer enumerations, rename one enum
2026-01-29 12:42:27 +01:00
Rubidium
4adf494ebc
Codechange: enum-class-ify Commands
2026-01-28 23:32:51 +01:00
mmtunligit
2bcbea2694
Feature: User-defined collections of saved items in the picker window ( #14813 )
2026-01-25 12:38:01 -05:00
Cyprian Klimaszewski
97f3e5b70f
Codechange: Make TileType enum an enum class.
2026-01-24 08:34:05 +01:00
Rito12
859b56a066
Doc: Correct file descriptions to match coding style and doxygen.
2025-12-15 17:31:00 +01:00
Cyprian Klimaszewski
99f04f27de
Doc: Update information for receiving a copy of GPL. ( #14869 )
2025-12-07 11:25:08 +00:00
Peter Nelson
0f5a4290df
Codechange: Use enum class for RailTileType
2025-11-17 20:46:05 +00:00
mmtunligit
7662105081
Change: Clamp terraform toolbar to main toolbar ( #14725 )
2025-11-13 18:25:21 -05:00