Home
last modified time | relevance | path

Searched refs:luabind (Results 1 – 25 of 548) sorted by relevance

12345678910>>...22

/dports/games/valyriatear/ValyriaTear-1.1.0/src/common/
H A Dcommon_bindings.cpp51 luabind::class_<vt_utils::ustring>("ustring") in BindCommonCode()
52 .def(luabind::constructor<uint16_t *>()) in BindCommonCode()
53 .def(luabind::constructor<>()) in BindCommonCode()
71 luabind::class_<Dialogue>("Dialogue") in BindCommonCode()
81 luabind::def("Create", &Dialogue::Create) in BindCommonCode()
109 luabind::class_<GameGlobal>("GameGlobal") in BindCommonCode()
213 luabind::class_<GlobalParty>("GlobalParty") in BindCommonCode()
236 luabind::class_<GlobalActor>("GlobalActor") in BindCommonCode()
373 luabind::class_<GameEvents>("GameEvents") in BindCommonCode()
381 luabind::class_<GameQuests>("GameQuests") in BindCommonCode()
[all …]
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/
H A Dmode_bindings.cpp70 .def(luabind::constructor<>()) in BindModeCode()
180 luabind::value("EAST", EAST), in BindModeCode()
181 luabind::value("WEST", WEST), in BindModeCode()
198 luabind::value("SLOW_SPEED", in BindModeCode()
200 luabind::value("NORMAL_SPEED", in BindModeCode()
202 luabind::value("ENEMY_SPEED", in BindModeCode()
204 luabind::value("FAST_SPEED", in BindModeCode()
735 luabind::def("RndMagicalDamage", in BindModeCode()
738 luabind::def("RndMagicalDamage", in BindModeCode()
752 .def(luabind::constructor<>()) in BindModeCode()
[all …]
/dports/games/valyriatear/ValyriaTear-1.1.0/src/engine/
H A Dengine_bindings.cpp49 luabind::class_<AudioEngine>("GameAudio") in BindEngineCode()
71 luabind::class_<InputEngine>("GameInput") in BindEngineCode()
131 .def(luabind::constructor<>()) in BindEngineCode()
160 luabind::class_<GameMode>("GameMode") in BindEngineCode()
200 luabind::class_<ScriptEngine>("GameScript") in BindEngineCode()
224 luabind::def("NVTranslate", (std::string(*) in BindEngineCode()
237 .def(luabind::constructor<>()) in BindEngineCode()
286 luabind::class_<Color>("Color") in BindEngineCode()
339 luabind::class_<TextStyle>("TextStyle") in BindEngineCode()
343 luabind::class_<VideoEngine>("GameVideo") in BindEngineCode()
[all …]
/dports/devel/luabind/luabind-0.9.1/test/
H A Dtest_value_wrapper.cpp34 namespace luabind namespace
53 BOOST_MPL_ASSERT(( luabind::is_value_wrapper<X> ));
54 BOOST_MPL_ASSERT_NOT(( luabind::is_value_wrapper<X&> ));
55 BOOST_MPL_ASSERT_NOT(( luabind::is_value_wrapper<X const&> ));
57 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<X> ));
58 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<X const> ));
59 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<X&> ));
60 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<X const&> ));
61 BOOST_MPL_ASSERT_NOT(( luabind::is_value_wrapper_arg<int> ));
65 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<luabind::object&> ));
[all …]
H A Dtest_table.cpp8 void f(luabind::table<> const& x) in f()
10 TEST_CHECK(luabind::type(x) == LUA_TTABLE); in f()
13 void g(luabind::table<luabind::argument> const& x) in g()
15 TEST_CHECK(luabind::type(x) == LUA_TTABLE); in g()
20 using namespace luabind; in test_main()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/luabind/test/
H A Dtest_value_wrapper.cpp34 namespace luabind namespace
53 BOOST_MPL_ASSERT(( luabind::is_value_wrapper<X> ));
54 BOOST_MPL_ASSERT_NOT(( luabind::is_value_wrapper<X&> ));
55 BOOST_MPL_ASSERT_NOT(( luabind::is_value_wrapper<X const&> ));
57 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<X> ));
58 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<X const> ));
59 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<X&> ));
60 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<X const&> ));
61 BOOST_MPL_ASSERT_NOT(( luabind::is_value_wrapper_arg<int> ));
65 BOOST_MPL_ASSERT(( luabind::is_value_wrapper_arg<luabind::object&> ));
[all …]
H A Dtest_table.cpp8 static void f(luabind::table<> const& x) in f()
10 TEST_CHECK(luabind::type(x) == LUA_TTABLE); in f()
13 static void g(luabind::table<luabind::argument> const& x) in g()
15 TEST_CHECK(luabind::type(x) == LUA_TTABLE); in g()
20 using namespace luabind; in test_main()
/dports/games/rlvm/rlvm-release-0.14-77-gfabf134a/test/script_machine/
H A Dscript_world.cc55 using namespace luabind;
65 luabind::globals(L)["World"] = this; in ScriptWorld()
100 luabind::object_cast<ScriptMachine*>(luabind::globals(L)["Machine"]); in Regname()
119 luabind::object_cast<ScriptMachine*>(luabind::globals(L)["Machine"]); in SetDecisionList()
127 luabind::object_cast<ScriptMachine*>(luabind::globals(L)["Machine"]); in Error()
136 luabind::object_cast<ScriptMachine*>(luabind::globals(L)["Machine"]); in AddHandler()
149 luabind::object handler = luabind::globals(L)["DecisionHandler"]; in MakeDecision()
157 luabind::object ret = handler(table); in MakeDecision()
173 using namespace luabind; in InitializeLuabind()
197 luabind::call_function<void>(handler); in RunHandler()
[all …]
H A Dluabind_event_system.cc35 using namespace luabind;
44 luabind::object_cast<ScriptMachine*>(luabind::globals(L)["Machine"]); in injectMouseMovement()
50 luabind::object_cast<ScriptMachine*>(luabind::globals(L)["Machine"]); in injectMouseDown()
56 luabind::object_cast<ScriptMachine*>(luabind::globals(L)["Machine"]); in injectMouseUp()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/utils/src/script/
H A Dscript_read.cpp26 using namespace luabind;
127 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _DoesDataExist()
132 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _DoesDataExist()
139 luabind::object obj(o[key]); in _DoesDataExist()
152 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _DoesDataExist()
159 luabind::object obj(o[key]); in _DoesDataExist()
227 return luabind::object(); in ReadFunctionPointer()
233 return luabind::object(); in ReadFunctionPointer()
244 return luabind::object(); in ReadFunctionPointer()
250 return luabind::object(); in ReadFunctionPointer()
[all …]
H A Dscript.cpp30 using namespace luabind;
52 luabind::open(_global_state); in ScriptEngine()
79 void ScriptEngine::HandleLuaError(const luabind::error &err) in HandleLuaError()
88 void ScriptEngine::HandleCastError(const luabind::cast_failed &err) in HandleCastError()
164 luabind::object o(luabind::from_stack(luaState, -1)); in DEBUG_PrintGlobals()
165 for(luabind::iterator it(o), end; it != end; ++it) { in DEBUG_PrintGlobals()
167 if(luabind::type(*it) == LUA_TTABLE) { in DEBUG_PrintGlobals()
168 if(luabind::object_cast<std::string>(it.key()) != "_G") in DEBUG_PrintGlobals()
169 DEBUG_PrintTable(luabind::object(*it), 1); in DEBUG_PrintGlobals()
180 for(luabind::iterator it(table), end; it != end; ++it) { in DEBUG_PrintTable()
[all …]
H A Dscript_read.h547 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadData()
556 T ret_val = luabind::object_cast<T>(o); in _ReadData()
566 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadData()
567 if(luabind::type(o) != LUA_TTABLE) { in _ReadData()
591 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadData()
592 if(luabind::type(o) != LUA_TTABLE) { in _ReadData()
599 return luabind::object_cast<T>(o[key]); in _ReadData()
638 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadDataVectorHelper()
640 if(luabind::type(o) != LUA_TTABLE) { in _ReadDataVectorHelper()
664 luabind::object table(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadTableKeys()
[all …]
/dports/devel/vera++/vera++-1.3.0/src/plugins/lua/
H A DLuaInterpreter.cpp35 namespace luabind namespace
50 for (luabind::iterator i(luabind::object(luabind::from_stack(L, index))), end; in from()
53 list.push_back(luabind::object_cast<T>(*i)); in from()
61 luabind::object list = luabind::newtable(L); in to()
145 luabind::open(L); in execute()
147 luabind::module(L) in execute()
150 luabind::class_<Structures::Token>("token") in execute()
158 luabind::def("getTokens", &getTokens, luabind::return_stl_iterator), in execute()
160 luabind::def("report", &Plugins::Reports::add), in execute()
164 luabind::def("getSourceFileNames", &luaGetSourceFileNames, luabind::return_stl_iterator), in execute()
[all …]
/dports/games/allacrost/allacrost-1.0.2/src/engine/script/
H A Dscript_modify.h199 luabind::object* table = NULL; in _ModifyData()
220 table = new luabind::object(luabind::from_stack(_lstack, LUA_GLOBALSINDEX)); in _ModifyData()
222 table = new luabind::object(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ModifyData()
263 luabind::object table(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ModifyData()
265 if (luabind::type(table) != LUA_TTABLE) { in _ModifyData()
295 luabind::object* table = NULL; in _AddNewData()
298 table = new luabind::object(luabind::from_stack(_lstack, LUA_GLOBALSINDEX)); in _AddNewData()
300 table = new luabind::object(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _AddNewData()
309 luabind::settable(*table, key, value); in _AddNewData()
322 luabind::object table(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _AddNewData()
[all …]
H A Dscript_read.cpp23 using namespace luabind;
132 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _DoesDataExist()
137 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _DoesDataExist()
144 luabind::object obj(o[key]); in _DoesDataExist()
158 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _DoesDataExist()
159 if (luabind::type(o) != LUA_TTABLE) { in _DoesDataExist()
165 luabind::object obj(o[key]); in _DoesDataExist()
241 return luabind::object(); in ReadFunctionPointer()
247 return luabind::object(); in ReadFunctionPointer()
258 return luabind::object(); in ReadFunctionPointer()
[all …]
H A Dscript_read.h433 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadData()
442 T ret_val = luabind::object_cast<T>(o); in _ReadData()
453 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadData()
454 if (luabind::type(o) != LUA_TTABLE) { in _ReadData()
461 return luabind::object_cast<T>(o[key]); in _ReadData()
480 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadData()
481 if (luabind::type(o) != LUA_TTABLE) { in _ReadData()
488 return luabind::object_cast<T>(o[key]); in _ReadData()
525 luabind::object o(luabind::from_stack(_lstack, private_script::STACK_TOP)); in _ReadDataVectorHelper()
527 if (luabind::type(o) != LUA_TTABLE) { in _ReadDataVectorHelper()
[all …]
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/battle/actions/
H A Ditem_action.cpp86 _init_function = luabind::object(); in ~ItemAction()
87 _update_function = luabind::object(); in ~ItemAction()
106 return luabind::call_function<bool>(_update_function); in Update()
107 } catch(const luabind::error& err) { in Update()
112 } catch(const luabind::cast_failed& e) { in Update()
134 } catch(const luabind::error &err) { in Warmup()
136 } catch(const luabind::cast_failed &e) { in Warmup()
162 } catch(const luabind::error &err) { in Execute()
165 } catch(const luabind::cast_failed &e) { in Execute()
225 } catch(const luabind::error& err) { in _InitAnimationScript()
[all …]
/dports/games/valyriatear/ValyriaTear-1.1.0/src/luabind/doc/
H A Dbasic-usage.rst4 To use luabind, you must include ``lua.h`` and luabind's main header file::
11 #include <luabind/luabind.hpp>
15 ``luabind/function.hpp`` and ``luabind/class.hpp`` separately::
17 #include <luabind/function.hpp>
18 #include <luabind/class.hpp>
20 The first thing you need to do is to call ``luabind::open(lua_State*)`` which
22 state-global structures used by luabind. If you don't call this function you
32 ``<luabind/lua_include.hpp>``. If you for some reason need to include another
42 #include <luabind/luabind.hpp>
51 using namespace luabind;
/dports/games/valyriatear/ValyriaTear-1.1.0/src/luabind/luabind/detail/
H A Dcall_function.hpp45 namespace luabind namespace
96 throw luabind::error(L); in ~proxy_function_caller()
126 throw luabind::error(L); in operator Ret()
217 friend class luabind::object;
259 throw luabind::error(L); in ~proxy_function_void_caller()
312 …#define BOOST_PP_ITERATION_PARAMS_1 (4, (0, LUABIND_MAX_ARITY, <luabind/detail/call_function.hpp>,…
328 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO…
340 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO… in call_function()
350 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO…
361 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO… in call_function()
[all …]
/dports/devel/luabind/luabind-0.9.1/luabind/detail/
H A Dcall_function.hpp45 namespace luabind namespace
96 throw luabind::error(L); in ~proxy_function_caller()
126 throw luabind::error(L); in operator Ret()
224 friend class luabind::object;
266 throw luabind::error(L); in ~proxy_function_void_caller()
319 …#define BOOST_PP_ITERATION_PARAMS_1 (4, (0, LUABIND_MAX_ARITY, <luabind/detail/call_function.hpp>,…
335 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO…
347 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO… in call_function()
358 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO…
369 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO… in call_function()
[all …]
/dports/games/allacrost/allacrost-1.0.2/src/luabind/luabind/detail/
H A Dcall_function.hpp45 namespace luabind namespace
96 throw luabind::error(L); in ~proxy_function_caller()
126 throw luabind::error(L); in operator Ret()
224 friend class luabind::object;
266 throw luabind::error(L); in ~proxy_function_void_caller()
319 …#define BOOST_PP_ITERATION_PARAMS_1 (4, (0, LUABIND_MAX_ARITY, <luabind/detail/call_function.hpp>,…
335 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO…
347 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO… in call_function()
358 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO…
369 …, luabind::detail::proxy_function_void_caller<boost::tuples::tuple<BOOST_PP_ENUM(BOOST_PP_ITERATIO… in call_function()
[all …]
/dports/games/valyriatear/ValyriaTear-1.1.0/src/luabind/src/
H A Dclass_rep.cpp34 using namespace luabind::detail;
36 namespace luabind { namespace detail namespace
48 luabind::detail::class_rep::class_rep(type_id const& type_ in class_rep()
60 void luabind::detail::class_rep::shared_init(lua_State * L) in shared_init()
97 luabind::detail::class_rep::~class_rep() in ~class_rep()
103 luabind::detail::class_rep::allocate(lua_State* L) const in allocate()
159 void luabind::detail::class_rep::add_base_class(luabind::detail::class_rep* bcrep) in add_base_class()
180 LUABIND_API void luabind::disable_super_deprecation() in disable_super_deprecation()
185 int luabind::detail::class_rep::super_callback(lua_State* L) in super_callback()
311 int luabind::detail::class_rep::tostring(lua_State* L) in tostring()
[all …]
/dports/devel/luabind/luabind-0.9.1/src/
H A Dclass_rep.cpp34 using namespace luabind::detail;
36 namespace luabind { namespace detail namespace
46 luabind::detail::class_rep::class_rep(type_id const& type in class_rep()
116 luabind::detail::class_rep::~class_rep() in ~class_rep()
122 luabind::detail::class_rep::allocate(lua_State* L) const in allocate()
180 void luabind::detail::class_rep::add_base_class(const luabind::detail::class_rep::base_info& binfo) in add_base_class()
203 LUABIND_API void luabind::disable_super_deprecation() in disable_super_deprecation()
208 int luabind::detail::class_rep::super_callback(lua_State* L) in super_callback()
328 bool luabind::detail::is_class_rep(lua_State* L, int index) in is_class_rep()
344 void luabind::detail::finalize(lua_State* L, class_rep* crep) in finalize()
[all …]
/dports/games/allacrost/allacrost-1.0.2/src/luabind/src/
H A Dclass_rep.cpp34 using namespace luabind::detail;
36 namespace luabind { namespace detail namespace
46 luabind::detail::class_rep::class_rep(type_id const& type in class_rep()
116 luabind::detail::class_rep::~class_rep() in ~class_rep()
122 luabind::detail::class_rep::allocate(lua_State* L) const in allocate()
186 void luabind::detail::class_rep::add_base_class(const luabind::detail::class_rep::base_info& binfo) in add_base_class()
209 LUABIND_API void luabind::disable_super_deprecation() in disable_super_deprecation()
214 int luabind::detail::class_rep::super_callback(lua_State* L) in super_callback()
334 bool luabind::detail::is_class_rep(lua_State* L, int index) in is_class_rep()
350 void luabind::detail::finalize(lua_State* L, class_rep* crep) in finalize()
[all …]
/dports/games/valyriatear/ValyriaTear-1.1.0/src/luabind/
H A DREADME.md4 …ild status](https://travis-ci.org/Oberon00/luabind.svg?branch=master)](https://travis-ci.org/Obero…
25 > Extracted from <http://www.rasterbar.com/products/luabind/docs.html>
37 This should actually have been forked from [rpavlik/luabind][rpavlik]: I
42 [rpavlik]: http://github.com/rpavlik/luabind/
46 luabind release (0.9) are described.
97 [`luabind/std_shared_ptr_converter.hpp`][stdptr].
107 (`luabind::object`s). fhoefling's commit [dd4a16][c-table]. This plays
112 handle only *objects* of luabind classes. rpavlik's commit
117 [stdptr]: luabind/std_shared_ptr_converter.hpp
126 member variables and other minor improvements make luabind generally
[all …]

12345678910>>...22