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
Peter Nelson and Peter Nelson
d09b91cd92
Codechange: use enum class for CompanyCtrlAction
2026-02-16 20:08:05 +00:00
Peter Nelson and Peter Nelson
a5d028e892
Codechange: use enum class for CompanyRemoveReason
2026-02-16 20:08:05 +00:00
Rubidium and rubidium42
269633f77b
Codechange: document network (adjacent) parameters/return types
2026-02-16 16:34:06 +01:00
Rubidium and rubidium42
4ba0208437
Codechange: document some script functions
2026-02-08 18:27:26 +01:00
Rubidium and rubidium42
7adf44e474
Codechange: document some virtual functions
2026-02-08 17:43:18 +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
c6c06e13eb
Codefix: wrong parameter names and partially missing parameters
2026-02-02 16:31:46 +01:00
Rubidium and rubidium42
58f3255f01
Codefix: remove deprecated Doxygen configuration entries
2026-02-01 19:13:21 +01:00
Rubidium and rubidium42
67fac86149
Codefix: remove @param documentation for parameters that don't exist anymore
2026-02-01 15:49:41 +01:00
Rubidium and rubidium42
4adf494ebc
Codechange: enum-class-ify Commands
2026-01-28 23:32:51 +01:00
Peter Nelson and GitHub
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 Klimaszewski and rubidium42
97f3e5b70f
Codechange: Make TileType enum an enum class.
2026-01-24 08:34:05 +01:00
Cyprian Klimaszewski and rubidium42
639cf2aa76
Codefix 9e9b513: Line numbers do not hide in WARN_LINE_FORMAT.
2026-01-22 23:43:25 +01:00
Peter Nelson and GitHub
4be378bc08
Fix: [Script] Map some error strings to existing errors. ( #15113 )
2026-01-20 00:04:21 +00:00
Cyprian Klimaszewski and rubidium42
322ce224b4
Codechange: Make Price an enum class.
2026-01-14 22:07:02 +01:00
Cyprian Klimaszewski and rubidium42
54b0fcf6dc
Doc: Add @file annotation to generated squirrel files.
2026-01-14 22:04:31 +01:00
Rubidium and rubidium42
0500198bea
Codechange: some documentation for enumerations
2026-01-13 21:54:24 +01:00
Cyprian Klimaszewski and rubidium42
e0be9f09f9
Change: Warn about undocumented enum members.
2026-01-11 14:39:44 +01:00
Cyprian Klimaszewski and GitHub
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
SamuXarick and GitHub
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
Rubidium and rubidium42
1464d5fd06
Codechange: [Script] Simplify constructors and add constness
2026-01-03 07:51:57 +01:00
Rubidium and rubidium42
091035b533
Codechange: [Script] Move identical code from sub class to super class
2026-01-03 07:51:57 +01:00
Loïc Guilloux and GitHub
7d32bf24d5
Codefix: some incorrect doxygen comments ( #15019 )
2026-01-02 21:53:34 +00:00
Loïc Guilloux and GitHub
0019f3831e
Codechange: [Script] Reuse memory when changing values of ScriptList items ( #14966 )
2025-12-24 17:26:46 +00:00
Peter Nelson and Peter Nelson
98b0197d53
Change: [Script] Include Array contents in script memory allocation total
2025-12-23 20:52:24 +00:00
Peter Nelson and Peter Nelson
e8424c0ae2
Change: [Script] Include PriorityQueue contents in script memory allocation total
2025-12-23 20:52:24 +00:00
Peter Nelson and Peter Nelson
13ec1816dc
Change: [Script] Include ScriptList contents in script memory allocation total
2025-12-23 20:52:24 +00:00
Peter Nelson and Peter Nelson
d7942c3fd0
Codechange: [Script] Add allocator that uses script memory allocation accounting
2025-12-23 20:52:24 +00:00
Jonathan G Rennison and Peter Nelson
33c967a558
Codechange: [Script] Add helpers for script memory allocation accounting
2025-12-23 20:52:24 +00:00
Loïc Guilloux and GitHub
b881d8ef5c
Fix 9a47f53: Incorrect filter for ScriptList::KeepBetweenValue ( #14957 )
2025-12-22 14:09:50 +00:00
glx22 and Loïc Guilloux
ec5e7ed5e0
Change: [Script] ScripTiletList::[Add|Remove]Rectangle are now suspendable
2025-12-21 00:37:01 +01:00
glx22 and Loïc Guilloux
36ccc5e005
Change: [Script] ScriptList::AddList is now suspendable
2025-12-21 00:37:01 +01:00
glx22 and Loïc Guilloux
d15dd3a036
Change: [Script] ScriptList::[Remove|Keep][Top|Bottom] are now suspendable
2025-12-21 00:37:01 +01:00
glx22 and Loïc Guilloux
ee789a1197
Change: [Script] ScriptList::[Remove|Keep][XXXValue|List] are now suspendable
2025-12-21 00:37:01 +01:00
Loïc Guilloux and GitHub
fd7f6fcf91
Codechange: [Script] Specify underlying type for ScriptList::SorterType ( #14942 )
2025-12-20 17:01:39 +01:00
Rubidium and rubidium42
67d9daed47
Codechange: [Script] Make member functions that do not change state const
2025-12-20 16:36:35 +01:00
Peter Nelson and GitHub
f1e831233a
Codefix: Mark destructors override. ( #14925 )
...
Remove some empty destructors.
2025-12-19 18:14:29 +00:00
Loïc Guilloux and GitHub
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 Guilloux and GitHub
9a47f53db0
Codechange: [Script] Reduce code duplication in ScriptList filtering ( #14931 )
2025-12-17 15:35:53 +01:00
Rito12 and rubidium42
859b56a066
Doc: Correct file descriptions to match coding style and doxygen.
2025-12-15 17:31:00 +01:00
glx22 and Loïc Guilloux
392f743bcd
Change: [Script] ScriptList::Valuate is now suspendable
2025-12-11 23:30:27 +01:00
glx22 and Loïc Guilloux
81b4075095
Add: [Script] Framework to make selected native calls suspendable
2025-12-11 23:30:27 +01:00
Kuhnovic and GitHub
8e35553208
Feature: Configurable sign text colors in scenario editor. ( #14743 )
2025-12-08 17:52:19 +01:00