From c597027e6a15f7e4ee959a5985e922d07904e0f8 Mon Sep 17 00:00:00 2001 From: grorp Date: Thu, 16 Jan 2025 16:50:14 -0500 Subject: [PATCH] Two header comments --- src/client/game_formspec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/game_formspec.h b/src/client/game_formspec.h index 5dd837803a4a7..5d570ffb9e48f 100644 --- a/src/client/game_formspec.h +++ b/src/client/game_formspec.h @@ -30,10 +30,13 @@ struct GameFormSpec void showFormSpec(const std::string &formspec, const std::string &formname); void showCSMFormSpec(const std::string &formspec, const std::string &formname); + // Used by the Lua pause menu environment to show formspecs. + // Currently used for the in-game settings menu. void showPauseMenuFormSpec(const std::string &formspec, const std::string &formname); void showNodeFormspec(const std::string &formspec, const v3s16 &nodepos); void showPlayerInventory(); void showDeathFormspecLegacy(); + // Shows the hardcoded "main" pause menu. void showPauseMenu(); void update();