| 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()); |
nothing calls this directly
no outgoing calls
no test coverage detected