| 54 | } |
| 55 | |
| 56 | bool CMapBlock::HasNoExternalData() |
| 57 | { |
| 58 | for (int x = 0; x < 8; x++) |
| 59 | { |
| 60 | for (int y = 0; y < 8; y++) |
| 61 | { |
| 62 | for (CRenderWorldObject *obj = GetRender((int)x, (int)y); obj != nullptr; |
| 63 | obj = obj->m_NextXY) |
| 64 | { |
| 65 | if (!obj->IsLandObject() && !obj->IsStaticObject()) |
| 66 | { |
| 67 | return false; |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | return true; |
| 74 | } |
| 75 | |
| 76 | uint16_t CMapBlock::GetRadarColor(int x, int y) |
| 77 | { |
no test coverage detected