private void drawAutoHit(Graphics g,Coords hex){
  int baseX=(hex.getX() * (hexSide[zoom] + hexSideBySin30[zoom])) + leftMargin + hexSide[zoom];
  int baseY=(((2 * hex.getY()) + 1 + (hex.getX() % 2)) * hexSideByCos30[zoom]) + topMargin;
  Color alt=g.getColor();
  g.setColor(Color.RED);
  g.drawOval(baseX - (unitSize - 1),baseY - (unitSize - 1),(2 * unitSize) - 2,(2 * unitSize) - 2);
  g.drawLine(baseX - unitSize - 1,baseY,(baseX - unitSize) + 3,baseY);
  g.drawLine(baseX + unitSize + 1,baseY,(baseX + unitSize) - 3,baseY);
  g.drawLine(baseX,baseY - unitSize - 1,baseX,(baseY - unitSize) + 3);
  g.drawLine(baseX,baseY + unitSize + 1,baseX,(baseY + unitSize) - 3);
  g.setColor(alt);
}

private void drawAutoHit ( Graphics g , Coords hex ) { int baseX = ( hex . getX ( ) * ( hexSide [ zoom ] + hexSideBySin30 [ zoom ] ) ) + leftMargin + hexSide [ zoom ] ; int baseY = ( ( ( 2 * hex . getY ( ) ) + 1 + ( hex . getX ( ) % 2 ) ) * hexSideByCos30 [ zoom ] ) + topMargin ; Color alt = g . getColor ( ) ; g . setColor ( Color . RED ) ; g . drawOval ( baseX - ( unitSize - 1 ) , baseY - ( unitSize - 1 ) , ( 2 * unitSize ) - 2 , ( 2 * unitSize ) - 2 ) ; g . drawLine ( baseX - unitSize - 1 , baseY , ( baseX - unitSize ) + 3 , baseY ) ; g . drawLine ( baseX + unitSize + 1 , baseY , ( baseX + unitSize ) - 3 , baseY ) ; g . drawLine ( baseX , baseY - unitSize - 1 , baseX , ( baseY - unitSize ) + 3 ) ; g . drawLine ( baseX , baseY + unitSize + 1 , baseX , ( baseY + unitSize ) - 3 ) ; g . setColor ( alt ) ; }
draws a red crosshair for artillery autohit hexes ( predesignated only ) .
