- Added enums for status and player race, traits, and skills.

- The player race enum has been expanded so that it can also be used as monster race; it's not yet used as such though.
- Additional races Vahnatai, Plant, and Bird added.
- Alter the terrain special flags so that they can be used as signed shorts in the few cases that require it, and changed dangerous terrain to combine the curse/bless and slow/haste cases.
- Fixed an unnoticed error which would have probably prevented monsters from being affected by conveyors.
- Refined the dangerous terrain special ability with more messages and also handling all cases except weapon poison.

git-svn-id: http://openexile.googlecode.com/svn/trunk@79 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-29 04:47:54 +00:00
parent 2485e57514
commit 50829034a9
121 changed files with 333 additions and 273 deletions

View File

@@ -44,7 +44,7 @@ cPlayer& cPlayer::operator = (legacy::pc_record_type old){
}
which_graphic = old.which_graphic;
weap_poisoned = old.weap_poisoned;
race = old.race;
race = (eRace) old.race;
//exp_adj = old.exp_adj;
direction = old.direction;
return *this;
@@ -97,7 +97,7 @@ cPlayer::cPlayer(){
//advan[i] = false;
traits[i] = false;
}
race = 0;
race = RACE_HUMAN;
//exp_adj = 100;
direction = 0;
}
@@ -155,7 +155,7 @@ cPlayer::cPlayer(long key,short slot){
traits[i] = false;
}
race = 0;
race = RACE_HUMAN;
//exp_adj = 100;
direction = 0;
}else if(key == 'dflt'){
@@ -228,7 +228,7 @@ cPlayer::cPlayer(long key,short slot){
//advan[i] = false;
}
race = pc_race[slot];
race = (eRace) pc_race[slot];
//exp_adj = 100;
direction = 0;