forked from github/server
79dc9acf5f
- fixing some latin1 loading - improved the spell-syntax writer - replaced my email address
49 lines
1.1 KiB
C
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.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 struct attrib_type at_warden;
|
|
extern struct attrib_type at_museumexit;
|
|
extern struct attrib_type at_museumgivebackcookie;
|
|
extern struct 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
|