summaryrefslogtreecommitdiff
path: root/src/script/common/c_content.h
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2022-05-07 16:45:17 +0100
committerrubenwardy <rw@rubenwardy.com>2022-07-14 22:12:54 +0100
commit9f41b4f72d45b0ad1f9de2dfc28e426a2d05f137 (patch)
tree677a2009671dead812879bee5f9e154670e98e2f /src/script/common/c_content.h
parent06de82fd86678e0a1c260c67792c5cd192863edd (diff)
downloadminetest-9f41b4f72d45b0ad1f9de2dfc28e426a2d05f137.tar.gz
minetest-9f41b4f72d45b0ad1f9de2dfc28e426a2d05f137.tar.bz2
minetest-9f41b4f72d45b0ad1f9de2dfc28e426a2d05f137.zip
Add check_mod_configuration to main menu
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r--src/script/common/c_content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h
index 06f80328a..ade3e4c1e 100644
--- a/src/script/common/c_content.h
+++ b/src/script/common/c_content.h
@@ -42,6 +42,7 @@ extern "C" {
// We do a explicit path include because by default c_content.h include src/client/hud.h
// prior to the src/hud.h, which is not good on server only build
#include "../../hud.h"
+#include "content/mods.h"
namespace Json { class Value; }
@@ -204,3 +205,5 @@ void push_hud_element (lua_State *L, HudElement *elem);
bool read_hud_change (lua_State *L, HudElementStat &stat, HudElement *elem, void **value);
void push_collision_move_result(lua_State *L, const collisionMoveResult &res);
+
+void push_mod_spec(lua_State *L, const ModSpec &spec, bool include_unsatisfied);