- 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:
33
osx/classes/creatlist.cpp
Normal file
33
osx/classes/creatlist.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* creatlist.cpp
|
||||
* BoE
|
||||
*
|
||||
* Created by Celtic Minstrel on 24/04/09.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "classes.h"
|
||||
#include "oldstructs.h"
|
||||
|
||||
__attribute__((deprecated))
|
||||
cPopulation::cCreature& cPopulation::cCreature::operator = (legacy::creature_data_type old){
|
||||
active = old.active;
|
||||
attitude = old.attitude;
|
||||
number = old.number;
|
||||
m_loc.x = old.m_loc.x;
|
||||
m_loc.y = old.m_loc.y;
|
||||
m_d = old.m_d;
|
||||
mobile = old.mobile;
|
||||
summoned = old.summoned;
|
||||
monst_start = old.monst_start;
|
||||
return *this;
|
||||
}
|
||||
|
||||
__attribute__((deprecated))
|
||||
cPopulation& cPopulation::operator = (legacy::creature_list_type old){
|
||||
for(int i = 0; i < 60; i++)
|
||||
dudes[i] = old.dudes[i];
|
||||
which_town = old.which_town;
|
||||
friendly = old.friendly;
|
||||
return *this;
|
||||
}
|
||||
Reference in New Issue
Block a user