moved files for flyingship to subdir "spells"

This commit is contained in:
Philipp Dreher 2015-11-02 15:40:26 +01:00
parent 098abcc144
commit 8200fdb6c2
8 changed files with 7 additions and 5 deletions

View File

@ -117,7 +117,6 @@ set (ERESSEA_SRC
travelthru.c travelthru.c
monsters.c monsters.c
wormhole.c wormhole.c
flyingship.c
${SPELLS_SRC} ${SPELLS_SRC}
${RACES_SRC} ${RACES_SRC}
${ITEMS_SRC} ${ITEMS_SRC}
@ -209,7 +208,7 @@ set(TESTS_SRC
spy.test.c spy.test.c
study.test.c study.test.c
upkeep.test.c upkeep.test.c
flyingship.test.c spells/flyingship.test.c
spells/magicresistance.test.c spells/magicresistance.test.c
${ATTRIBUTES_TESTS} ${ATTRIBUTES_TESTS}
${UTIL_TESTS} ${UTIL_TESTS}

View File

@ -1,7 +1,6 @@
#include <platform.h> #include <platform.h>
#include "spells/shipcurse.h" #include "spells/shipcurse.h"
#include "monster.h" #include "monster.h"
#include "flyingship.h"
#include <kernel/equipment.h> #include <kernel/equipment.h>
#include <kernel/faction.h> #include <kernel/faction.h>
@ -10,6 +9,8 @@
#include <kernel/spellbook.h> #include <kernel/spellbook.h>
#include <kernel/unit.h> #include <kernel/unit.h>
#include <spells/flyingship.h>
#include <quicklist.h> #include <quicklist.h>
#include <tolua.h> #include <tolua.h>

View File

@ -28,7 +28,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "monster.h" #include "monster.h"
#include "lighthouse.h" #include "lighthouse.h"
#include "piracy.h" #include "piracy.h"
#include "flyingship.h"
#include <kernel/build.h> #include <kernel/build.h>
#include <kernel/building.h> #include <kernel/building.h>
@ -49,6 +48,8 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/terrainid.h> #include <kernel/terrainid.h>
#include <kernel/unit.h> #include <kernel/unit.h>
#include <spells/flyingship.h>
#include "direction.h" #include "direction.h"
#include "calendar.h" #include "calendar.h"
#include "skill.h" #include "skill.h"

View File

@ -22,7 +22,6 @@
#include "direction.h" #include "direction.h"
#include "randenc.h" #include "randenc.h"
#include "monster.h" #include "monster.h"
#include "flyingship.h"
#include <spells/borders.h> #include <spells/borders.h>
#include <spells/buildingcurse.h> #include <spells/buildingcurse.h>
@ -31,6 +30,7 @@
#include <spells/shipcurse.h> #include <spells/shipcurse.h>
#include <spells/combatspells.h> #include <spells/combatspells.h>
#include <spells/alp.h> #include <spells/alp.h>
#include <spells/flyingship.h>
/* kernel includes */ /* kernel includes */
#include <kernel/curse.h> #include <kernel/curse.h>

View File

@ -8,6 +8,7 @@ regioncurse.c
shipcurse.c shipcurse.c
unitcurse.c unitcurse.c
magicresistance.c magicresistance.c
flyingship.c
) )
FOREACH(_FILE ${_FILES}) FOREACH(_FILE ${_FILES})
LIST(APPEND _SOURCES ${PROJECT_NAME}/${_FILE}) LIST(APPEND _SOURCES ${PROJECT_NAME}/${_FILE})