Home
last modified time | relevance | path

Searched refs:LuaPseudoRandom (Results 1 – 6 of 6) sorted by relevance

/dports/games/freeminer/freeminer-0.4.10.4/src/script/lua_api/
H A Dl_noise.cpp315 int LuaPseudoRandom::gc_object(lua_State *L) in gc_object()
317 LuaPseudoRandom *o = *(LuaPseudoRandom **)(lua_touserdata(L, 1)); in gc_object()
323 int LuaPseudoRandom::l_next(lua_State *L) in l_next()
326 LuaPseudoRandom *o = checkobject(L, 1); in l_next()
351 LuaPseudoRandom::LuaPseudoRandom(int seed): in LuaPseudoRandom() function in LuaPseudoRandom
356 LuaPseudoRandom::~LuaPseudoRandom() in ~LuaPseudoRandom()
364 PseudoRandom& LuaPseudoRandom::getItem() in getItem()
374 LuaPseudoRandom *o = new LuaPseudoRandom(seed); in create_object()
381 LuaPseudoRandom* LuaPseudoRandom::checkobject(lua_State *L, int narg) in checkobject()
389 void LuaPseudoRandom::Register(lua_State *L) in Register()
[all …]
H A Dl_noise.h98 class LuaPseudoRandom : public ModApiBase {
114 LuaPseudoRandom(int seed);
116 ~LuaPseudoRandom();
125 static LuaPseudoRandom* checkobject(lua_State *L, int narg);
/dports/games/minetest/minetest-5.4.1/src/script/lua_api/
H A Dl_noise.cpp407 int LuaPseudoRandom::l_next(lua_State *L) in l_next()
411 LuaPseudoRandom *o = checkobject(L, 1); in l_next()
436 int LuaPseudoRandom::create_object(lua_State *L) in create_object()
441 LuaPseudoRandom *o = new LuaPseudoRandom(seed); in create_object()
449 int LuaPseudoRandom::gc_object(lua_State *L) in gc_object()
451 LuaPseudoRandom *o = *(LuaPseudoRandom **)(lua_touserdata(L, 1)); in gc_object()
457 LuaPseudoRandom *LuaPseudoRandom::checkobject(lua_State *L, int narg) in checkobject()
463 return *(LuaPseudoRandom **)ud; in checkobject()
467 void LuaPseudoRandom::Register(lua_State *L) in Register()
496 const luaL_Reg LuaPseudoRandom::methods[] = {
[all …]
H A Dl_noise.h99 class LuaPseudoRandom : public ModApiBase
116 LuaPseudoRandom(s32 seed) : m_pseudo(seed) {} in LuaPseudoRandom() function
122 static LuaPseudoRandom *checkobject(lua_State *L, int narg);
/dports/games/freeminer/freeminer-0.4.10.4/src/script/
H A Dscripting_game.cpp99 LuaPseudoRandom::Register(L); in InitializeModApi()
/dports/games/minetest/minetest-5.4.1/src/script/
H A Dscripting_server.cpp100 LuaPseudoRandom::Register(L); in InitializeModApi()