37 static void *
packIn(lua_State *L,
int idx);
38 static void packOut(lua_State *L,
void *ptr);
78 static void *
packIn(lua_State *L,
int idx);
79 static void packOut(lua_State *L,
void *ptr);
94 static const luaL_Reg
methods[];
102 static int l_next(lua_State *L);
126 static const luaL_Reg
methods[];
134 static int l_next(lua_State *L);
163 static const luaL_Reg
methods[];
static const char className[]
Definition l_noise.h:153
LuaPcgRandom(u64 seed, u64 seq)
Definition l_noise.h:145
PcgRandom m_rnd
Definition l_noise.h:124
static int l_set_state(lua_State *L)
Definition l_noise.cpp:513
LuaPcgRandom(u64 seed)
Definition l_noise.h:144
static int l_next(lua_State *L)
Definition l_noise.cpp:470
static int l_get_state(lua_State *L)
Definition l_noise.cpp:496
static const luaL_Reg methods[]
Definition l_noise.h:572
static int gc_object(lua_State *L)
Definition l_noise.cpp:551
static int create_object(lua_State *L)
Definition l_noise.cpp:536
static int l_rand_normal_dist(lua_State *L)
Definition l_noise.cpp:483
static void * packIn(lua_State *L, int idx)
Definition l_noise.cpp:334
static int l_calc_2d_map(lua_State *L)
Definition l_noise.cpp:250
static luaL_Reg methods[]
Definition l_noise.h:372
static int l_get_3d_map(lua_State *L)
Definition l_noise.cpp:190
static void packOut(lua_State *L, void *ptr)
Definition l_noise.cpp:344
static int l_calc_3d_map(lua_State *L)
Definition l_noise.cpp:263
static int l_get_3d_map_flat(lua_State *L)
Definition l_noise.cpp:221
static int l_get_2d_map_flat(lua_State *L)
Definition l_noise.cpp:164
Noise * noise
Definition l_noise.h:50
static int l_get_2d_map(lua_State *L)
Definition l_noise.cpp:140
static int create_object(lua_State *L)
Definition l_noise.cpp:305
~LuaPerlinNoiseMap()
Definition l_noise.cpp:134
static const char className[]
Definition l_noise.h:83
LuaPerlinNoiseMap(const NoiseParams *np, s32 seed, v3s16 size)
Definition l_noise.cpp:124
static int l_get_map_slice(lua_State *L)
Definition l_noise.cpp:280
static int gc_object(lua_State *L)
Definition l_noise.cpp:320
bool is3D() const
Definition l_noise.h:72
static void packOut(lua_State *L, void *ptr)
Definition l_noise.cpp:85
NoiseParams np
Definition l_noise.h:17
static const char className[]
Definition l_noise.h:42
static int create_object(lua_State *L)
Definition l_noise.cpp:47
~LuaPerlinNoise()=default
static void * packIn(lua_State *L, int idx)
Definition l_noise.cpp:79
static luaL_Reg methods[]
Definition l_noise.h:113
static int l_get_2d(lua_State *L)
Definition l_noise.cpp:25
static int gc_object(lua_State *L)
Definition l_noise.cpp:71
static int l_get_3d(lua_State *L)
Definition l_noise.cpp:36
LuaPerlinNoise(const NoiseParams *params)
Definition l_noise.cpp:19
static const char className[]
Definition l_noise.h:115
PseudoRandom m_pseudo
Definition l_noise.h:92
static int gc_object(lua_State *L)
Definition l_noise.cpp:438
LuaPseudoRandom(s32 seed)
Definition l_noise.h:107
static int create_object(lua_State *L)
Definition l_noise.cpp:425
static int l_get_state(lua_State *L)
Definition l_noise.cpp:413
static const luaL_Reg methods[]
Definition l_noise.h:459
static int l_next(lua_State *L)
Definition l_noise.cpp:388
static const char className[]
Definition l_noise.h:185
static int l_next_bytes(lua_State *L)
Definition l_noise.cpp:590
static int create_object(lua_State *L)
Definition l_noise.cpp:625
static const size_t RAND_BUF_SIZE
Definition l_noise.h:162
static const luaL_Reg methods[]
Definition l_noise.h:661
bool fillRandBuf()
Definition l_noise.cpp:585
static int gc_object(lua_State *L)
Definition l_noise.cpp:641
char m_rand_buf[RAND_BUF_SIZE]
Definition l_noise.h:166
u32 m_rand_idx
Definition l_noise.h:165
u32 sz
Definition noise.h:152
core::vector3d< s16 > v3s16
Definition irr_v3d.h:13
#define idx(x, y)
Definition noise.cpp:490