Commit Graph
1372 Commits
Author SHA1 Message Date
Peter NelsonandGitHub fa02d7aecb Codechange: make LinkType a scoped enum (#15683) 2026-06-06 21:54:37 +01:00
Peter NelsonandPeter Nelson 231d946624 Codechange: make SignalType a scoped enum 2026-06-06 18:52:10 +01:00
Peter NelsonandPeter Nelson e97e182630 Codechange: make SignalVariant a scoped enum 2026-06-06 18:52:10 +01:00
Peter NelsonandGitHub a85d10bf7c Codechange: use IsValidTrack to test for valid track in more places (#15677) 2026-06-06 11:33:46 +01:00
Peter NelsonandPeter Nelson a51dd8e053 Codechange: make StoryPageButtonCursor a scoped enum 2026-06-01 22:08:46 +01:00
Peter NelsonandPeter Nelson 06af27d52e Codechange: make StoryPageElementType a scoped enum 2026-06-01 22:08:46 +01:00
Peter NelsonandPeter Nelson f9dfbd59a3 Codechange: make StoryPageButtonFlag(s) a scoped enum/EnumBitSet 2026-06-01 22:08:46 +01:00
Peter NelsonandGitHub 28cd6a3d33 Codechange: make TrackStatus a struct instead of opaque uint32_t (#15653) 2026-05-31 18:09:26 +01:00
Peter NelsonandPeter Nelson f010c21f1a Codechange: make DiagDirection a scoped enum 2026-05-31 13:11:53 +01:00
Rubidiumandrubidium42 2ff631caa2 Codechange: make GameMode a scoped enum 2026-05-30 23:20:20 +02:00
Peter NelsonandPeter Nelson c74431e734 Codechange: make Axis a scoped enum 2026-05-27 07:49:39 +01:00
Cyprian KlimaszewskiandGitHub d490243c7f Codechange: Use ExtractCommandCost instead of std::get<0>. (#15542) 2026-05-26 20:00:29 +01:00
Peter NelsonandGitHub fce33c5015 Codechange: make WarningLevel a scoped enum (#15622) 2026-05-26 17:12:21 +01:00
Rubidiumandrubidium42 bcda4a72ee Codechange: make WindowClass a scoped enum 2026-05-20 21:39:04 +02:00
Rubidiumandrubidium42 54d8c3f8e3 Codechange: split WindowNumberEnum into several scoped enumerations 2026-05-19 16:14:40 +02:00
Rubidiumandrubidium42 98c9297134 Add: scoped enum support for scripts 2026-05-19 16:14:40 +02:00
Peter NelsonandPeter Nelson 2868060660 Codechange: make LiveryScheme a scoped enum 2026-05-18 20:05:19 +01:00
Rubidiumandrubidium42 c59d64c132 Codechange: separate TextColour enumeration and flags 2026-05-18 08:37:42 +02:00
verbosecodesandGitHub 8875e12956 Fix #15235: Make GameScripts obey town road construction setting (#15559) 2026-05-04 22:59:47 +01:00
Peter NelsonandGitHub 792f6d99a3 Codechange: make ExpensesType a scoped enum (#15572) 2026-05-04 08:20:52 +01:00
Peter NelsonandPeter Nelson 77be3fc12d Codechange: make IndustryAvailabilityCallType a scoped enum 2026-04-30 22:40:20 +01:00
Jonathan G Rennisonandrubidium42 bbe5dbf230 Cleanup: Correct various spelling errors 2026-04-27 21:05:08 +02:00
Peter NelsonandGitHub a4d142eddb Codechange: prefer bit set methods over operators (#15537)
Missing conversion of some RoadBits calls.
2026-04-27 07:08:33 +01:00
Peter NelsonandPeter Nelson 77403627a8 Codechange: make VehicleType a scoped enum 2026-04-26 07:00:13 +01:00
Rubidiumandrubidium42 99c8a637b4 Codechange: make WindowPosition a scoped enum 2026-04-25 17:15:18 +02:00
Peter NelsonandPeter Nelson c45aa3c9b6 Codechange: use EnumBitSet for CargoTypes 2026-04-21 17:13:31 +01:00
Rubidiumandrubidium42 3b5d46e0bb Codechange: make Colours a scoped enum 2026-04-19 20:53:52 +02:00
Peter NelsonandGitHub 2bf84ea78c Codechange: make GrfSpecFeature a scoped enum (#15487) 2026-04-19 19:04:27 +01:00
Peter NelsonandGitHub 16b192d61f Fix #15511: vehicle passed to commands must be a company buildable type (#15512) 2026-04-19 17:03:39 +01:00
Loïc GuillouxandGitHub b7c51a9332 Fix #15497: [Script] ScriptController::Break not pausing in TestMode (#15498) 2026-04-17 16:36:16 +02:00
Peter NelsonandGitHub 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 NelsonandGitHub 73dafe5021 Codechange: use EnumBitSet for DisallowedRoadDirections (#15479) 2026-04-13 22:48:44 +01:00
Peter NelsonandGitHub b33b0d92a0 Codechange: make RoadBits an EnumBitSet (#15476) 2026-04-13 21:23:17 +01:00
Peter NelsonandGitHub a5a60c8615 Codechange: make RoadTramType a scoped enum, and use EnumBitSet (#15477) 2026-04-13 18:15:41 +01:00
Rubidiumandrubidium42 7434052eb6 Codechange: make FontSize a scoped enum 2026-04-12 18:10:34 +02:00
Peter NelsonandPeter Nelson 7c6da0ae6d Codechange: make TownAcceptanceEffect a scoped enum 2026-04-12 14:46:54 +01:00
Peter NelsonandGitHub 4db1672611 Codechange: make TropicZone a scoped enum (#15442) 2026-04-07 08:33:16 +01:00
Peter NelsonandGitHub 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 NelsonandPeter Nelson 5aae8e2d64 Codechange: make Subdirectory a scoped enum 2026-04-05 21:46:07 +01:00
Abigailandrubidium42 4355855b85 Change: Make ScriptTile::IsBuildableRectangle use a TileArea for iteration 2026-04-04 16:15:40 +02:00
Abigailandrubidium42 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
metablasterandGitHub 3c9a75a387 Fix: [Script] IsBuildableRectangle for a 0x0 tile should return false (#15357) 2026-04-03 19:38:24 +01:00
Tyler TrahanandGitHub fc3b81a313 Codechange: Rename "non-stop" and "go via" order flags for clarity (#15398) 2026-03-24 08:52:50 -04:00
SamuXarickandGitHub 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
Peter NelsonandGitHub 37118b93c7 Codechange: use scoped enum for ScriptSettingSource (#15377) 2026-03-08 14:00:23 +00:00
Rubidiumandrubidium42 6370859c7e Codechange: add missing documentation to destructors 2026-02-24 16:24:53 +01:00
Rubidiumandrubidium42 52b25b981f Codechange: add documentation to the virtual destructors 2026-02-24 16:24:53 +01:00
Cyprian Klimaszewskiandrubidium42 7a6b7fb1f0 Codechange: Allow to document multiple members with one comment using doxygen groups. 2026-02-21 15:05:13 +01:00
Rubidiumandrubidium42 e0d2843fd7 Codechange: add parameter and return documentation the Squirrel wrappers 2026-02-21 15:03:20 +01:00