1 //--------------------------------------------------------------------------
2 // User.hh - Class header for the User class
7 // $Date: 1998/09/10 19:58:41 $
13 // Revision 1.8 1998/09/10 19:58:41 mlong
14 // lots of little bug fixes and a few new features.
16 // Revision 1.7 1998/02/12 18:44:25 mlong
17 // *** empty log message ***
19 // Revision 1.6 1997/04/13 03:21:32 chess
20 // AddAbuse and SetStatistic added
22 // Revision 1.5 1997/04/07 22:22:12 chess
23 // *** empty log message ***
25 // Revision 1.4 1997/03/27 13:45:28 chess
26 // added functions to return user's statistics
28 // Revision 1.3 1997/03/21 15:29:53 moses
29 // *** empty log message ***
31 // Revision 1.2 1996/10/01 20:14:43 moses
34 // Revision 1.1 1996/09/30 20:52:48 moses
38 //--------------------------------------------------------------------------
49 #include <sys/param.h>
50 #include <sys/types.h>
71 class User : public Link {
80 void LoadPlayer(char *);
81 short LoadPlayer(char *, char *);
83 void SavePlayer(char *);
85 float GetRating(void);
86 int GetManagerLevel(void);
93 long GetSeconds(void);
95 float GetPlacePoints(void);
96 long GetPlayedTourneys(void);
97 long GetManagedTourneys(void);
102 void ResetAbuse(void);
104 void AddManagedTourney();
105 void ChangeManagerLevel(int);
107 void AddPlayedTourney();
109 int SetStatistic(int, int);
111 void AddStat(double);
113 void CalculateRating(float, float);
116 void CalculateRating(void);
123 void AddSecond(void);
126 void CreateDirectory(char *, char *);
152 long managedTourneys;