server/src/common/gamecode/study.h

42 lines
933 B
C
Raw Normal View History

2001-01-25 10:37:55 +01:00
/* vi: set ts=2:
*
*
* Eressea PB(E)M host Copyright (C) 1998-2003
2001-01-25 10:37:55 +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 H_KRNL_STUDY
#define H_KRNL_STUDY
#ifdef __cplusplus
extern "C" {
#endif
extern void teaching(void);
extern void learn(void);
2001-01-25 10:37:55 +01:00
extern magic_t getmagicskill(void);
extern boolean is_migrant(struct unit *u);
extern int study_cost(struct unit *u, skill_t talent);
#define MAXTEACHERS 4
typedef struct teaching_info {
struct unit * teachers[MAXTEACHERS];
int value;
} teaching_info;
extern const struct attrib_type at_learning;
#ifdef __cplusplus
}
#endif
#endif