]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - phantasia/oldplayer.h
Sync to 4.4BSD-Lite2, not that you'd know because none of these files have SCCS ID...
[bsdgames-darwin.git] / phantasia / oldplayer.h
1 /* $NetBSD: oldplayer.h,v 1.2 1995/03/24 03:59:09 cgd Exp $ */
2
3 /*
4 * oldplayer.h - old player structure
5 */
6
7 struct oldplayer /* player statistics */
8 {
9 char o_name[21]; /* name */
10 char o_password[9]; /* password */
11 char o_login[10]; /* login */
12 double o_x; /* x coord */
13 double o_y; /* y coord */
14 double o_experience; /* experience */
15 int o_level; /* level */
16 short o_quickness; /* quickness */
17 double o_strength; /* strength */
18 double o_sin; /* sin */
19 double o_mana; /* mana */
20 double o_gold; /* gold */
21 double o_energy; /* energy */
22 double o_maxenergy; /* maximum energy */
23 double o_magiclvl; /* magic level */
24 double o_brains; /* brains */
25 short o_crowns; /* crowns */
26 struct
27 {
28 short ring_type; /* type of ring */
29 short ring_duration; /* duration of ring */
30 } o_ring; /* ring stuff */
31 bool o_palantir; /* palantir */
32 double o_poison; /* poison */
33 short o_holywater; /* holy water */
34 short o_amulets; /* amulets */
35 bool o_blessing; /* blessing */
36 short o_charms; /* charms */
37 double o_gems; /* gems */
38 short o_quksilver; /* quicksilver */
39 double o_sword; /* sword */
40 double o_shield; /* shield */
41 short o_type; /* character type */
42 bool o_virgin; /* virgin */
43 short o_lastused; /* day of year last used */
44 short o_status; /* playing, cloaked, etc. */
45 short o_tampered; /* decree'd, etc. flag */
46 double o_1scratch,
47 o_2scratch; /* variables used for decree, player battle */
48 bool o_blindness; /* blindness */
49 int o_notused; /* not used */
50 long o_age; /* age in seconds */
51 short o_degenerated; /* age/2500 last degenerated */
52 short o_istat; /* used for inter-terminal battle */
53 #ifdef PHANTPLUS
54 short o_lives;
55 #endif
56 };