* Get the field type (production stage) of the field * @param t the field to get the type of * @pre GetClearGround(t) == CLEAR_FIELDS * @return the field type */
| 157 | * @return the field type |
| 158 | */ |
| 159 | inline uint GetFieldType(Tile t) |
| 160 | { |
| 161 | assert(GetClearGround(t) == CLEAR_FIELDS); |
| 162 | return GB(t.m3(), 0, 4); |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * Set the field type (production stage) of the field |
no test coverage detected