Crossfire Server, Trunk
|
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <unordered_map>
#include <vector>
#include <string>
#include <assert.h>
#include "global.h"
#include "object.h"
#include "sproto.h"
Go to the source code of this file.
Data Structures | |
struct | mapzone |
struct | spawn_point |
struct | spawn_zone |
Macros | |
#define | CITYLIFE_NAME "citylife" |
#define | FIRST_MOVE_KEY "citylife_first_move" |
Functions | |
static void | add_npc_to_point (const mapzone *zone, mapstruct *map) |
static void | add_npc_to_random_map (void) |
static void | add_npc_to_zone (const mapzone *zone, mapstruct *map) |
static void | add_npcs_to_map (mapstruct *map) |
static void | check_zone (const mapzone *zone, const char *path) |
void | citylife_close () |
static int | citylife_globalEventListener (int *type,...) |
void | citylife_init (Settings *settings) |
static int | eventListener (int *type,...) |
static object * | get_npc (const mapzone *zone) |
static const mapzone * | get_zone_for_map (mapstruct *map) |
static void | load_citylife (BufferReader *reader, const char *filename) |
Variables | |
static event_registration | c |
static event_registration | m |
static std::unordered_map< std::string, mapzone * > | maps |
This file is part of the city life module. See this page for more information.
Definition in file citylife.cpp.