File: drawStone.h

package info (click to toggle)
cgoban 1.9.14-18
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 3,448 kB
  • sloc: ansic: 36,037; sh: 707; makefile: 259
file content (33 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * src/drawStone.h, part of Complete Goban (game program)
 * Copyright (C) 1996 William Shubert.
 * See "configure.h.in" for more copyright information.
 */


#ifndef  _DRAWSTONE_H_

#ifdef  _DRAWSTONE_H_
  Levelization Error.
#endif
#define  _DRAWSTONE_H_  1


/**********************************************************************
 * Constants
 **********************************************************************/
#define  DRAWSTONE_NUMWHITE  5
#define  DRAWSTONE_YINYANG(x)    (DRAWSTONE_NUMWHITE+(x))
#define  DRAWSTONE_WORLDWEST(x)  (DRAWSTONE_YINYANG(DRAWSTONE_NUMWHITE)+(x))
#define  DRAWSTONE_WORLDEAST(x)  (DRAWSTONE_WORLDWEST(DRAWSTONE_NUMWHITE)+(x))


/**********************************************************************
 * Functions
 **********************************************************************/
extern void  drawStone_newPics(ButEnv *env, Rnd *rnd, int baseColor,
			       Pixmap *stonePixmap, Pixmap *maskBitmap,
			       int size, bool color);


#endif  /* _DRAWSTONE_H_ */