Rubidium and rubidium42
9ba2e386ac
Codechange: use GrfID over uint32_t for NewGRF IDs
2026-07-06 16:41:08 +02:00
Peter Nelson and Peter Nelson
02becd50c5
Codechange: make TownFounding a scoped enum
2026-06-28 20:48:11 +01:00
Peter Nelson and Peter Nelson
3ba0706a5c
Codechange: make TownLayout a scoped enum
2026-06-28 20:48:11 +01:00
Peter Nelson and Peter Nelson
1acbb1c654
Codechange: make TownSize a scoped enum
2026-06-28 20:48:11 +01:00
Rubidium and rubidium42
d519cad60f
Codechange: remove unused path in DrawSortButton and simplify calling
2026-06-14 20:30:16 +02:00
Peter Nelson and Peter Nelson
c3b0d71973
Codechange: use EnumRange over many enum loops
2026-06-13 21:54:42 +01:00
Rubidium and rubidium42
2ff631caa2
Codechange: make GameMode a scoped enum
2026-05-30 23:20:20 +02:00
Peter Nelson and GitHub
fce33c5015
Codechange: make WarningLevel a scoped enum ( #15622 )
2026-05-26 17:12:21 +01:00
Rubidium and rubidium42
bcda4a72ee
Codechange: make WindowClass a scoped enum
2026-05-20 21:39:04 +02:00
Rubidium and rubidium42
c59d64c132
Codechange: separate TextColour enumeration and flags
2026-05-18 08:37:42 +02:00
Peter Nelson and GitHub
4a7cbf29f0
Codechange: prefer AutoRestoreBackup over Backup/Restore ( #15480 )
2026-04-27 08:02:41 +01:00
Rubidium and rubidium42
99c8a637b4
Codechange: make WindowPosition a scoped enum
2026-04-25 17:15:18 +02:00
Peter Nelson and Peter Nelson
c45aa3c9b6
Codechange: use EnumBitSet for CargoTypes
2026-04-21 17:13:31 +01:00
Rubidium and rubidium42
3b5d46e0bb
Codechange: make Colours a scoped enum
2026-04-19 20:53:52 +02:00
Peter Nelson and GitHub
2bf84ea78c
Codechange: make GrfSpecFeature a scoped enum ( #15487 )
2026-04-19 19:04:27 +01:00
Rubidium and rubidium42
7434052eb6
Codechange: make FontSize a scoped enum
2026-04-12 18:10:34 +02:00
Peter Nelson and Peter Nelson
636fcf3af3
Codechange: make TownProductionEffect a scoped enum
2026-04-12 14:46:54 +01:00
Peter Nelson and Peter Nelson
7c6da0ae6d
Codechange: make TownAcceptanceEffect a scoped enum
2026-04-12 14:46:54 +01:00
Peter Nelson and GitHub
4db1672611
Codechange: make TropicZone a scoped enum ( #15442 )
2026-04-07 08:33:16 +01:00
Peter Nelson and Peter Nelson
93a6aa77c6
Codechange: make SaveLoadOperation a scoped enum
2026-04-05 21:46:07 +01:00
Peter Nelson and Peter Nelson
74b0b080e7
Codechange: make AbstractFileType a scoped enum
2026-04-05 21:46:07 +01:00
Cyprian Klimaszewski and rubidium42
5943382cf5
Codechange: Make documentation comments for some types recognised by doxygen.
2026-02-21 15:05:13 +01:00
Cyprian Klimaszewski and rubidium42
21bee91fa7
Codechange: Make some variables and constants documentation comments recognised by doxygen.
2026-02-21 15:05:13 +01:00
Rubidium and rubidium42
9a5187bac8
Codechange: document return types and parameters
2026-02-21 06:13:15 +01:00
Rubidium and rubidium42
8e75626b49
Codechange: unify documentation and parameter names of sorters
2026-02-11 04:53:39 +01:00
Rubidium and rubidium42
c6c06e13eb
Codefix: wrong parameter names and partially missing parameters
2026-02-02 16:31:46 +01:00
Rubidium and rubidium42
03c24810b1
Codechange: use scoped enums for timer enumerations, rename one enum
2026-01-29 12:42:27 +01:00
Rubidium and rubidium42
4adf494ebc
Codechange: enum-class-ify Commands
2026-01-28 23:32:51 +01:00
mmtunligit and GitHub
2bcbea2694
Feature: User-defined collections of saved items in the picker window ( #14813 )
2026-01-25 12:38:01 -05:00
Cyprian Klimaszewski and rubidium42
322ce224b4
Codechange: Make Price an enum class.
2026-01-14 22:07:02 +01:00
Tyler Trahan and GitHub
18f2f7eb2d
Codechange: Use enum class for setting values ( #15074 )
2026-01-10 22:40:48 +00:00
Tyler Trahan and GitHub
09a8b1cf5c
Feature: Allow placing an area of 1x1 houses ( #14708 )
2026-01-08 20:43:50 +00:00
Peter Nelson and GitHub
b1c0198d3f
Fix #14917 : Crash when opening house picker with no houses available. ( #14920 )
2025-12-15 16:42:50 +00:00
Tyler Trahan and GitHub
7f196c6652
Feature: House placer mode to replace existing houses ( #14469 )
2025-12-07 12:05:47 -05:00
Cyprian Klimaszewski and GitHub
99f04f27de
Doc: Update information for receiving a copy of GPL. ( #14869 )
2025-12-07 11:25:08 +00:00
Peter Nelson and GitHub
f3b24d51c3
Fix ed67aedabf: Saved default houses had incorrect class and index information. ( #14812 )
...
Saved default houses would not appear properly in the 'Saved' tab after restarting the game.
2025-11-22 12:15:14 +00:00
Peter Nelson and GitHub
66b6d71e32
Codechange: Use std::initializer_list for NWidgetPart data. ( #14749 )
...
Avoids using C/C++ arrays.
2025-11-01 22:33:00 +00:00
Peter Nelson and GitHub
2b164111a9
Codechange: Use EnumBitSet for TownFlags. ( #14651 )
2025-09-22 19:04:55 +00:00
Rubidium and rubidium42
7c0f69a8fe
Codefix: typos in comments and strings
2025-08-31 10:30:37 +02:00
Tyler Trahan and GitHub
8c58fb1efd
Fix: Missing button beeps ( #14470 )
2025-08-05 13:57:45 -04:00
Peter Nelson and GitHub
bd57aee3a9
Add: Town cargo history graphs. ( #14461 )
2025-08-02 23:19:43 +01:00
Peter Nelson and GitHub
614a01907a
Codechange: Make functions for click and confirm beeps. ( #14484 )
...
Avoids repetition.
2025-07-27 21:54:32 +01:00
Peter Nelson and GitHub
921d83c324
Codechange: Unify structures with sprite sub-tile bounds and simplify bounding boxes. ( #14424 )
...
Lots of different structs contain variations on sub-tile bounds with different naming. Unify into a single struct that can be inherited and passed directly to AddSortableSpriteToDraw.
At the same time, offsets now work more logically: sub-tile bounds now specify the bounding box, and an offset can be applied to the sprite.
2025-07-22 00:02:00 +01:00
Tyler Trahan and GitHub
753905ae2d
Fix #14377 : Make house picker window remember house protection state when closed ( #14406 )
2025-07-09 14:18:19 +00:00
Peter Nelson and GitHub
d5ebd20110
Fix 319caef58f: Buildings with non-zero subtile offsets broken in house picker. ( #14390 )
...
Partially reverts 319caef58f . Conversion of subtile position was originally correct.
2025-06-25 17:33:15 +00:00
Peter Nelson and GitHub
e4cf6ca0ba
Fix: Mis-sized widgets due to missing widget fill. ( #14370 )
...
In most places where we calculate and set widget resize step we neglect
to set widget fill step to match. Initial widget sizing uses fill step
instead of resize step, which means the initial size may not be a
multiple of the resize step as intended. In particular this will cause
WWT_MATRIX to be misrendered.
Whether or not this matters depends on the widget type being resized and
the window layout, however for consistency always set fill step to the
same as resize step when calculating.
2025-06-17 17:40:11 +01:00
Colin Caine and GitHub
5f8e04457e
Codechange: Use default OnHotkey handler for focusing editboxes ( #14358 )
2025-06-16 22:25:54 +02:00
Peter Nelson and GitHub
ecafbf884e
Add: Allow separate expansion of town buildings and roads in scenario editor. ( #14341 )
2025-06-07 13:56:43 +00:00
Peter Nelson and 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
frosch and frosch
2926179d02
Fix: Restore the behaviour when entering numbers in query windows: clamp integers out of range to the maximum valid value.
2025-05-20 12:57:30 +02:00