server/src/common/modules/gmcmd.h

34 lines
920 B
C
Raw Normal View History

2001-01-30 21:02:06 +01:00
/* vi: set ts=2:
*
*
2001-01-30 21:02:06 +01:00
* Eressea PB(E)M host Copyright (C) 1998-2000
* 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.
*/
struct plane;
2001-01-28 11:10:22 +01:00
struct attrib;
struct unit;
struct faction;
struct region;
2001-01-28 11:10:22 +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
extern void gmcommands(void);
2001-01-30 21:02:06 +01:00
/* execute commands */
2001-01-28 11:10:22 +01:00
extern struct faction * gm_addfaction(const char * email, struct plane * p, struct region * r);
extern struct plane * gm_addplane(int 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);