The Battle for Wesnoth  1.15.3+dev
Namespaces | Functions
lua_race.hpp File Reference
#include <string>
Include dependency graph for lua_race.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 This namespace contains bindings for lua to hold a pointer to a race, and to access and modify it.


std::string lua_race::register_metatable (lua_State *L)
void luaW_pushrace (lua_State *, const unit_race &)
void luaW_pushracetable (lua_State *)
const unit_raceluaW_checkrace (lua_State *, int)

Function Documentation

◆ luaW_checkrace()

const unit_race& luaW_checkrace ( lua_State ,

◆ luaW_pushrace()

void luaW_pushrace ( lua_State ,
const unit_race  

◆ luaW_pushracetable()

void luaW_pushracetable ( lua_State )