The Battle for Wesnoth  1.15.1+dev
Classes | Namespaces | Functions
lua_terrainfilter.hpp File Reference
#include <cstddef>
#include <string>
#include <memory>
#include <map>
#include <set>
#include "scripting/lua_common.hpp"
Include dependency graph for lua_terrainfilter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lua_mapgen::filter
 

Namespaces

 lua_mapgen
 
 lua_terrainfilter
 

Functions

std::string lua_mapgen::register_filter_metatables (lua_State *L)
 
bool luaW_is_mgfilter (lua_State *L, int index)
 
lua_mapgen::filterluaW_to_mgfilter (lua_State *L, int index)
 
lua_mapgen::filterluaW_check_mgfilter (lua_State *L, int index)
 
void lua_mgfilter_setmetatable (lua_State *L)
 
int intf_terainfilter_create (lua_State *L)
 Create a filter. More...
 
int intf_mg_get_locations (lua_State *L)
 
int intf_mg_get_tiles_radius (lua_State *L)
 
std::string lua_terrainfilter::register_metatables (lua_State *L)
 

Function Documentation

◆ intf_mg_get_locations()

int intf_mg_get_locations ( lua_State L)

◆ intf_mg_get_tiles_radius()

int intf_mg_get_tiles_radius ( lua_State L)

◆ intf_terainfilter_create()

int intf_terainfilter_create ( lua_State L)

◆ lua_mgfilter_setmetatable()

void lua_mgfilter_setmetatable ( lua_State L)

Definition at line 814 of file lua_terrainfilter.cpp.

References luaL_setmetatable(), and terrinfilterKey.

Referenced by luaW_push_mgfilter().

◆ luaW_check_mgfilter()

lua_mapgen::filter& luaW_check_mgfilter ( lua_State L,
int  index 
)

◆ luaW_is_mgfilter()

bool luaW_is_mgfilter ( lua_State L,
int  index 
)

◆ luaW_to_mgfilter()

lua_mapgen::filter* luaW_to_mgfilter ( lua_State L,
int  index 
)

Definition at line 797 of file lua_terrainfilter.cpp.

References lua_touserdata(), and luaW_is_mgfilter().