File: arena.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 (41 lines) | stat: -rw-r--r-- 903 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
34
35
36
37
38
39
40
41
/*
 * src/arena.h, part of Complete Goban (game program)
 * Copyright (C) 1996 William Shubert.
 * See "configure.h.in" for more copyright information.
 */

#ifndef  _ARENA_H_

#ifndef  _GMP_ENGINE_H_
#include "gmp/engine.h"
#endif
#ifndef  _GOGAME_H_
#include "goGame.h"
#endif

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


/**********************************************************************
 * Data Types
 **********************************************************************/
typedef struct Arena_struct  {
  Cgoban  *cg;
  GmpEngine  engines[2];
  GoGame  *game;

  MAGIC_STRUCT
} Arena;


/**********************************************************************
 * Functions
 **********************************************************************/

extern void  arena(Cgoban *cg, const char *prog1, const char *prog2,
		   int size, float komi, int handicap);

#endif