Minetest 5.10.0-dev
 
Loading...
Searching...
No Matches
scripting_emerge.h
Go to the documentation of this file.
1/*
2Minetest
3Copyright (C) 2022 sfan5 <sfan5@live.de>
4
5This program is free software; you can redistribute it and/or modify
6it under the terms of the GNU Lesser General Public License as published by
7the Free Software Foundation; either version 2.1 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU Lesser General Public License for more details.
14
15You should have received a copy of the GNU Lesser General Public License along
16with this program; if not, write to the Free Software Foundation, Inc.,
1751 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18*/
19
20#pragma once
21#include "cpp_api/s_base.h"
22#include "cpp_api/s_mapgen.h"
23#include "cpp_api/s_security.h"
24
25class EmergeThread;
26
28 virtual public ScriptApiBase,
29 public ScriptApiMapgen,
31{
32public:
34
35private:
36 void InitializeModApi(lua_State *L, int top);
37};
Definition scripting_emerge.h:31
void InitializeModApi(lua_State *L, int top)
Definition scripting_emerge.cpp:71
EmergeScripting(EmergeThread *parent)
Definition scripting_emerge.cpp:43
Definition emerge_internal.h:40
Definition s_base.h:79
Definition s_mapgen.h:32
Definition s_security.h:41