server/src/common/modules/museum.h
Enno Rehling 532cbd0a36 lua bindings
addplayer gesplittet
2003-12-14 10:10:30 +00:00

49 lines
1.1 KiB
C

/* vi: set ts=2:
*
*
* Eressea PB(E)M host Copyright (C) 1998-2003
* 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
#error "must define MUSEUM_MODULE to use this module"
#endif
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);
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
#endif