| 1769 | } |
| 1770 | |
| 1771 | int32_t MapGetTileSide(const CoordsXY& mapPos) |
| 1772 | { |
| 1773 | int32_t subMapX = mapPos.x & (32 - 1); |
| 1774 | int32_t subMapY = mapPos.y & (32 - 1); |
| 1775 | return (subMapX < subMapY) ? ((subMapX + subMapY) < 32 ? 0 : 1) : ((subMapX + subMapY) < 32 ? 3 : 2); |
| 1776 | } |
| 1777 | |
| 1778 | int32_t MapGetTileQuadrant(const CoordsXY& mapPos) |
| 1779 | { |
no outgoing calls
no test coverage detected