home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
013.DSAVANT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-03
|
2KB
|
74 lines
#define FIGHTER 0
#define MAGE 1
#define PRIEST 2
#define THIEF 3
#define RANGER 4
#define ALCHEMIST 5
#define BARD 6
#define PSIONIC 7
#define VALKYRI 8
#define BISHOP 9
#define LORD 10
#define SAMURAI 11
#define MONK 12
#define NINJA 13
#define HUMAN 0
#define ELF 1
#define DWARF 2
#define GNOME 3
#define HOBBIT 4
#define FAERIE 5
#define LIZARDMAN 6
#define DRACON 7
#define FELPURR 8
#define RAWULF 9
#define MOOK 10
#define MALE 0
#define FEMALE 1
class pc_class // individual player character
{
public:
char name[8]; // name
unsigned char unk1[4]; // unknown part 1
unsigned long experience; // exp
unsigned char unk1b[4];
unsigned long gold;
unsigned short hit_points;
unsigned short max_hit_points;
unsigned char unk1c[340];
unsigned char strength; // str
unsigned char intelligence; // int
unsigned char piety; // pie
unsigned char vitality; // vit
unsigned char dexterity; // dex
unsigned char speed; // spd
unsigned char personality; // per
unsigned char karma; // kar;
unsigned char unk2[191]; // unknown part 2
unsigned char race; // race
unsigned char sex;
unsigned char player_class; // player class
char unk2c[14];
void pc_print(); // print char;
void pc_edit();
} ;
class pc_file_class // pc file
{
public:
char unkf1[10820]; // unknown file pt 1
pc_class pcs[6]; // player characters
unsigned char unkt1[360];
unsigned char unkt2[208];
void init(); // open & read file
void fin(); // open & write file
void pc_print(); // print file;
void pc_comp(); // compare files;
void pc_results(); // compare files results;
void pc_edit();
} ;