The Battle for Wesnoth  1.15.0+dev
Classes | Functions | Variables
lua_formula_bridge.cpp File Reference
#include "scripting/lua_formula_bridge.hpp"
#include "boost/variant/static_visitor.hpp"
#include "game_board.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "scripting/lua_unit.hpp"
#include "scripting/lua_common.hpp"
#include "lua/lauxlib.h"
#include "lua/lua.h"
#include "formula/callable_objects.hpp"
#include "formula/formula.hpp"
#include "variable.hpp"
#include "resources.hpp"
#include "units/map.hpp"
#include "units/unit.hpp"
Include dependency graph for lua_formula_bridge.cpp:

Go to the source code of this file.

Classes

class  lua_callable
 

Functions

void luaW_pushfaivariant (lua_State *L, variant val)
 
variant luaW_tofaivariant (lua_State *L, int i)
 
static int impl_formula_collect (lua_State *L)
 
static int impl_formula_tostring (lua_State *L)
 

Variables

static const char formulaKey [] = "formula"
 

Function Documentation

◆ impl_formula_collect()

static int impl_formula_collect ( lua_State L)
static

Definition at line 268 of file lua_formula_bridge.cpp.

References lua_touserdata().

Referenced by lua_formula_bridge::register_metatables().

◆ impl_formula_tostring()

static int impl_formula_tostring ( lua_State L)
static

◆ luaW_pushfaivariant()

void luaW_pushfaivariant ( lua_State L,
variant  val 
)

◆ luaW_tofaivariant()

variant luaW_tofaivariant ( lua_State L,
int  i 
)

Variable Documentation

◆ formulaKey

const char formulaKey[] = "formula"
static