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

Method GetRadarShots

src/lua/LuaSpatial.cpp:945–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943
944
945int LuaSpatial::GetRadarShots(lua_State* L) {
946 BoxData box;
947 if (!GetRadarBox(box)) {
948 lua_newtable(L);
949 return 1;
950 }
951 std::vector<const ShotPath*> hits;
952 CheckShots(ShotInBox, box, hits);
953 PushShots(L, hits);
954 return 1;
955}
956
957
958//============================================================================//

Callers

nothing calls this directly

Calls 3

GetRadarBoxFunction · 0.85
CheckShotsFunction · 0.85
PushShotsFunction · 0.70

Tested by

no test coverage detected