From 77949edf212dfa805753ec2d69e3e91181793816 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 29 Mar 1997 20:42:16 +0000 Subject: Make these compile on the PowerPC (an unsigned char system). --- larn/header.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'larn/header.h') diff --git a/larn/header.h b/larn/header.h index f6162229..2389d587 100644 --- a/larn/header.h +++ b/larn/header.h @@ -1,4 +1,4 @@ -/* $NetBSD: header.h,v 1.8 1996/05/22 00:36:04 mrg Exp $ */ +/* $NetBSD: header.h,v 1.9 1997/03/29 20:42:20 thorpej Exp $ */ /* header.h Larn is copyrighted 1986 by Noah Morgan. */ @@ -71,7 +71,7 @@ struct sphere struct sphere *p; /* pointer to next structure */ char x,y,lev; /* location of the sphere */ char dir; /* direction sphere is going in */ - char lifetime; /* duration of the sphere */ + short lifetime; /* duration of the sphere */ }; /* defines for the character attribute array c[] */ @@ -334,7 +334,7 @@ extern char aborted[],alpha[],beenhere[],boldon,cheat,ckpfile[],ckpflag; extern char *class[],course[],diagfile[],helpfile[]; extern char *inbuffer,is_alpha[],is_digit[]; extern char item[MAXX][MAXY],iven[],know[MAXX][MAXY],larnlevels[],lastmonst[]; -extern char level,*levelname[],logfile[],loginname[],logname[],*lpbuf,*lpend; +extern char *levelname[],logfile[],loginname[],logname[],*lpbuf,*lpend; extern char *lpnt,moved[MAXX][MAXY],mitem[MAXX][MAXY],monstlevel[]; extern char monstnamelist[],nch[],ndgg[],nlpts[],nomove,nosignal,nowelcome; extern char nplt[],nsw[],*objectname[],objnamelist[],optsfile[]; @@ -346,7 +346,7 @@ extern char spelknow[],*spelname[],*spelmes[],spelweird[MAXMONST+8][SPNUM]; extern char splev[],stealth[MAXX][MAXY],to_lower[],to_upper[],wizard; extern short diroffx[],diroffy[],hitflag,hit2flag,hit3flag,hitp[MAXX][MAXY]; extern short iarg[MAXX][MAXY],ivenarg[],lasthx,lasthy,lastnum,lastpx,lastpy; -extern short nobeep,oldx,oldy,playerx,playery; +extern short nobeep,oldx,oldy,playerx,playery,level; extern int dayplay,enable_scroll,srcount,yrepcount,userid,wisid,lfd,fd; extern uid_t uid, euid; extern long initialtime,outstanding_taxes,skill[],gtime,c[],cbak[]; -- cgit v1.2.3-56-ge451