2001-01-30 21:02:06 +01:00
|
|
|
/* vi: set ts=2:
|
|
|
|
*
|
2001-12-10 01:13:39 +01:00
|
|
|
*
|
2003-07-29 11:48:03 +02:00
|
|
|
* Eressea PB(E)M host Copyright (C) 1998-2003
|
2001-01-30 21:02:06 +01:00
|
|
|
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
|
|
|
* Katja Zedel (katze@felidae.kn-bremen.de)
|
|
|
|
* Henning Peters (faroul@beyond.kn-bremen.de)
|
|
|
|
* Enno Rehling (enno@eressea-pbem.de)
|
|
|
|
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
|
|
|
|
*
|
|
|
|
* This program may not be used, modified or distributed without
|
|
|
|
* prior permission by the authors of Eressea.
|
|
|
|
*/
|
|
|
|
|
2003-07-29 11:48:03 +02:00
|
|
|
#ifndef H_MOD_GMCMD
|
|
|
|
#define H_MOD_GMCMD
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2001-12-10 01:13:39 +01:00
|
|
|
struct plane;
|
2001-01-28 11:10:22 +01:00
|
|
|
struct attrib;
|
|
|
|
struct unit;
|
2001-04-01 08:58:45 +02:00
|
|
|
struct faction;
|
2001-12-10 01:13:39 +01:00
|
|
|
struct region;
|
2001-01-28 11:10:22 +01:00
|
|
|
|
2001-01-30 21:26:06 +01:00
|
|
|
extern void init_gmcmd(void);
|
2001-01-30 21:02:06 +01:00
|
|
|
/* initialize this module */
|
2001-01-28 11:10:22 +01:00
|
|
|
|
2001-01-30 21:26:06 +01:00
|
|
|
extern void gmcommands(void);
|
2001-01-30 21:02:06 +01:00
|
|
|
/* execute commands */
|
2001-01-28 11:10:22 +01:00
|
|
|
|
2001-12-10 01:13:39 +01:00
|
|
|
extern struct faction * gm_addfaction(const char * email, struct plane * p, struct region * r);
|
2005-06-10 00:10:35 +02:00
|
|
|
extern struct plane * gm_addplane(short radius, unsigned int flags, const char * name);
|
2001-01-30 21:02:06 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* doesn't belong in here:
|
|
|
|
*/
|
|
|
|
struct attrib * find_key(struct attrib * attribs, int key);
|
2003-07-29 11:48:03 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|