| 736 | |
| 737 | |
| 738 | int LuaSpatial::GetVisibleFlags(lua_State* L) { |
| 739 | PlanesData planes; |
| 740 | if (!GetViewPlanes(planes)) { |
| 741 | lua_newtable(L); |
| 742 | return 1; |
| 743 | } |
| 744 | std::vector<const Flag*> hits; |
| 745 | CheckFlags(FlagInPlanes, planes, hits); |
| 746 | PushFlags(L, hits); |
| 747 | return 1; |
| 748 | } |
| 749 | |
| 750 | |
| 751 | int LuaSpatial::GetRadarFlags(lua_State* L) { |
nothing calls this directly
no test coverage detected