missing struct declarations in curse.h

remove config.h from spells and curses.
This commit is contained in:
Enno Rehling 2016-11-17 11:27:20 +01:00
parent b24f8b2839
commit d1d1bee8f6
7 changed files with 3 additions and 7 deletions

View file

@ -30,6 +30,8 @@ extern "C" {
struct curse_type; struct curse_type;
struct gamedata; struct gamedata;
struct storage; struct storage;
struct attrib;
struct faction;
/* Sprueche in der struct region und auf Einheiten, Schiffen oder Burgen /* Sprueche in der struct region und auf Einheiten, Schiffen oder Burgen
* (struct attribute) * (struct attribute)

View file

@ -12,7 +12,6 @@
*/ */
#include <platform.h> #include <platform.h>
#include <kernel/config.h>
#include "buildingcurse.h" #include "buildingcurse.h"
/* kernel includes */ /* kernel includes */

View file

@ -1,5 +1,4 @@
#include <platform.h> #include <platform.h>
#include <kernel/config.h>
#include <kernel/curse.h> #include <kernel/curse.h>
#include <kernel/messages.h> #include <kernel/messages.h>
#include <util/language.h> #include <util/language.h>

View file

@ -1,5 +1,4 @@
#include <platform.h> #include <platform.h>
#include <kernel/config.h>
#include <kernel/curse.h> #include <kernel/curse.h>
#include <kernel/building.h> #include <kernel/building.h>
#include <kernel/faction.h> #include <kernel/faction.h>

View file

@ -12,7 +12,6 @@
*/ */
#include <platform.h> #include <platform.h>
#include <kernel/config.h>
#include "regioncurse.h" #include "regioncurse.h"
#include "magic.h" #include "magic.h"
@ -50,7 +49,7 @@ static message *cinfo_cursed_by_the_gods(const void *obj, objtype_t typ,
unused_arg(self); unused_arg(self);
assert(typ == TYP_REGION); assert(typ == TYP_REGION);
if (fval(r->terrain, SEA_REGION)) { if (r->terrain->flags & SEA_REGION) {
return msg_message("curseinfo::godcurseocean", "id", c->no); return msg_message("curseinfo::godcurseocean", "id", c->no);
} }
return msg_message("curseinfo::godcurse", "id", c->no); return msg_message("curseinfo::godcurse", "id", c->no);

View file

@ -12,7 +12,6 @@
*/ */
#include <platform.h> #include <platform.h>
#include <kernel/config.h>
#include "shipcurse.h" #include "shipcurse.h"
/* kernel includes */ /* kernel includes */

View file

@ -12,7 +12,6 @@
*/ */
#include <platform.h> #include <platform.h>
#include <kernel/config.h>
#include "unitcurse.h" #include "unitcurse.h"
/* kernel includes */ /* kernel includes */