server/src/common/spells/spells.c

42 lines
909 B
C
Raw Normal View History

2001-01-25 10:37:55 +01:00
/* vi: set ts=2:
*
*
2001-01-25 10:37:55 +01:00
* Eressea PB(E)M host Copyright (C) 1998-2000
* 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.
*/
#include <config.h>
#include <eressea.h>
2001-01-25 10:37:55 +01:00
#include "spells.h"
#include "alp.h"
/*
#include "firewall.h"
*/
struct curse_type;
extern const struct curse_type ct_firewall;
extern void ct_register(const struct curse_type * ct);
extern curse_type cursedaten[MAXCURSE];
2001-01-25 10:37:55 +01:00
void
init_spells(void)
{
int i;
2001-01-25 10:37:55 +01:00
/* sp_summon_alp */
init_alp();
/* init_firewall(); */
ct_register(&ct_firewall);
for (i=0;i!=MAXCURSE;++i) {
ct_register(&cursedaten[i]);
}
2001-01-25 10:37:55 +01:00
}