Peter Nelson and Peter Nelson
d6783335ca
Codechange: make Direction a scoped enum
2026-05-31 13:11:53 +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
b220cc1a29
Fix: station list facility buttons do not produce click sound ( #15569 )
2026-05-02 19:36:36 +01:00
Peter Nelson and GitHub
7bb3774d7f
Codechange: iterate station list facilities filter in a saner manner ( #15568 )
2026-05-02 19:36:19 +01:00
Peter Nelson and Peter Nelson
77403627a8
Codechange: make VehicleType a scoped enum
2026-04-26 07:00:13 +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
Rubidium and rubidium42
7434052eb6
Codechange: make FontSize a scoped enum
2026-04-12 18:10:34 +02:00
Peter Nelson and Peter Nelson
d02d57b348
Change: Make dropdown text filter persistent in some cases.
2026-03-08 19:25:28 +00:00
Peter Nelson and Peter Nelson
d685fc97f1
Change: Enable dropdown text filter for various dropdown lists.
2026-03-08 19:25:28 +00:00
Rubidium and rubidium42
6370859c7e
Codechange: add missing documentation to destructors
2026-02-24 16:24:53 +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
dde097a080
Codechange: document parameters and return types
2026-02-20 16:14:02 +01:00
Peter Nelson and Peter Nelson
10379441bc
Codechange: use enum class for DistributionType
2026-02-18 10:57:28 +00:00
Peter Nelson and GitHub
7c9f2c71f4
Codechange: remove GetAcceptanceAroundTiles always_accepted out parameter ( #15295 )
...
Return multiple values as std::pair instead of using pointers for out parameters.
2026-02-17 19:14:54 +00: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
1c68cc5f03
Codefix: unneeded templating of function
2026-02-01 15:50:17 +01:00
Jonathan G Rennison and rubidium42
f49924e749
Fix: Station view window fold/unfold not refreshing scrollbar
2026-01-29 19:14:17 +01:00
Rubidium and rubidium42
4adf494ebc
Codechange: enum-class-ify Commands
2026-01-28 23:32:51 +01:00
Cyprian Klimaszewski and rubidium42
97f3e5b70f
Codechange: Make TileType enum an enum class.
2026-01-24 08:34:05 +01:00
Rubidium and rubidium42
0500198bea
Codechange: some documentation for enumerations
2026-01-13 21:54:24 +01:00
Loïc Guilloux and GitHub
b36c78b2de
Fix #14958 , e96f35c: Don't use not yet initialised member ( #14959 )
2025-12-22 18:21:10 +00:00
Peter Nelson and GitHub
f1e831233a
Codefix: Mark destructors override. ( #14925 )
...
Remove some empty destructors.
2025-12-19 18:14:29 +00:00
Peter Nelson and GitHub
ebdc82ad54
Fix #14921 : Crash during station autorefit if station doesn't accept current cargo type. ( #14924 )
...
Add convenience helpers to correctly retrieve goods entry cargo available/totals.
Avoids having to check if cargo data is available before accessing it, which was missing for autorefit.
2025-12-15 18:06:43 +00:00
Cyprian Klimaszewski and GitHub
99f04f27de
Doc: Update information for receiving a copy of GPL. ( #14869 )
2025-12-07 11:25:08 +00:00
mmtunligit and GitHub
e96f35cda9
Codechange: Use SetDisplayedPlane instead of UpdateWidgetSize to hide various buttons ( #14831 )
2025-12-01 11:43:48 -05:00
Peter Nelson and GitHub
069833963c
Codechange: Replace drop down list's default bools with DropDownOptions. ( #14837 )
...
Improves maintainability and avoids positional ambiguity.
2025-11-29 16:17:44 +00:00
mmtunligit and GitHub
07177467b3
Feature: Signs, waypoint and station names may be moved ( #14744 )
2025-11-24 14:56:19 -05: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
Rubidium and rubidium42
7c0f69a8fe
Codefix: typos in comments and strings
2025-08-31 10:30:37 +02:00
Rubidium and rubidium42
da8422a656
Codefix: typos in string names
2025-08-31 10:30:37 +02:00
Loïc Guilloux and GitHub
fac55d0278
Fix #14506 , aac3a5b6: Restore prefilling of _stations_nearby_list ( #14551 )
2025-08-30 21:11:09 +02:00
Peter Nelson and GitHub
6eb5c166dc
Fix: Account for both text and icon size in station waiting cargo display. ( #14535 )
2025-08-25 15:15:10 +01:00
kojonek2 and rubidium42
aac3a5b683
Fix #12900 : Join station window will be shown for stations with existing stations in tile gaps
2025-08-02 20:37:02 +02:00
Peter Nelson and GitHub
8e2df7809b
Codechange: Add distinct type to hold pixel drawing colour. ( #14457 )
...
This is used for individual pixels as well as line drawing.
2025-07-20 22:57:55 +01: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
Peter Nelson and GitHub
2e78c24ba3
Codefix: Use bitset .None() or .Any() instead of comparing against an empty bitset. ( #14327 )
2025-06-04 07:31:44 +01: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
Peter Nelson and Peter Nelson
c50ee282f9
Codechange: EnumBitSet bits can be iterated directly.
2025-05-14 07:22:12 +01:00
Peter Nelson and GitHub
932dca927b
Fix: Crash/Undefined behaviour in station view window. ( #14183 )
...
No column limit was applied when drawing waiting cargo, which could cause out-of-bounds array access.
2025-05-02 08:02:35 +01:00
Rubidium and rubidium42
855377191e
Codechange: replace some more char*s with std::string_view
2025-04-30 23:49:06 +02:00
Peter Nelson and GitHub
d028c7f9e2
Codefix: Incorrect type for OnDropdownSelect widget parameter. ( #14074 )
2025-04-22 22:44:25 +01:00
frosch and frosch
b956af631e
Codechange: Replace CircularTileSearch with SpiralTileSequence.
2025-04-20 12:50:45 +02:00
Peter Nelson and GitHub
6ea10edef8
Codechange: Use std::unique_ptrs for handling station cargo display. ( #14009 )
...
Replaces manual management of raw pointers.
2025-04-16 19:43:45 +01:00
Peter Nelson and GitHub
b96b26ef15
Codechange: Rename short CargoType parameters cargo. ( #13848 )
...
Rename CargoType variables and parameters using short or meaningless names.
2025-03-24 18:18:21 +00:00
Peter Nelson and 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