MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / IsAbove

Method IsAbove

src/lua/LuaHandleCallIns.cpp:779–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777
778
779bool 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
796std::string LuaHandle::GetTooltip(int x, int y) {

Callers

nothing calls this directly

Calls 2

PopBoolFunction · 0.85
lua_pushintegerFunction · 0.50

Tested by

no test coverage detected