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