mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
This commit is contained in:
parent
6228d634fb
commit
4e1f50035e
153 changed files with 3725 additions and 3625 deletions
|
@ -20,19 +20,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#ifndef L_VMANIP_H_
|
||||
#define L_VMANIP_H_
|
||||
|
||||
extern "C" {
|
||||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
}
|
||||
|
||||
#include "lua_api/l_base.h"
|
||||
#include "irr_v3d.h"
|
||||
#include "map.h"
|
||||
#include <map>
|
||||
|
||||
class Map;
|
||||
class MapBlock;
|
||||
class ManualMapVoxelManipulator;
|
||||
|
||||
/*
|
||||
VoxelManip
|
||||
*/
|
||||
class LuaVoxelManip
|
||||
{
|
||||
class LuaVoxelManip : public ModApiBase {
|
||||
private:
|
||||
ManualMapVoxelManipulator *vm;
|
||||
std::map<v3s16, MapBlock *> modified_blocks;
|
||||
|
@ -67,4 +66,4 @@ public:
|
|||
static void Register(lua_State *L);
|
||||
};
|
||||
|
||||
#endif // L_VMANIP_H_
|
||||
#endif /* L_VMANIP_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue