ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/hiscore.C
(Generate patch)

Comparing deliantra/server/server/hiscore.C (file contents):
Revision 1.7 by root, Tue Sep 12 19:20:08 2006 UTC vs.
Revision 1.9 by root, Fri Sep 29 11:53:09 2006 UTC

16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 20
21 The authors can be reached via e-mail at crossfire-devel@real-time.com 21 The authors can be reached via e-mail at <crossfire@schmorp.de>
22*/ 22*/
23 23
24#include <global.h> 24#include <global.h>
25#ifndef __CEXTRACT__ 25#ifndef __CEXTRACT__
26# include <sproto.h> 26# include <sproto.h>
30 * The score structure is used when treating new high-scores 30 * The score structure is used when treating new high-scores
31 */ 31 */
32 32
33typedef struct scr 33typedef struct scr
34{ 34{
35 char name[BIG_NAME]; /* name */ 35 char name[64]; // name */
36 char title[BIG_NAME]; /* Title */ 36 char title[64]; // Title */
37 char killer[BIG_NAME]; /* name (+ title) or "quit" */ 37 char killer[64]; // name (+ title) or "quit" */
38 sint64 exp; /* Experience */ 38 sint64 exp; // Experience */
39 char maplevel[BIG_NAME]; /* Killed on what level */ 39 char maplevel[128]; // Killed on what level */
40 int maxhp, maxsp, maxgrace; /* Max hp, sp, grace when killed */ 40 int maxhp, maxsp, maxgrace; // Max hp, sp, grace when killed */
41 int position; /* Position in the highscore list */ 41 int position; // Position in the highscore list */
42} score; 42} score;
43 43
44/* 44/*
45 * spool works mostly like strtok(char *, ":"), but it can also 45 * spool works mostly like strtok(char *, ":"), but it can also
46 * log a specified error message if something goes wrong. 46 * log a specified error message if something goes wrong.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines