Fix color assignment by mamer
[capablanca.git] / lasker-2.2.3 / bots / mamer / Player.hh
1 //--------------------------------------------------------------------------
2 // Player.hh - Class header for the Player class
3 //
4 // Matthew E. Moses & Michael A. Long
5 //
6 // $Revision: 1.4 $
7 // $Date: 2002/07/02 00:02:40 $
8 //
9 // $Author: tridge $
10 // $Locker:  $
11 //
12 // $Log: Player.hh,v $
13 // Revision 1.4  2002/07/02 00:02:40  tridge
14 // - fixed compile on g++ 2.96
15 // - updated for lasker 'rmatch'
16 //
17 // Revision 1.3  1998/02/12 18:44:25  mlong
18 // *** empty log message ***
19 //
20 // Revision 1.2  1997/11/11 16:48:06  chess
21 // *** empty log message ***
22 //
23 // Revision 1.2  1997/10/23 19:56:12  chess
24 // *** empty log message ***
25 //
26 // Revision 1.1  1997/05/16 03:22:36  chess
27 // Initial revision
28 //
29 //
30 //
31 //--------------------------------------------------------------------------
32
33 #ifndef _Player_
34 #define _Player_
35
36 #include <fstream.h>
37 #include <iostream.h>
38
39 extern "C" {
40 #include <sys/param.h>
41 #include <sys/types.h>
42
43 #include <ctype.h>
44 #include <errno.h>
45 #include <stdlib.h>
46 #include <string.h>
47 #include <strings.h>
48 #include <sys/stat.h>
49
50 #include <time.h>
51 #include <unistd.h>
52 }
53
54 #include "config.h"
55 #include "User.hh"
56 #include "link.hh"
57 #include "linklist.hh"
58
59 class Player : public Link {
60 public:
61
62   Player(char *, int);
63   Player(char *, float);
64   Player(char *, double);
65   Player(char *, float, int);
66   Player(char *, float, int, int);
67   ~Player();
68   
69 int IsPlayer(char *);
70
71 private:
72
73 public:
74
75   char name[NAMELEN];
76   int  value;
77   double floatValue;
78   int rating;
79
80 private:
81
82 };
83
84
85 #endif
86
87
88
89
90
91