git-svn-id: http://openexile.googlecode.com/svn/trunk@31 4ebdad44-0ea0-11de-aab3-ff745001d230
77 lines
1.8 KiB
C++
77 lines
1.8 KiB
C++
/*
|
|
* party.h
|
|
* BoE
|
|
*
|
|
* Created by Celtic Minstrel on 24/04/09.
|
|
*
|
|
*/
|
|
|
|
namespace legacy {
|
|
struct party_record_type;
|
|
struct big_tr_type;
|
|
struct stored_items_list_type;
|
|
struct talk_save_type;
|
|
struct creature_list_type;
|
|
struct pc_record_type;
|
|
};
|
|
|
|
class cParty {
|
|
public:
|
|
class cConvers { // conversation; formerly talk_save_type
|
|
public:
|
|
short personality;
|
|
short town_num;
|
|
short str1, str2;
|
|
|
|
cConvers& operator = (legacy::talk_save_type old);
|
|
};
|
|
// formerly party_record_type
|
|
long age;
|
|
unsigned short gold;
|
|
unsigned short food;
|
|
unsigned char stuff_done[310][10];
|
|
unsigned char item_taken[200][8];
|
|
short light_level;
|
|
location outdoor_corner;
|
|
location i_w_c;
|
|
location p_loc;
|
|
location loc_in_sec;
|
|
cVehicle boats[30];
|
|
cVehicle horses[30];
|
|
cPopulation creature_save[4];
|
|
short in_boat;
|
|
short in_horse;
|
|
cOutdoors::cCreature out_c[10];
|
|
cItemRec magic_store_items[5][10];
|
|
short imprisoned_monst[4]; // Soul Crystal?
|
|
char m_seen[256];
|
|
char journal_str[50];
|
|
short journal_day[50];
|
|
short special_notes_str[140][2];
|
|
cConvers talk_save[120];
|
|
short direction;
|
|
short at_which_save_slot;
|
|
char alchemy[20];
|
|
bool can_find_town[200];
|
|
short key_times[100];
|
|
short party_event_timers[30];
|
|
short global_or_town[30];
|
|
short node_to_call[30];
|
|
char spec_items[50];
|
|
char help_received[120];
|
|
short m_killed[300]; // monsters killed per town, I think
|
|
long long total_m_killed, total_dam_done, total_xp_gained, total_dam_taken;
|
|
char scen_name[256];
|
|
|
|
cPlayer adven[6];
|
|
|
|
cItemRec stored_items[3][115]; // formerly stored_items_list_type
|
|
|
|
cParty& operator = (legacy::party_record_type& old);
|
|
void append(legacy::big_tr_type& old);
|
|
void append(legacy::stored_items_list_type& old,short which_list);
|
|
|
|
void add_pc(legacy::pc_record_type old);
|
|
void add_pc(cPlayer new_pc);
|
|
};
|