mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
adding lua_maplib.c comments for new slope-related userdata types
This commit is contained in:
parent
7989e9a482
commit
027ad8aca9
1 changed files with 8 additions and 0 deletions
|
|
@ -1789,6 +1789,10 @@ static int ffloor_set(lua_State *L)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ESLOPE
|
#ifdef ESLOPE
|
||||||
|
//////////////
|
||||||
|
// pslope_t //
|
||||||
|
//////////////
|
||||||
|
|
||||||
static int slope_get(lua_State *L)
|
static int slope_get(lua_State *L)
|
||||||
{
|
{
|
||||||
pslope_t *slope = *((pslope_t **)luaL_checkudata(L, 1, META_SLOPE));
|
pslope_t *slope = *((pslope_t **)luaL_checkudata(L, 1, META_SLOPE));
|
||||||
|
|
@ -1925,6 +1929,10 @@ static int slope_set(lua_State *L)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
///////////////
|
||||||
|
// vector*_t //
|
||||||
|
///////////////
|
||||||
|
|
||||||
static int vector2_get(lua_State *L)
|
static int vector2_get(lua_State *L)
|
||||||
{
|
{
|
||||||
vector2_t *vec = *((vector2_t **)luaL_checkudata(L, 1, META_VECTOR2));
|
vector2_t *vec = *((vector2_t **)luaL_checkudata(L, 1, META_VECTOR2));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue