- Moved some files around for better organization

- Fixed compile errors in the other targets.
- Added three test save files: one with a party not in a scenario, one with a party who has just entered Valley of Dying things,
  and one with the same party just after leaving town.
- Added the new menu file for the game that I'm working on (not yet used)

git-svn-id: http://openexile.googlecode.com/svn/trunk@53 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-06 20:23:54 +00:00
parent f8701fdaff
commit 68dcf3cdef
59 changed files with 2736 additions and 58 deletions

56
osx/classes/monster.cpp Normal file
View File

@@ -0,0 +1,56 @@
/*
* monster.cpp
* BoE
*
* Created by Celtic Minstrel on 20/04/09.
*
*/
#include "classes.h"
#include "oldstructs.h"
__attribute__((deprecated))
cMonster& cMonster::operator = (legacy::monster_record_type& old){
int i;
m_num = old.m_num;
level = old.level;
strcpy((char*)m_name,(char*)old.m_name);
health = old.health;
m_health = old.m_health;
mp = old.mp;
max_mp = old.max_mp;
armor = old.armor;
skill = old.skill;
for(i = 0; i < 3; i++) a[i] = old.a[i];
a1_type = old.a1_type;
a23_type = old.a23_type;
m_type = (eMonsterType) old.m_type;
speed = old.speed;
ap = old.ap;
mu = old.mu;
cl = old.cl;
breath = old.breath;
breath_type = old.breath_type;
treasure = old.treasure;
spec_skill = old.spec_skill;
poison = old.poison;
morale = old.morale;
m_morale = old.m_morale;
corpse_item = old.corpse_item;
corpse_item_chance = old.corpse_item_chance;
for(i = 0; i < 15; i++) status[i] = old.status[i];
direction = old.direction;
immunities = old.immunities;
x_width = old.x_width;
y_width = old.y_width;
radiate_1 = old.radiate_1;
radiate_2 = old.radiate_2;
default_attitude = old.default_attitude;
summon_type = old.summon_type;
default_facial_pic = old.default_facial_pic;
res1 = old.res1;
res2 = old.res2;
res3 = old.res3;
picture_num = old.picture_num;
return *this;
}