Crossfire Server, Branch 1.12  R12190
Data Fields
mapzone Struct Reference

Options for a map. More...

Collaboration diagram for mapzone:
Collaboration graph
[legend]

Data Fields

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

Detailed Description

Options for a map.

Definition at line 127 of file citylife.c.


Field Documentation

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().

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().

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.

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().

Maximum of NPCs to add at load time.

Definition at line 132 of file citylife.c.

Referenced by add_npcs_to_map().

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: