server/src/common/gamecode/study.h
Enno Rehling b524e7e392 move study.h where it belongs
tutorial gets a "defaultorder" string
2006-01-29 00:28:46 +00:00

41 lines
933 B
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 H_KRNL_STUDY
#define H_KRNL_STUDY
#ifdef __cplusplus
extern "C" {
#endif
extern void teaching(void);
extern void learn(void);
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