* Get the counter used to advance to the next clear density/field type. * @param t the tile to get the counter of * @pre IsTileType(t, MP_CLEAR) * @return the value of the counter */
| 106 | * @return the value of the counter |
| 107 | */ |
| 108 | inline uint GetClearCounter(Tile t) |
| 109 | { |
| 110 | assert(IsTileType(t, MP_CLEAR)); |
| 111 | return GB(t.m5(), 5, 3); |
| 112 | } |
| 113 | |
| 114 | /** |
| 115 | * Increments the counter used to advance to the next clear density/field type. |
no test coverage detected