Crossfire Server, Trunk  R213250
citylife.c File Reference
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "citylife.h"
#include "citylife_proto.h"
#include "svnversion.h"
+ Include dependency graph for citylife.c:

Go to the source code of this file.

Data Structures

struct  mapzone
 
struct  spawn_point
 
struct  spawn_zone
 

Macros

#define FIRST_MOVE_KEY   "citylife_first_move"
 

Functions

CF_PLUGIN int citylife_runPluginCommand (object *op, char *params)
 
CF_PLUGIN void * getPluginProperty (int *type,...)
 
CF_PLUGIN int initPlugin (const char *iversion, f_plug_api gethooksptr)
 

Variables

static const char *const darcap_archs []
 
static const spawn_point darcap_points []
 
static const spawn_zone darcap_zones []
 
static const char *const navar_archs []
 
static const spawn_point navar_ne_points []
 
static const spawn_zone navar_ne_zones []
 
static const spawn_point navar_nw_points []
 
static const spawn_zone navar_nw_zones []
 
static const spawn_point navar_se_points []
 
static const spawn_zone navar_se_zones []
 
static const spawn_point navar_sw_points []
 
static const spawn_zone navar_sw_zones []
 
static const char *const port_joseph_archs []
 
static const spawn_point port_joseph_points []
 
static const spawn_zone port_joseph_zones []
 
static const char *const santo_dominion_archs []
 
static const spawn_point santo_dominion_points []
 
static const spawn_zone santo_dominion_zones []
 
static const char *const scorn_archs []
 
static const spawn_point scorn_ne_points []
 
static const spawn_zone scorn_ne_zones []
 
static const spawn_point scorn_nw_points []
 
static const spawn_zone scorn_nw_zones []
 
static const spawn_point scorn_se_points []
 
static const spawn_zone scorn_se_zones []
 
static const spawn_point scorn_sw_points []
 
static const spawn_zone scorn_sw_zones []
 
static const char *const scorncounty_archs []
 
static const spawn_point scorncounty_points []
 
static const spawn_zone scorncounty_zones []
 
static const char *const stoneville_archs []
 
static const spawn_point stoneville_points []
 
static const spawn_zone stoneville_zones []
 
CF_PLUGIN char SvnRevPlugin [] = SVN_REV
 
static const char *const wolfsburg_archs []
 
static const spawn_point wolfsburg_points []
 
static const spawn_zone wolfsburg_zones []
 
static const mapzone available_zones []
 
static const mapzoneget_zone_for_map (mapstruct *map)
 
static objectget_npc (const mapzone *zone)
 
static void add_npc_to_zone (const mapzone *zone, mapstruct *map)
 
static void add_npc_to_point (const mapzone *zone, mapstruct *map)
 
static void add_npcs_to_map (mapstruct *map)
 
static void add_npc_to_random_map (void)
 
CF_PLUGIN int citylife_globalEventListener (int *type,...)
 
CF_PLUGIN int postInitPlugin (void)
 
CF_PLUGIN int eventListener (int *type,...)
 
CF_PLUGIN int closePlugin (void)
 

Detailed Description

This file is part of the city life plugin. See this page for more information.

Definition in file citylife.c.

Variable Documentation

◆ scorncounty_archs

const char* const scorncounty_archs[]
static
Initial value:
= {
"child",
"farmer",
"fatman",
"fatwoman",
}

Definition at line 557 of file citylife.c.

◆ scorncounty_points

const spawn_point scorncounty_points[]
static
Initial value:
= {
{24, 27},
{26, 27},
{24, 29},
{27, 29},
{24, 31},
{24, 34},
{34, 32},
{41, 1},
}

Definition at line 546 of file citylife.c.

◆ scorncounty_zones

const spawn_zone scorncounty_zones[]
static
Initial value:
= {
{24, 27, 27, 35},
{25, 12, 27, 18},
{34, 12, 36, 16},
{38, 0, 45, 2},
}

Definition at line 538 of file citylife.c.