()
| 3127 | } |
| 3128 | |
| 3129 | func (mc *MapContents) ColorIndex() int { |
| 3130 | return MapDrawingColor | MapPattern |
| 3131 | } |
| 3132 | |
| 3133 | func (mc *MapContents) ColorIndexToPattern(index int) int { |
| 3134 | c := index & (MapPatternSolid + MapPatternDotted + MapPatternCrossed + MapPatternChecked + MapPatternTerrain) |