Commit Graph
1321 Commits
Author SHA1 Message Date
Peter NelsonandPeter Nelson 10379441bc Codechange: use enum class for DistributionType 2026-02-18 10:57:28 +00:00
Peter NelsonandGitHub 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
Peter NelsonandPeter Nelson d09b91cd92 Codechange: use enum class for CompanyCtrlAction 2026-02-16 20:08:05 +00:00
Peter NelsonandPeter Nelson a5d028e892 Codechange: use enum class for CompanyRemoveReason 2026-02-16 20:08:05 +00:00
Rubidiumandrubidium42 269633f77b Codechange: document network (adjacent) parameters/return types 2026-02-16 16:34:06 +01:00
Rubidiumandrubidium42 4ba0208437 Codechange: document some script functions 2026-02-08 18:27:26 +01:00
Rubidiumandrubidium42 7adf44e474 Codechange: document some virtual functions 2026-02-08 17:43:18 +01:00
Rubidiumandrubidium42 4d4e37dbf1 Codechange: document some virtual functions 2026-02-06 21:38:49 +01:00
Cyprian KlimaszewskiandGitHub 59d9619fc1 Fix 800ade7: [GS] Docs are missing or do not match the code. (#15230) 2026-02-06 09:48:53 +00:00
Rubidiumandrubidium42 3d844d3f1d Codefix: override already implies virtual, so don't add virtual 2026-02-04 00:26:51 +01:00
Peter NelsonandGitHub 10f9f13c64 Codechange: use enum class for TreeGround (#15222) 2026-02-03 08:59:56 +00:00
Peter NelsonandPeter 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
Rubidiumandrubidium42 c6c06e13eb Codefix: wrong parameter names and partially missing parameters 2026-02-02 16:31:46 +01:00
Rubidiumandrubidium42 58f3255f01 Codefix: remove deprecated Doxygen configuration entries 2026-02-01 19:13:21 +01:00
Rubidiumandrubidium42 67fac86149 Codefix: remove @param documentation for parameters that don't exist anymore 2026-02-01 15:49:41 +01:00
Rubidiumandrubidium42 4adf494ebc Codechange: enum-class-ify Commands 2026-01-28 23:32:51 +01:00
Peter NelsonandGitHub 24a4f3b1a6 Fix e0c2ad1: [Script] Give GetPrimary/SecondaryLiveryColour preconditions (#15169)
These calls ignored existing API conventions and did not document them.
2026-01-26 18:45:22 +00:00
Cyprian Klimaszewskiandrubidium42 97f3e5b70f Codechange: Make TileType enum an enum class. 2026-01-24 08:34:05 +01:00
Cyprian Klimaszewskiandrubidium42 639cf2aa76 Codefix 9e9b513: Line numbers do not hide in WARN_LINE_FORMAT. 2026-01-22 23:43:25 +01:00
Peter NelsonandGitHub 4be378bc08 Fix: [Script] Map some error strings to existing errors. (#15113) 2026-01-20 00:04:21 +00:00
Cyprian Klimaszewskiandrubidium42 322ce224b4 Codechange: Make Price an enum class. 2026-01-14 22:07:02 +01:00
Cyprian Klimaszewskiandrubidium42 54b0fcf6dc Doc: Add @file annotation to generated squirrel files. 2026-01-14 22:04:31 +01:00
Rubidiumandrubidium42 0500198bea Codechange: some documentation for enumerations 2026-01-13 21:54:24 +01:00
Cyprian Klimaszewskiandrubidium42 e0be9f09f9 Change: Warn about undocumented enum members. 2026-01-11 14:39:44 +01:00
Cyprian KlimaszewskiandGitHub 9e9b51369e Cmake options to customise doxygen warnings. (#15071)
* Add: Cmake otion to hide line numbers in doxygen warnings.
* Add: Cmake options to specify output file for doxygen warnings.

Adds 3 options each one for each docs target, because doxygen deletes
content of the specified file before it begins to write into it.
2026-01-11 09:58:20 +00:00
SamuXarickandGitHub bee3bc0ce5 Fix: [Script] Retarget iterators on list swap (#14805)
Fix script list sorter to correctly retarget iterator when swapping lists.
Each sorter implementation now updates its internal iterator to remain valid after attaching to a new list, avoiding undefined behaviour.
2026-01-08 22:06:57 +00:00
Rubidiumandrubidium42 1464d5fd06 Codechange: [Script] Simplify constructors and add constness 2026-01-03 07:51:57 +01:00
Rubidiumandrubidium42 091035b533 Codechange: [Script] Move identical code from sub class to super class 2026-01-03 07:51:57 +01:00
Loïc GuillouxandGitHub 7d32bf24d5 Codefix: some incorrect doxygen comments (#15019) 2026-01-02 21:53:34 +00:00
Loïc GuillouxandGitHub 0019f3831e Codechange: [Script] Reuse memory when changing values of ScriptList items (#14966) 2025-12-24 17:26:46 +00:00
Peter NelsonandPeter Nelson 98b0197d53 Change: [Script] Include Array contents in script memory allocation total 2025-12-23 20:52:24 +00:00
Peter NelsonandPeter Nelson e8424c0ae2 Change: [Script] Include PriorityQueue contents in script memory allocation total 2025-12-23 20:52:24 +00:00
Peter NelsonandPeter Nelson 13ec1816dc Change: [Script] Include ScriptList contents in script memory allocation total 2025-12-23 20:52:24 +00:00
Peter NelsonandPeter Nelson d7942c3fd0 Codechange: [Script] Add allocator that uses script memory allocation accounting 2025-12-23 20:52:24 +00:00
Jonathan G RennisonandPeter Nelson 33c967a558 Codechange: [Script] Add helpers for script memory allocation accounting 2025-12-23 20:52:24 +00:00
Loïc GuillouxandGitHub b881d8ef5c Fix 9a47f53: Incorrect filter for ScriptList::KeepBetweenValue (#14957) 2025-12-22 14:09:50 +00:00
glx22andLoïc Guilloux ec5e7ed5e0 Change: [Script] ScripTiletList::[Add|Remove]Rectangle are now suspendable 2025-12-21 00:37:01 +01:00
glx22andLoïc Guilloux 36ccc5e005 Change: [Script] ScriptList::AddList is now suspendable 2025-12-21 00:37:01 +01:00
glx22andLoïc Guilloux d15dd3a036 Change: [Script] ScriptList::[Remove|Keep][Top|Bottom] are now suspendable 2025-12-21 00:37:01 +01:00
glx22andLoïc Guilloux ee789a1197 Change: [Script] ScriptList::[Remove|Keep][XXXValue|List] are now suspendable 2025-12-21 00:37:01 +01:00
Loïc GuillouxandGitHub fd7f6fcf91 Codechange: [Script] Specify underlying type for ScriptList::SorterType (#14942) 2025-12-20 17:01:39 +01:00
Rubidiumandrubidium42 67d9daed47 Codechange: [Script] Make member functions that do not change state const 2025-12-20 16:36:35 +01:00
Peter NelsonandGitHub f1e831233a Codefix: Mark destructors override. (#14925)
Remove some empty destructors.
2025-12-19 18:14:29 +00:00
Loïc GuillouxandGitHub ca1c0007b6 Codechange: [Script] Replace map of sets with set of pairs for per value storage (#14930) 2025-12-18 22:34:47 +01:00
Loïc GuillouxandGitHub 9a47f53db0 Codechange: [Script] Reduce code duplication in ScriptList filtering (#14931) 2025-12-17 15:35:53 +01:00
Rito12andrubidium42 859b56a066 Doc: Correct file descriptions to match coding style and doxygen. 2025-12-15 17:31:00 +01:00
glx22andLoïc Guilloux 392f743bcd Change: [Script] ScriptList::Valuate is now suspendable 2025-12-11 23:30:27 +01:00
glx22andLoïc Guilloux 81b4075095 Add: [Script] Framework to make selected native calls suspendable 2025-12-11 23:30:27 +01:00
KuhnovicandGitHub 8e35553208 Feature: Configurable sign text colors in scenario editor. (#14743) 2025-12-08 17:52:19 +01:00