56 #include <svnversion.h> 69 {
"/world/world_104_115",
"city" },
70 {
"/world/world_105_115",
"city" },
71 {
"/world/world_104_116",
"city" },
72 {
"/world/world_105_116",
"city" },
74 {
"/world/world_122_116",
"city" },
75 {
"/world/world_121_116",
"city" },
76 {
"/world/world_122_117",
"city" },
77 {
"/world/world_121_117",
"city" },
91 for (zone = 0; zones[zone].
mappath != NULL; zone++) {
128 int seed = 0, len, w = 0;
130 snprintf(r,
sizeof(r),
"%s!%d,%d*%s", exit->arch->name, exit->x, exit->y, map->
path);
134 seed ^= ((int)r[len])<<w;
158 snprintf(params,
sizeof(params),
"layoutstyle onion\n" 159 "floorstyle indoor\n" 164 "decorstyle furniture\n" 208 va_start(args, type);
209 code = va_arg(args,
int);
259 const char *propname;
263 va_start(args, type);
264 propname = va_arg(args,
const char *);
266 if (!strcmp(propname,
"Identification")) {
267 buf = va_arg(args,
char *);
268 size = va_arg(args,
int);
272 }
else if (!strcmp(propname,
"FullName")) {
273 buf = va_arg(args,
char *);
274 size = va_arg(args,
int);
static const house_zone_struct zones[]
CF_PLUGIN int cfrhg_runPluginCommand(object *op, char *params)
CF_PLUGIN int eventListener(int *type,...)
#define CFAPI_OBJECT_PROP_MESSAGE
#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
void cf_system_register_global_event(int event, const char *name, f_plug_event hook)
CF_PLUGIN int cfrhg_globalEventListener(int *type,...)
CF_PLUGIN int closePlugin(void)
const char * monsterstyle
static int is_suitable_exit(object *exit)
static void add_exit_to_item(object *exit, const house_zone_struct *zone, const mapstruct *map)
CF_PLUGIN void * getPluginProperty(int *type,...)
#define CFAPI_OBJECT_PROP_TYPE
#define FOR_MAP_PREPARE(map_, mx_, my_, it_)
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)
CF_PLUGIN char SvnRevPlugin[]
void(* f_plug_api)(int *type,...)