move gamedata.c to kernel

This commit is contained in:
Enno Rehling 2018-09-29 13:21:46 +02:00
parent a373807189
commit b22d838a57
55 changed files with 54 additions and 56 deletions

View file

@ -34,7 +34,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* util includes */ /* util includes */
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/base36.h> #include <util/base36.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>

View file

@ -55,7 +55,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* util includes */ /* util includes */
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -32,7 +32,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <util/log.h> #include <util/log.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/resolve.h> #include <util/resolve.h>
#include <util/strings.h> #include <util/strings.h>

View file

@ -23,7 +23,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/unit.h> #include <kernel/unit.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/variant.h> #include <util/variant.h>
#include <storage.h> #include <storage.h>

View file

@ -23,7 +23,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/unit.h> #include <kernel/unit.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -21,7 +21,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "key.h" #include "key.h"
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <storage.h> #include <storage.h>

View file

@ -21,7 +21,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "movement.h" #include "movement.h"
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/macros.h> #include <util/macros.h>
#include <storage.h> #include <storage.h>

View file

@ -24,7 +24,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/faction.h> #include <kernel/faction.h>
#include <kernel/unit.h> #include <kernel/unit.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <storage.h> #include <storage.h>
#include <assert.h> #include <assert.h>

View file

@ -24,7 +24,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/spell.h> #include <kernel/spell.h>
#include <kernel/spellbook.h> #include <kernel/spellbook.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>

View file

@ -23,7 +23,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/region.h> #include <kernel/region.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/resolve.h> #include <util/resolve.h>
#include <storage.h> #include <storage.h>

View file

@ -6,7 +6,7 @@
#include <kernel/save.h> #include <kernel/save.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>

View file

@ -22,7 +22,7 @@ without prior permission by the authors of Eressea.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/functions.h> #include <util/functions.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/parser.h> #include <util/parser.h>

View file

@ -25,6 +25,7 @@ database.test.c
equipment.test.c equipment.test.c
# event.test.c # event.test.c
faction.test.c faction.test.c
gamedata.test.c
group.test.c group.test.c
item.test.c item.test.c
messages.test.c messages.test.c
@ -60,6 +61,7 @@ curse.c
equipment.c equipment.c
event.c event.c
faction.c faction.c
gamedata.c
group.c group.c
item.c item.c
messages.c messages.c

View file

@ -12,7 +12,7 @@
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/strings.h> #include <util/strings.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <storage.h> #include <storage.h>

View file

@ -22,7 +22,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <util/log.h> #include <util/log.h>
#include <util/strings.h> #include <util/strings.h>
#include <util/variant.h> #include <util/variant.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <storage.h> #include <storage.h>
#include <critbit.h> #include <critbit.h>

View file

@ -1,7 +1,7 @@
#include <platform.h> #include <platform.h>
#include "attrib.h" #include "attrib.h"
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/strings.h> #include <util/strings.h>
#include <storage.h> #include <storage.h>

View file

@ -42,7 +42,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/functions.h> #include <util/functions.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/log.h> #include <util/log.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -28,7 +28,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>

View file

@ -36,7 +36,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* util includes */ /* util includes */
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/goodies.h> #include <util/goodies.h>
#include <util/language.h> #include <util/language.h>
#include <util/log.h> #include <util/log.h>

View file

@ -6,7 +6,7 @@
#include <kernel/unit.h> #include <kernel/unit.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/rng.h> #include <util/rng.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/message.h> #include <util/message.h>
#include <binarystore.h> #include <binarystore.h>
#include <filestream.h> #include <filestream.h>

View file

@ -21,7 +21,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "attrib.h" #include "attrib.h"
/* util includes */ /* util includes */
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/strings.h> #include <util/strings.h>

View file

@ -45,7 +45,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/goodies.h> #include <util/goodies.h>
#include <util/lists.h> #include <util/lists.h>
#include <util/language.h> #include <util/language.h>

View file

@ -1,7 +1,8 @@
#include <platform.h> #include <platform.h>
#include "gamedata.h" #include "gamedata.h"
#include "log.h"
#include <util/log.h>
#include <storage.h> #include <storage.h>
#include <filestream.h> #include <filestream.h>

View file

@ -32,7 +32,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* util includes */ /* util includes */
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/resolve.h> #include <util/resolve.h>
#include <util/strings.h> #include <util/strings.h>
#include <util/unicode.h> #include <util/unicode.h>

View file

