67 {
"/world/world_104_115",
"city" },
68 {
"/world/world_105_115",
"city" },
69 {
"/world/world_104_116",
"city" },
70 {
"/world/world_105_116",
"city" },
72 {
"/world/world_122_116",
"city" },
73 {
"/world/world_121_116",
"city" },
74 {
"/world/world_122_117",
"city" },
75 {
"/world/world_121_117",
"city" },
89 for (zone = 0; zones[zone].
mappath != NULL; zone++) {
90 if (strcmp(zones[zone].mappath, map->
path) == 0)
126 int seed = 0, len, w = 0;
132 seed ^= ((int)r[len])<<w;
156 snprintf(params,
sizeof(params),
"layoutstyle onion\n"
157 "floorstyle indoor\n"
162 "decorstyle furniture\n"
210 va_start(args, type);
211 code = va_arg(args,
int);
263 const char *propname;
267 va_start(args, type);
268 propname = va_arg(args,
const char *);
270 if (!strcmp(propname,
"Identification")) {
271 buf = va_arg(args,
char *);
272 size = va_arg(args,
int);
276 }
else if (!strcmp(propname,
"FullName")) {
277 buf = va_arg(args,
char *);
278 size = va_arg(args,
int);
CF_PLUGIN void * eventListener(int *type,...)
static const house_zone_struct zones[]
void *(* f_plug_api)(int *type,...)
CF_PLUGIN int cfrhg_runPluginCommand(object *op, char *params)
#define CFAPI_OBJECT_PROP_MESSAGE
CF_PLUGIN void * cfrhg_globalEventListener(int *type,...)
void cf_system_register_global_event(int event, const char *name, f_plug_api hook)
#define CFAPI_OBJECT_PROP_SLAYING
int cf_object_get_int_property(object *op, int propcode)
CF_PLUGIN int postInitPlugin(void)
CF_PLUGIN int initPlugin(const char *iversion, f_plug_api gethooksptr)
void cf_log(LogLevel logLevel, const char *format,...)
sstring cf_object_get_sstring_property(object *op, int propcode)
static const house_zone_struct * get_map_zone(const mapstruct *map)
int cf_init_plugin(f_plug_api getHooks)
struct house_zone_struct house_zone_struct
CF_PLUGIN int closePlugin(void)
const char * monsterstyle
static int is_suitable_exit(object *exit)
int snprintf(char *dest, int max, const char *format,...)
static void add_exit_to_item(object *exit, const house_zone_struct *zone, const mapstruct *map)
CF_PLUGIN void * getPluginProperty(int *type,...)
#define GET_MAP_OB(M, X, Y)
#define CFAPI_OBJECT_PROP_TYPE
void cf_object_set_string_property(object *op, int propcode, const char *value)
static void add_exits_to_map(const mapstruct *map)
static int get_exit_seed(const object *exit, const mapstruct *map)