- Reworked preferences to use plist - Cleaned out the shareware code - More tweaks to the dialog engine - Edited dialog #869 (the choose prefab scenario dialog) to use new invisible button (type 6) and to remove the "Must be registered" lines. - Tweaked window size so that the startup screen fits within it. - More major refactoring work. - A few additions/alterations to boe.consts.h Current status: - Scenario editor: compiles and runs, but can't load a scenario - Character editor: don't know - Game: Doesn't even compile I wouldn't normally submit code that doesn't compile, but I have already made a lot of major changes in this revision. I will submit a version that compiles as soon as possible. git-svn-id: http://openexile.googlecode.com/svn/trunk@28 4ebdad44-0ea0-11de-aab3-ff745001d230
26 lines
687 B
C++
26 lines
687 B
C++
/*
|
|
* monster.h
|
|
* BoE
|
|
*
|
|
* Created by Celtic Minstrel on 20/04/09.
|
|
*
|
|
*/
|
|
|
|
namespace legacy { struct monster_record_type; };
|
|
|
|
class cMonster {
|
|
public:
|
|
unsigned char m_num,level,m_name[26];
|
|
short health,m_health,mp,max_mp;
|
|
unsigned char armor,skill;
|
|
short a[3];
|
|
unsigned char a1_type,a23_type,m_type,speed,ap,mu,cl,breath,breath_type,treasure,spec_skill,poison;
|
|
short morale,m_morale;
|
|
short corpse_item,corpse_item_chance;
|
|
short status[15];
|
|
unsigned char direction,immunities,x_width,y_width,radiate_1,radiate_2;
|
|
unsigned char default_attitude,summon_type,default_facial_pic,res1,res2,res3;
|
|
short picture_num;
|
|
|
|
cMonster& operator = (legacy::monster_record_type& old);
|
|
}; |