| 1018 | return 1; |
| 1019 | } |
| 1020 | static int GetTextureSize(lua_State* L)LNOEXCEPT |
| 1021 | { |
| 1022 | const char* name = luaL_checkstring(L, 1); |
| 1023 | fcyVec2 size; |
| 1024 | if (!LRES.GetTextureSize(name, size)) |
| 1025 | return luaL_error(L, "texture '%s' not found.", name); |
| 1026 | lua_pushnumber(L, size.x); |
| 1027 | lua_pushnumber(L, size.y); |
| 1028 | return 2; |
| 1029 | } |
| 1030 | static int RemoveResource(lua_State* L)LNOEXCEPT |
| 1031 | { |
| 1032 | ResourcePoolType t; |
nothing calls this directly
no outgoing calls
no test coverage detected