/************************************************************************ Realms of Aurealis James Rhone aka Vall of RoA filename description here ******** Heavily modified and expanded ******** ******** 100% Completely Original Code ******** *** BE AWARE OF ALL RIGHTS AND RESERVATIONS *** ******** Heavily modified and expanded ******** ******** 100% Completely Original Code ******** All rights reserved henceforth. Please note that no guarantees are associated with any code from Realms of Aurealis. All code which has been released to the general public has been done so with an 'as is' pretense. RoA is based on both Diku and CircleMUD and ALL licenses from both *MUST* be adhered to as well as the RoA license. *** Read, Learn, Understand, Improve *** *************************************************************************/ #ifndef ROA_HTOWN_H #define ROA_HTOWN_H // related structures /* RoA hometown data structure assigned in constants.c */ typedef struct htown_data { char *name; /* whats the name of the hometown */ int rvnum; /* whats the hometown gateway or loadroom(inn) */ int races[NUM_RACES+1]; /* what races are allowed ( + undefined ) */ BOOL on_menu; /* is it choosable on startup? */ } htdata; // defines #define HTOWNS_FILE "config/htowns.cfg" #define MAX_HTOWNS 25 #define DEF_HOMETOWN 30 #define DEF_GATEWAY 3001 #define HTOWN_SLOT(ch) ((ch)->pc_specials->index) #define HTOWN_EDITTED(ch) ((ch)->pc_specials->htown_editted) // function protos void init_htowns(void); #endif // ROA_HTOWN_H