@ -8,7 +8,7 @@
#include "region.h" #include "region.h"
#include "save.h" #include "save.h"
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <attributes/key.h> #include <attributes/key.h>

View file

@ -43,7 +43,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* util includes */ /* util includes */
#include <util/assert.h> #include <util/assert.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/strings.h> #include <util/strings.h>
#include <util/lists.h> #include <util/lists.h>
#include <util/log.h> #include <util/log.h>

View file

@ -61,9 +61,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/filereader.h> #include <util/filereader.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/goodies.h> #include <util/goodies.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/lists.h> #include <util/lists.h>
#include <util/log.h> #include <util/log.h>

View file

@ -20,7 +20,7 @@
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/password.h> #include <util/password.h>
#include <util/path.h> #include <util/path.h>
#include <util/strings.h> #include <util/strings.h>

View file

@ -4,7 +4,7 @@
#include <kernel/spell.h> #include <kernel/spell.h>
#include <util/log.h> #include <util/log.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/strings.h> #include <util/strings.h>
#include "spellbook.h" #include "spellbook.h"

View file

@ -53,7 +53,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/strings.h> #include <util/strings.h>
#include <util/language.h> #include <util/language.h>
#include <util/lists.h> #include <util/lists.h>

View file

@ -65,7 +65,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/lists.h> #include <util/lists.h>
#include <util/log.h> #include <util/log.h>

View file

@ -33,7 +33,7 @@
/* util includes */ /* util includes */
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/macros.h> #include <util/macros.h>
#include <storage.h> #include <storage.h>

View file

@ -41,7 +41,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <util/functions.h> #include <util/functions.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/strings.h> #include <util/strings.h>
#include <util/language.h> #include <util/language.h>
#include <util/macros.h> #include <util/macros.h>

View file

@ -28,7 +28,7 @@
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/goodies.h> #include <util/goodies.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -74,7 +74,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <util/assert.h> #include <util/assert.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/lists.h> #include <util/lists.h>
#include <util/log.h> #include <util/log.h>

View file

@ -73,7 +73,7 @@
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/message.h> #include <util/message.h>

View file

@ -14,7 +14,7 @@
#include <kernel/unit.h> #include <kernel/unit.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/rand.h> #include <util/rand.h>

View file

@ -11,7 +11,7 @@
#include <kernel/unit.h> #include <kernel/unit.h>
#include <kernel/ship.h> #include <kernel/ship.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <magic.h> #include <magic.h>

View file

@ -23,7 +23,7 @@
#include <kernel/objtypes.h> #include <kernel/objtypes.h>
/* util includes */ /* util includes */
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/nrmessage.h> #include <util/nrmessage.h>
#include <util/macros.h> #include <util/macros.h>

View file

@ -27,7 +27,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -27,7 +27,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -29,7 +29,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -27,7 +27,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -29,7 +29,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -20,7 +20,7 @@
/* util includes */ /* util includes */
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -27,7 +27,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -26,7 +26,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -32,7 +32,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/base36.h> #include <util/base36.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -22,7 +22,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* util includes */ /* util includes */
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <kernel/event.h> #include <kernel/event.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/log.h> #include <util/log.h>
#include <util/macros.h> #include <util/macros.h>

View file

@ -9,7 +9,6 @@ base36.test.c
# dice.test.c # dice.test.c
# filereader.test.c # filereader.test.c
functions.test.c functions.test.c
gamedata.test.c
# goodies.test.c # goodies.test.c
language.test.c language.test.c
# lists.test.c # lists.test.c
@ -37,7 +36,6 @@ crmessage.c
dice.c dice.c
filereader.c filereader.c
functions.c functions.c
gamedata.c
goodies.c goodies.c
language.c language.c
lists.c lists.c

View file

@ -5,7 +5,7 @@
#include <kernel/region.h> #include <kernel/region.h>
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/log.h> #include <util/log.h>
#include <util/strings.h> #include <util/strings.h>

View file

@ -25,7 +25,7 @@
/* util includes */ /* util includes */
#include <kernel/attrib.h> #include <kernel/attrib.h>
#include <util/gamedata.h> #include <kernel/gamedata.h>
#include <util/language.h> #include <util/language.h>
#include <util/macros.h> #include <util/macros.h>
#include <util/resolve.h> #include <util/resolve.h>

View file

@ -1,3 +0,0 @@
ERESSEA uhfr "Hodor"
EINHEIT 8bz3
BENENNEN EINHEIT 'Goldene Herde'