Peter Nelson and GitHub
fa02d7aecb
Codechange: make LinkType a scoped enum ( #15683 )
2026-06-06 21:54:37 +01:00
Peter Nelson and Peter Nelson
231d946624
Codechange: make SignalType a scoped enum
2026-06-06 18:52:10 +01:00
Peter Nelson and Peter Nelson
e97e182630
Codechange: make SignalVariant a scoped enum
2026-06-06 18:52:10 +01:00
Peter Nelson and GitHub
a85d10bf7c
Codechange: use IsValidTrack to test for valid track in more places ( #15677 )
2026-06-06 11:33:46 +01:00
Peter Nelson and Peter Nelson
a51dd8e053
Codechange: make StoryPageButtonCursor a scoped enum
2026-06-01 22:08:46 +01:00
Peter Nelson and Peter Nelson
06af27d52e
Codechange: make StoryPageElementType a scoped enum
2026-06-01 22:08:46 +01:00
Peter Nelson and Peter Nelson
f9dfbd59a3
Codechange: make StoryPageButtonFlag(s) a scoped enum/EnumBitSet
2026-06-01 22:08:46 +01:00
Peter Nelson and GitHub
28cd6a3d33
Codechange: make TrackStatus a struct instead of opaque uint32_t ( #15653 )
2026-05-31 18:09:26 +01:00
Peter Nelson and Peter Nelson
f010c21f1a
Codechange: make DiagDirection a scoped enum
2026-05-31 13:11:53 +01:00
Peter Nelson and Peter Nelson
c74431e734
Codechange: make Axis a scoped enum
2026-05-27 07:49:39 +01:00
Cyprian Klimaszewski and GitHub
d490243c7f
Codechange: Use ExtractCommandCost instead of std::get<0>. ( #15542 )
2026-05-26 20:00:29 +01:00
Rubidium and rubidium42
bcda4a72ee
Codechange: make WindowClass a scoped enum
2026-05-20 21:39:04 +02:00
Rubidium and rubidium42
54d8c3f8e3
Codechange: split WindowNumberEnum into several scoped enumerations
2026-05-19 16:14:40 +02:00
Peter Nelson and Peter Nelson
2868060660
Codechange: make LiveryScheme a scoped enum
2026-05-18 20:05:19 +01:00
Rubidium and rubidium42
c59d64c132
Codechange: separate TextColour enumeration and flags
2026-05-18 08:37:42 +02:00
verbosecodes and GitHub
8875e12956
Fix #15235 : Make GameScripts obey town road construction setting ( #15559 )
2026-05-04 22:59:47 +01:00
Peter Nelson and GitHub
792f6d99a3
Codechange: make ExpensesType a scoped enum ( #15572 )
2026-05-04 08:20:52 +01:00
Peter Nelson and Peter Nelson
77be3fc12d
Codechange: make IndustryAvailabilityCallType a scoped enum
2026-04-30 22:40:20 +01:00
Peter Nelson and GitHub
a4d142eddb
Codechange: prefer bit set methods over operators ( #15537 )
...
Missing conversion of some RoadBits calls.
2026-04-27 07:08:33 +01:00
Peter Nelson and Peter Nelson
77403627a8
Codechange: make VehicleType a scoped enum
2026-04-26 07:00:13 +01: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
Peter Nelson and GitHub
16b192d61f
Fix #15511 : vehicle passed to commands must be a company buildable type ( #15512 )
2026-04-19 17:03:39 +01:00
Loïc Guilloux and GitHub
b7c51a9332
Fix #15497 : [Script] ScriptController::Break not pausing in TestMode ( #15498 )
2026-04-17 16:36:16 +02:00
Peter Nelson and GitHub
d15f105974
Add: conditional order to test if a train is driving backwards ( #15484 )
2026-04-16 21:00:49 +01:00
Tyler Trahan
2b530751dd
Feature: Trains with an engine on the rear drive backwards when reversing
2026-04-13 21:52:22 -04:00
Peter Nelson and GitHub
73dafe5021
Codechange: use EnumBitSet for DisallowedRoadDirections ( #15479 )
2026-04-13 22:48:44 +01:00
Peter Nelson and GitHub
b33b0d92a0
Codechange: make RoadBits an EnumBitSet ( #15476 )
2026-04-13 21:23:17 +01:00
Peter Nelson and GitHub
a5a60c8615
Codechange: make RoadTramType a scoped enum, and use EnumBitSet ( #15477 )
2026-04-13 18:15:41 +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 GitHub
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
Abigail and rubidium42
4355855b85
Change: Make ScriptTile::IsBuildableRectangle use a TileArea for iteration
2026-04-04 16:15:40 +02:00
Abigail and rubidium42
34f5f1eaea
Fix #15318 : Nonsensical error message when trying to send aircraft to hangar with no usable airports
2026-04-04 16:15:24 +02:00
metablaster and GitHub
3c9a75a387
Fix: [Script] IsBuildableRectangle for a 0x0 tile should return false ( #15357 )
2026-04-03 19:38:24 +01:00
Tyler Trahan and GitHub
fc3b81a313
Codechange: Rename "non-stop" and "go via" order flags for clarity ( #15398 )
2026-03-24 08:52:50 -04:00
SamuXarick and GitHub
11d5558c60
Doc: [Script] Update ScriptCargo::GetCargoIncome ( #15271 )
...
Update API docs to clarify distance is Manhattan tiles, rename days_in_transit unit to economy-days, update its max from 637 to 163838, and add a reference to ScriptEconomyTime.
2026-03-23 08:38:50 -04:00
Rubidium and rubidium42
52b25b981f
Codechange: add documentation to the virtual destructors
2026-02-24 16:24:53 +01:00
Cyprian Klimaszewski and rubidium42
7a6b7fb1f0
Codechange: Allow to document multiple members with one comment using doxygen groups.
2026-02-21 15:05:13 +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
269633f77b
Codechange: document network (adjacent) parameters/return types
2026-02-16 16:34:06 +01:00
Rubidium and rubidium42
4d4e37dbf1
Codechange: document some virtual functions
2026-02-06 21:38:49 +01:00
Cyprian Klimaszewski and GitHub
59d9619fc1
Fix 800ade7: [GS] Docs are missing or do not match the code. ( #15230 )
2026-02-06 09:48:53 +00:00
Rubidium and rubidium42
3d844d3f1d
Codefix: override already implies virtual, so don't add virtual
2026-02-04 00:26:51 +01:00
Peter Nelson and GitHub
10f9f13c64
Codechange: use enum class for TreeGround ( #15222 )
2026-02-03 08:59:56 +00:00
Peter Nelson and Peter Nelson
5c2a37d03e
Codechange: use enum class for ClearGround
2026-02-02 18:49:20 +00:00
Richard Wheeler
17cab9b29d
Change: Protect rivers from removal when terraforming
2026-02-02 18:22:44 +00:00
Rubidium and rubidium42
58f3255f01
Codefix: remove deprecated Doxygen configuration entries
2026-02-01 19:13:21 +01:00