|
static void | add_npc_to_point (const mapzone *zone, mapstruct *map) |
| Add an NPC somewhere at a spawn point. More...
|
|
static void | add_npc_to_random_map (void) |
| Find a suitable map loaded and add an NPC to it. More...
|
|
static void | add_npc_to_zone (const mapzone *zone, mapstruct *map) |
| Add an NPC somewhere in a spawn zone. More...
|
|
static void | add_npcs_to_map (mapstruct *map) |
| Add some NPCs to the map, based on the zone definition. More...
|
|
static void | check_zone (const mapzone *zone, const char *path) |
| Check if the zone has valid parameters, LOG() when invalid ones. More...
|
|
void | citylife_close () |
|
static int | citylife_globalEventListener (int *type,...) |
|
void | citylife_init (Settings *, ServerSettings *serverSettings) |
|
static int | eventListener (int *type,...) |
|
static object * | get_npc (const mapzone *zone) |
| Creates a NPC for the specified zone, and do needed initialization. More...
|
|
static const mapzone * | get_zone_for_map (mapstruct *map) |
| Finds if a map has a zone defined. More...
|
|
static void | load_citylife (BufferReader *reader, const char *filename) |
| Read a .citylife file. More...
|
|
This file is part of the city life module. See this page for more information.
Definition in file citylife.cpp.