Mercurial > hg > early-roguelike
comparison rogue5/score.h @ 33:f502bf60e6e4
Import Rogue 5.4 from the Roguelike Restoration Project (r1490)
| author | elwin |
|---|---|
| date | Mon, 24 May 2010 20:10:59 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 32:2dcd75e6a736 | 33:f502bf60e6e4 |
|---|---|
| 1 /* | |
| 2 * Score file structure | |
| 3 * | |
| 4 * @(#)score.h 4.6 (Berkeley) 02/05/99 | |
| 5 * | |
| 6 * Rogue: Exploring the Dungeons of Doom | |
| 7 * Copyright (C) 1980-1983, 1985, 1999 Michael Toy, Ken Arnold and Glenn Wichman | |
| 8 * All rights reserved. | |
| 9 * | |
| 10 * See the file LICENSE.TXT for full copyright and licensing information. | |
| 11 */ | |
| 12 | |
| 13 struct sc_ent { | |
| 14 uid_t sc_uid; | |
| 15 int sc_score; | |
| 16 unsigned int sc_flags; | |
| 17 int sc_monster; | |
| 18 char sc_name[MAXSTR]; | |
| 19 int sc_level; | |
| 20 unsigned int sc_time; | |
| 21 }; | |
| 22 | |
| 23 typedef struct sc_ent SCORE; | |
| 24 | |
| 25 void rd_score(SCORE *top_ten); | |
| 26 void wr_score(SCORE *top_ten); |
