home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
ARSRC21.ZIP
/
AR256H.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-18
|
1KB
|
54 lines
// classes for arena
class square{
public:
unsigned char land; //terr type
unsigned char whatside; //side of monster
unsigned char whatmonster; //num of monster
unsigned char whose; //side of trees
//unsigned char castle; //123456789 for 9 castle squares else 0
};
class monster{
public:
unsigned char graphic; //what tile to show
unsigned char whatside; // playnumber = curpla
unsigned char id; // what sort it is
unsigned char status; // 1=just plain alive 0x11 = corpse 2=illusion 3=undead
unsigned char mshots;
unsigned char fire; //1=arrow 2=beam 3=ball
unsigned char mmoves;
unsigned char attack;
unsigned char defend;
unsigned char spellnum;
unsigned char spells[28];
unsigned char x,y;
unsigned char fly;
unsigned char range;
unsigned char immunities; //if 1,2,or 3 resists that kind of shot.
char alignment; //1=good -1=evil
char name[18];
char atmes[20];
char defmes[20];
char diemes[20];
char shotmes[20];
int power();
};