Crossfire Server, Trunk  R20513
Data Fields
mapzone Struct Reference

Options for a map. More...

Collaboration diagram for mapzone:
Collaboration graph

Data Fields

int archetypes_count
 Number of items in available_archetypes. More...
 
const char *const * available_archetypes
 What archetypes can we chose from for an NPC? More...
 
int count_points
 How many items in points. More...
 
int count_zones
 How many items in zones. More...
 
const char * mapname
 Map path. More...
 
const spawn_pointpoints
 Points to spawn from when there is a player on the map. More...
 
int population
 Maximum of NPCs to add at load time. More...
 
const spawn_zonezones
 Zones where to spawn at load time. More...
 

Detailed Description

Options for a map.

Definition at line 131 of file citylife.c.

Field Documentation

int mapzone::archetypes_count

Number of items in available_archetypes.

Definition at line 139 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 138 of file citylife.c.

Referenced by get_npc().

int mapzone::count_points

How many items in points.

Definition at line 133 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 135 of file citylife.c.

Referenced by add_npc_to_zone().

const char* mapzone::mapname

Map path.

Definition at line 137 of file citylife.c.

const spawn_point* mapzone::points

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

Definition at line 132 of file citylife.c.

Referenced by add_npc_to_point().

int mapzone::population

Maximum of NPCs to add at load time.

Definition at line 136 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 134 of file citylife.c.

Referenced by add_npc_to_zone().


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