[BACK]Return to oldplayer.h CVS log [TXT][DIR] Up to [local] / src / games / phantasia

File: [local] / src / games / phantasia / Attic / oldplayer.h (download)

Revision 1.2, Sun Jan 28 23:41:47 2001 UTC (23 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.1: +1 -0 lines

$OpenBSD$

/*	$OpenBSD: oldplayer.h,v 1.2 2001/01/28 23:41:47 niklas Exp $	*/
/*	$NetBSD: oldplayer.h,v 1.2 1995/03/24 03:59:09 cgd Exp $	*/

/*
 * oldplayer.h - old player structure
 */

struct	oldplayer	    	/* player statistics */
    {
    char	o_name[21];	/* name */
    char	o_password[9];	/* password */
    char	o_login[10];	/* login */
    double	o_x;	    	/* x coord */
    double	o_y;	    	/* y coord */
    double	o_experience;	/* experience */
    int		o_level;    	/* level */
    short	o_quickness;	/* quickness */
    double	o_strength;	/* strength */
    double	o_sin;		/* sin */
    double	o_mana;		/* mana */
    double	o_gold;		/* gold */
    double	o_energy;	/* energy */
    double	o_maxenergy;	/* maximum energy */
    double	o_magiclvl;	/* magic level */
    double	o_brains;	/* brains */
    short	o_crowns;	/* crowns */
    struct
	{
	short	ring_type;	/* type of ring */
	short	ring_duration;	/* duration of ring */
	}	o_ring;	    	/* ring stuff */
    bool	o_palantir;	/* palantir */
    double	o_poison;	/* poison */
    short	o_holywater;   	/* holy water */
    short	o_amulets;	/* amulets */
    bool	o_blessing;	/* blessing */
    short	o_charms;	/* charms */
    double	o_gems;		/* gems */
    short	o_quksilver;	/* quicksilver */
    double	o_sword;	/* sword */
    double	o_shield;	/* shield */
    short	o_type;		/* character type */
    bool	o_virgin;	/* virgin */
    short	o_lastused;	/* day of year last used */
    short	o_status;	/* playing, cloaked, etc. */
    short	o_tampered;	/* decree'd, etc. flag */
    double	o_1scratch,
		o_2scratch;	/* variables used for decree, player battle */
    bool	o_blindness;	/* blindness */
    int		o_notused;   	/* not used */
    long	o_age;		/* age in seconds */
    short	o_degenerated;	/* age/2500 last degenerated */
    short	o_istat;	/* used for inter-terminal battle */
#ifdef PHANTPLUS
    short	o_lives;
#endif
    };