- Added code to the missile firing so that missiles that heal the target also work if they hit a PC.

- Added fields to the terrain class in preparation for new scenario format.
- Same with the party class, plus refactored it to use vectors and strings.
- Fixed a potential divide-by-zero error in get_ran.

git-svn-id: http://openexile.googlecode.com/svn/trunk@41 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-04-28 13:00:21 +00:00
parent 9ed2738f6c
commit 049754ea27
16 changed files with 252 additions and 192 deletions

View File

@@ -21,10 +21,13 @@ public:
unsigned char block_horse;
unsigned char light_radius;
unsigned char step_sound;
unsigned char shortcut_key;
unsigned char res1;
unsigned char res2;
unsigned char res3;
unsigned char shortcut_key; // for editor use only
unsigned char obj_num; // ditto (formerly res1)
unsigned char ground_type; // ditto (formerly res2)
unsigned char trim_type; // ditto, mostly (formerly res3)
unsigned short trim_ter; // ditto
unsigned short combat_arena;
location obj_pos; // editor use only
cTerrain& operator = (legacy::terrain_type_type& old);
};