Crossfire Server, Branch 1.12
R12190
|
This file is part of the random house generation plugin. More...
Go to the source code of this file.
Data Structures | |
struct | house_zone_struct |
Link between a map and the exits to generate for it. More... | |
Typedefs | |
typedef struct house_zone_struct | house_zone_struct |
Link between a map and the exits to generate for it. | |
Functions | |
static void | add_exit_to_item (object *exit, const house_zone_struct *zone, const mapstruct *map) |
Change an empty exit to point to a random map. | |
static void | add_exits_to_map (const mapstruct *map) |
Checks if the map should be processed, and if so process it. | |
CF_PLUGIN void * | cfrhg_globalEventListener (int *type,...) |
Global server event handling. | |
CF_PLUGIN int | cfrhg_runPluginCommand (object *op, char *params) |
Unused. | |
CF_PLUGIN int | closePlugin (void) |
Unloading of plugin. | |
CF_PLUGIN void * | eventListener (int *type,...) |
Unused. | |
static int | get_exit_seed (const object *exit, const mapstruct *map) |
Get the random map seed. | |
static const house_zone_struct * | get_map_zone (const mapstruct *map) |
Get the random map parameters of a map. | |
CF_PLUGIN void * | getPluginProperty (int *type,...) |
Get the plugin identification or full name. | |
CF_PLUGIN int | initPlugin (const char *iversion, f_plug_api gethooksptr) |
Plugin initialization. | |
static int | is_suitable_exit (object *exit) |
Should we add a random map to this exit? | |
CF_PLUGIN int | postInitPlugin (void) |
Plugin initialisation. | |
Variables | |
static const house_zone_struct | zones [] |
Maps we work on. |
This file is part of the random house generation plugin.
See this page for more information.
Definition in file cfrhg.c.