server/src/common/modules/museum.h

50 lines
1.1 KiB
C
Raw Normal View History

2001-01-27 12:32:32 +01:00
/* vi: set ts=2:
*
*
* Eressea PB(E)M host Copyright (C) 1998-2003
2001-01-27 12:32:32 +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.
*/
#ifndef HEADER_MUSEUM_H
#define HEADER_MUSEUM_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef MUSEUM_MODULE
2003-12-14 11:10:30 +01:00
#error "must define MUSEUM_MODULE to use this module"
#endif
2001-01-27 12:32:32 +01:00
extern attrib_type at_warden;
extern attrib_type at_museumexit;
extern attrib_type at_museumgivebackcookie;
extern attrib_type at_museumgiveback;
typedef struct {
int warden_no;
int cookie;
} museumgivebackcookie;
typedef struct {
int cookie;
struct item *items;
} museumgiveback;
extern void register_museum(void);
2002-09-02 22:36:12 +02:00
extern void create_museum(void);
extern void warden_add_give(struct unit *src, struct unit *u, const struct item_type *itype, int n);
#ifdef __cplusplus
}
#endif
2001-01-27 12:32:32 +01:00
#endif