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

Method GetRadarFlags

src/lua/LuaSpatial.cpp:751–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749
750
751int LuaSpatial::GetRadarFlags(lua_State* L) {
752 BoxData box;
753 if (!GetRadarBox(box)) {
754 lua_newtable(L);
755 return 1;
756 }
757 std::vector<const Flag*> hits;
758 CheckFlags(FlagInBox, box, hits);
759 PushFlags(L, hits);
760 return 1;
761}
762
763
764//============================================================================//

Callers

nothing calls this directly

Calls 3

GetRadarBoxFunction · 0.85
CheckFlagsFunction · 0.85
PushFlagsFunction · 0.85

Tested by

no test coverage detected