Fixed exports
This commit is contained in:
parent
5ef0a00a6c
commit
2806b48afa
@ -70,7 +70,6 @@ $cfile "../Generating/ChunkDesc.h"
|
||||
$cfile "../CraftingRecipes.h"
|
||||
$cfile "../UI/Window.h"
|
||||
$cfile "../Mobs/Monster.h"
|
||||
$cfile "../WorldStorage/SchematicFileSerializer.h"
|
||||
|
||||
|
||||
|
||||
|
@ -2258,7 +2258,6 @@ static int tolua_cBlockArea_LoadFromSchematicFile(lua_State * tolua_S)
|
||||
}
|
||||
|
||||
AString Filename = tolua_tostring(tolua_S, 2, 0);
|
||||
LOGWARNING("cBlockArea::LoadFromSchematic file is depreciated. Please use cSchematicFileSerilizer::LoadFromSchematicFile.");
|
||||
bool res = cSchematicFileSerializer::LoadFromSchematicFile(*self,Filename);
|
||||
tolua_pushboolean(tolua_S, res);
|
||||
return 1;
|
||||
@ -2287,7 +2286,6 @@ static int tolua_cBlockArea_SaveToSchematicFile(lua_State * tolua_S)
|
||||
return 0;
|
||||
}
|
||||
AString Filename = tolua_tostring(tolua_S, 2, 0);
|
||||
LOGWARNING("cBlockArea::SaveToSchematic file is depreciated. Please use cSchematicFileSerializer::SaveToSchematicFile.");
|
||||
bool res = cSchematicFileSerializer::SaveToSchematicFile(*self,Filename);
|
||||
tolua_pushboolean(tolua_S, res);
|
||||
return 1;
|
||||
|
@ -13,7 +13,6 @@ class cParsedNBT;
|
||||
|
||||
|
||||
|
||||
// tolua_begin
|
||||
class cSchematicFileSerializer
|
||||
{
|
||||
public:
|
||||
@ -24,9 +23,7 @@ public:
|
||||
/// Saves the area into a .schematic file. Returns true if successful
|
||||
static bool SaveToSchematicFile(cBlockArea & a_BlockArea, const AString & a_FileName);
|
||||
|
||||
// tolua_end
|
||||
|
||||
private:
|
||||
/// Loads the area from a schematic file uncompressed and parsed into a NBT tree. Returns true if successful.
|
||||
static bool LoadFromSchematicNBT(cBlockArea & a_BlockArea, cParsedNBT & a_NBT);
|
||||
}; // tolua_export
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user