47 #include <svnversion.h> 65 if (!strcmp(god_name,
"Devourers") ||
66 !strcmp(god_name,
"Sorig") ||
67 !strcmp(god_name,
"Ruggilli") ||
68 !strcmp(god_name,
"Gaea") ||
69 !strcmp(god_name,
"Mostrai") ||
70 !strcmp(god_name,
"Lythander"))
72 snprintf(buf,
MAX_BUF,
"You hear the bell of the glorious temple of %s.", god_name);
74 else if (!strcmp(god_name,
"Valriel") ||
75 !strcmp(god_name,
"Gorokh"))
77 snprintf(buf,
MAX_BUF,
"You hear the bell of the glorious church of %s.", god_name);
80 strcpy(buf,
"You hear the bells of the various temples of Scorn.");
95 if (!strcmp(god_name,
"Devourers"))
99 else if (!strcmp(god_name,
"Valkyrie"))
119 if (!strcmp(god_name,
"Gorokh") ||
120 !strcmp(god_name,
"Ruggilli") ||
121 !strcmp(god_name,
"Sorig") ||
122 !strcmp(god_name,
"Valkyrie") ||
123 !strcmp(god_name,
"Valriel"))
126 snprintf(buf,
MAX_BUF,
"You hear the bell of the glorious temple of %s.", god_name);
129 else if (!strcmp(god_name,
"Mostrai"))
133 else if (!strcmp(god_name,
"Gaea"))
150 const char *reg_name;
163 if (!strcmp(reg_name,
"scorn"))
167 else if (!strcmp(reg_name,
"darcap"))
171 else if (!strcmp(reg_name,
"navar"))
194 va_start(args, type);
195 code = va_arg(args,
int);
251 const char *propname;
255 va_start(args, type);
256 propname = va_arg(args,
const char *);
258 if (!strcmp(propname,
"Identification")) {
259 buf = va_arg(args,
char *);
260 size = va_arg(args,
int);
264 }
else if (!strcmp(propname,
"FullName")) {
265 buf = va_arg(args,
char *);
266 size = va_arg(args,
int);
CF_PLUGIN void * getPluginProperty(int *type,...)
void cf_get_time(timeofday_t *tod)
#define CFAPI_OBJECT_PROP_GOD
region * cf_map_get_region_property(mapstruct *map, int propcode)
static void ring_scorn(object *pl)
CF_PLUGIN char SvnRevPlugin[]
CF_PLUGIN int closePlugin(void)
void cf_log(LogLevel logLevel, const char *format,...)
sstring cf_object_get_sstring_property(object *op, int propcode)
CF_PLUGIN int eventListener(int *type,...)
int cf_init_plugin(f_plug_api getHooks)
static void ring_navar(object *pl)
const char * cf_region_get_name(region *reg)
void cf_system_register_global_event(int event, const char *name, f_plug_event hook)
CF_PLUGIN int cfcitybell_globalEventListener(int *type,...)
object * cf_object_get_object_property(object *op, int propcode)
#define CFAPI_PLAYER_PROP_NEXT
void cf_player_message(object *op, char *txt, int flags)
CF_PLUGIN int cfcitybell_runPluginCommand(object *op, char *params)
#define CFAPI_MAP_PROP_REGION
CF_PLUGIN int initPlugin(const char *iversion, f_plug_api gethooksptr)
static void ring_bell(void)
static void ring_darcap(object *pl)
void(* f_plug_api)(int *type,...)
CF_PLUGIN int postInitPlugin(void)