Crossfire Server, Trunk  1.75.0
cfcitybell.cpp File Reference
#include "global.h"
#include "object.h"
#include "sproto.h"
#include <string.h>
#include <unordered_map>
+ Include dependency graph for cfcitybell.cpp:

Go to the source code of this file.

Data Structures

struct  Region
 One region with bells. More...
 

Functions

void cfcitybell_close ()
 
void cfcitybell_init (Settings *settings)
 Citybells module initialisation. More...
 
static int clock_listener (int *type,...)
 Global event handling, only uses EVENT_CLOCK. More...
 
static void load_bells (BufferReader *reader, const char *filename)
 Load a .bells file. More...
 
static void ring_bell (void)
 Ring the city bells for each player. More...
 

Variables

static event_registration global_handler
 
static int last_hr
 
static std::unordered_map< std::string, Region * > regions
 All defined regions. More...
 

Detailed Description

This file is part of the city bell module. See this page for more information.

Definition in file cfcitybell.cpp.