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

Method GetMousePosition

LuaSTGPlus/LuaWrapper.cpp:1666–1672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1664 return LAPP.GetLastChar(L);
1665 }
1666 static int GetMousePosition(lua_State* L)LNOEXCEPT
1667 {
1668 fcyVec2 tPos = LAPP.GetMousePosition();
1669 lua_pushnumber(L, tPos.x);
1670 lua_pushnumber(L, tPos.y);
1671 return 2;
1672 }
1673 static int GetMouseState(lua_State* L)LNOEXCEPT
1674 {
1675 lua_pushboolean(L, LAPP.GetMouseState(luaL_checkinteger(L, 1)));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected