added files for new module "flyingship"

This commit is contained in:
Philipp Dreher 2015-11-02 00:26:23 +01:00
parent 2f02c27659
commit 3fa4c18e87
4 changed files with 31 additions and 0 deletions

View File

@ -117,6 +117,7 @@ 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}
@ -208,6 +209,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/magicresistance.test.c spells/magicresistance.test.c
${ATTRIBUTES_TESTS} ${ATTRIBUTES_TESTS}
${UTIL_TESTS} ${UTIL_TESTS}

5
src/flyingship.c Normal file
View File

@ -0,0 +1,5 @@
#include <platform.h>
#include <kernel/config.h>
#include "flyingship.h"

18
src/flyingship.h Normal file
View File

@ -0,0 +1,18 @@
#pragma once
#ifndef FLYINGSHIP_H
#define FLYINGSHIP_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif

6
src/flyingship.test.c Normal file
View File

@ -0,0 +1,6 @@
#include <platform.h>
#include "flyingship.h"
#include <CuTest.h>
#include <tests.h>
#include <assert.h>