Go to the documentation of this file.
52 {
"/world/world_104_115",
"city" },
53 {
"/world/world_105_115",
"city" },
54 {
"/world/world_104_116",
"city" },
55 {
"/world/world_105_116",
"city" },
57 {
"/world/world_122_116",
"city" },
58 {
"/world/world_121_116",
"city" },
59 {
"/world/world_122_117",
"city" },
60 {
"/world/world_121_117",
"city" },
75 if (strcmp(
zones[zone].mappath,
map->path) == 0)
111 int seed = 0, len, w = 0;
113 snprintf(
r,
sizeof(
r),
"%s!%d,%d*%s", exit->
arch->
name, exit->
x, exit->
y,
map->path);
117 seed ^= ((
int)
r[len])<<w;
142 "floorstyle indoor\n"
147 "decorstyle furniture\n"
192 code = va_arg(
args,
int);
void random_house_generator_init(Settings *settings)
static void add_exit_to_item(object *exit, const house_zone_struct *zone, const mapstruct *map)
static int is_suitable_exit(object *exit)
static void add_exits_to_map(const mapstruct *map)
static const house_zone_struct zones[]
event_registration events_register_global_handler(int eventcode, f_plug_event hook)
void random_house_generator_close()
void events_unregister_global_handler(int eventcode, event_registration id)
sstring add_string(const char *str)
std::vector< char * > disabled_plugins
const char * monsterstyle
static event_registration eg
#define FOR_MAP_PREPARE(map_, mx_, my_, it_)
unsigned long event_registration
static int cfrhg_globalEventListener(int *type,...)
static int get_exit_seed(const object *exit, const mapstruct *map)
static const house_zone_struct * get_map_zone(const mapstruct *map)