MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / SetFPS

Method SetFPS

LuaSTGPlus/LuaWrapper.cpp:451–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449 return 0;
450 }
451 static int SetFPS(lua_State* L)LNOEXCEPT
452 {
453 int v = luaL_checkinteger(L, 1);
454 if (v <= 0)
455 v = 60;
456 LAPP.SetFPS(static_cast<fuInt>(v));
457 return 0;
458 }
459 static int GetFPS(lua_State* L)LNOEXCEPT
460 {
461 lua_pushnumber(L, LAPP.GetFPS());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected