Files
oboe/osx/classes/creatlist.h
Celtic Minstrel c55948c03f - Removed the ADVEN macro in favour of using the overloaded operatr[] on univ.party
- Removed all referenes to cPopulation::dudes in favour of the overloaded operator[]

git-svn-id: http://openexile.googlecode.com/svn/trunk@84 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-05-30 23:11:47 +00:00

39 lines
720 B
C++

/*
* creatlist.h
* BoE
*
* Created by Celtic Minstrel on 24/04/09.
*
*/
#ifndef CREATLIST_H
#define CREATLIST_H
namespace legacy {
struct creature_list_type;
struct creature_data_type;
};
class cPopulation { // formerly creature_list_type
// class cCreature { // formerly creature_data_type
// public:
// short active, attitude;
// unsigned char number;
// location m_loc;
// cMonster m_d;
// bool mobile;
// short summoned;
// cTown::cCreature monst_start;
//
// cCreature& operator = (legacy::creature_data_type old);
// };
cCreature dudes[60];
public:
short which_town;
short friendly;
cPopulation& operator= (legacy::creature_list_type old);
cCreature& operator[](size_t n);
};
#endif