home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
ARSRC21.ZIP
/
AR256EX.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-02
|
3KB
|
84 lines
//globbles to be included by ar256h5 and ar256sp
//the gfx pointers are needed so that they can be freed
// later if need be
extern char players,width,height,maxmon;
extern int thisturn;
extern int strength_history[4][50];
extern int tree_history[4][50];
extern int attack_history[5][50]; // 1 for mirkwoods
extern int luck_history[5];// 1 for mirkwoods
extern unsigned char curpla,curmon,done,moves,noisy,isalive[4];
extern unsigned char pcol[4];//={4,2,1,24};
extern char pname[4][9];
extern char pstartx[4];//={5,15,15,5};
extern char pstarty[4];//={5,15,5,15};
extern char pgraph[4];
extern char moncounter[4];//={0};
extern char kills[4];
extern char balls;
extern signed int alignment[4];
extern char pattern[8];//={0x33,0xcc,0x33,0xcc,0x33,0xcc,0x33,0xcc};
//char spellprob[59]={
//9,3,7,1,2,2,4,2,2,2,//0-9
//2,5,4,7,3,5,3,2,3,6,//10-19
//5,7,6,3,5,3,3,3,9,9,//20-29
//6,2,2,2,2,2,2,3,2,2,//30-39
//2,5,4,4,7,2,2,2,2,2,//40-49
//5,3,3,3,2,2,2,2,2}; //50-59
extern char cursor;
extern int UD_MONSTERS;
extern int NOT_REGD;
extern unsigned char curx,cury;extern char cur_tile_col;
extern square sq[30][30];
//createitall();
//tweenturns();
extern drawmap(char,char);
//ending();
//endingtwo();
//drawtile(char,char,char,char);
//readingfx();
extern monster mon[4][30];
//monster create(char,char,unsigned char,char,char,char);
//recce();
extern fire(char,char);
//showfire(int,int,int,int,int);
//char fight(monster,monster);
//spells(void);
//sento(unsigned char,unsigned char);
//flyto(unsigned char,unsigned char);
//castspell(int,int); //if 2nd arg then illusion
extern void select(char *,char *,int);
//void getname(int,int,int);
extern void getadj(char *,char *);
extern int decide(int,int);
extern void foom(int,int); //show a shroom at map (int,int). calls drawtile.
extern void moof(int,int); //show a pentagram. calls nowt.
extern void penty(int size,int delay); //shows a penty twice. use moveto() first
extern void boof(int,int); //circles around int,int
extern void swarm(int,int,int,int,int); //covers an area in dots :I
extern void crawler(int,int,int,int); //line of fooms
// graphics data
extern unsigned char *terrt[8];
extern unsigned char *shroom[8];
extern unsigned char *tile[26];
extern unsigned char *ball[6];
extern int range(long,long,long,long);
extern int linesight(int,int,int,int);
extern int rangesight(int,int,int,int,int);
//int check(int,int);
//int adjust(char *,char *);
extern void bip(int);
extern void lowbip(int);
extern void tripbip(int);
extern void downbip(int);
extern void risingbip(int);
extern void orbattacked(int,int);