Codechange: document parameters and return types

This commit is contained in:
Rubidium
2026-02-17 21:04:37 +01:00
committed by rubidium42
parent 7c9f2c71f4
commit 23dcc9dd07
9 changed files with 200 additions and 53 deletions
+4 -1
View File
@@ -416,7 +416,10 @@ static WindowDesc _build_object_desc(
&BuildObjectWindow::hotkeys
);
/** Show our object picker. */
/**
* Show our object picker.
* @return The allocated window or \c nullptr when no window was allocated.
*/
Window *ShowBuildObjectPicker()
{
/* Don't show the place object button when there are no objects to place. */