mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 22:33:32 +00:00
Rename drawerlib deltaTime to getDeltaTime
This commit is contained in:
parent
82310e0ae2
commit
a41d042812
1 changed files with 2 additions and 2 deletions
|
@ -1309,7 +1309,7 @@ static int libd_getusertransflag(lua_State *L)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the time elapsed for the previous frame, in tics.
|
// Return the time elapsed for the previous frame, in tics.
|
||||||
static int libd_deltaTime(lua_State *L)
|
static int libd_getDeltaTime(lua_State *L)
|
||||||
{
|
{
|
||||||
HUDONLY
|
HUDONLY
|
||||||
lua_pushfixed(L, renderdeltatics);
|
lua_pushfixed(L, renderdeltatics);
|
||||||
|
@ -1357,7 +1357,7 @@ static luaL_Reg lib_draw[] = {
|
||||||
{"renderer", libd_renderer},
|
{"renderer", libd_renderer},
|
||||||
{"localTransFlag", libd_getlocaltransflag},
|
{"localTransFlag", libd_getlocaltransflag},
|
||||||
{"userTransFlag", libd_getusertransflag},
|
{"userTransFlag", libd_getusertransflag},
|
||||||
{"deltaTime", libd_deltaTime},
|
{"getDeltaTime", libd_getDeltaTime},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue