Crossfire Server, Branches 1.12  R18729
mapzone Struct Reference
+ Collaboration diagram for mapzone:

Data Fields

int archetypes_count
 
const char *const * available_archetypes
 
int count_points
 
int count_zones
 
const char * mapname
 
const spawn_pointpoints
 
int population
 
const spawn_zonezones
 

Detailed Description

Options for a map.

Definition at line 127 of file citylife.c.

Field Documentation

int mapzone::archetypes_count

Number of items in available_archetypes.

Definition at line 135 of file citylife.c.

Referenced by get_npc().

const char* const* mapzone::available_archetypes

What archetypes can we chose from for an NPC?

Definition at line 134 of file citylife.c.

Referenced by get_npc().

int mapzone::count_points

How many items in points.

Definition at line 129 of file citylife.c.

Referenced by add_npc_to_point(), add_npc_to_random_map(), and get_zone_for_map().

int mapzone::count_zones

How many items in zones.

Definition at line 131 of file citylife.c.

Referenced by add_npc_to_zone().

const char* mapzone::mapname

Map path.

Definition at line 133 of file citylife.c.

const spawn_point* mapzone::points

Points to spawn from when there is a player on the map.

Definition at line 128 of file citylife.c.

Referenced by add_npc_to_point().

int mapzone::population

Maximum of NPCs to add at load time.

Definition at line 132 of file citylife.c.

Referenced by add_npcs_to_map().

const spawn_zone* mapzone::zones

Zones where to spawn at load time.

Definition at line 130 of file citylife.c.

Referenced by add_npc_to_zone().


The documentation for this struct was generated from the following file: