| 777 | |
| 778 | |
| 779 | bool LuaHandle::IsAbove(int x, int y) { |
| 780 | LUA_CALL_IN_CHECK(L, 2) |
| 781 | if (!PushCallIn(LUA_CI_IsAbove)) { |
| 782 | return false; // the call is not defined |
| 783 | } |
| 784 | |
| 785 | lua_pushinteger(L, x); |
| 786 | lua_pushinteger(L, y); |
| 787 | |
| 788 | if (!RunCallIn(LUA_CI_IsAbove, 2, 1)) { |
| 789 | return false; |
| 790 | } |
| 791 | |
| 792 | return PopBool(L, false); |
| 793 | } |
| 794 | |
| 795 | |
| 796 | std::string LuaHandle::GetTooltip(int x, int y) { |
nothing calls this directly
no test coverage detected