zones.h
pdirt/drv/include/zones.h · 895 B
From the archive pDirt-1_tar.gz
Download the archive « Back to the archive contents
#ifndef __ZONES_H__
#define __ZONES_H__
int get_zone_by_name(char *zname);
int get_wizzone_by_name(char *name);
int loc2zone(int loc);
int findzone(int loc, char *str);
int getlocid(int z,int off);
int getlocnum(char *zname,int off);
int get_zone_locs(int zone, int *start, int *end);
void reset_zone(int z, time_t *now, int *d_locs, int *d_mobs, int *d_objs,
int *r_locs, int *r_mobs, int *r_objs);
char *wiz_loc_filename(char *buff, char *name);
char *wiz_mob_filename(char *buff, char *name);
char *wiz_obj_filename(char *buff, char *name);
int load_zone(char *name, int *nlocs, int *nlocs_f, int *nmobs, int *nmobs_f,
int *nobjs, int *nobjs_f);
Boolean has_access_to(int player, int loc, int obj);
Boolean can_manipulate(int player, int mob);
A_COMMAND(zonescom);
A_COMMAND(zoneinfocom);
#endif /* Add nothing past this line... */