summaryrefslogtreecommitdiff
path: root/Creatures.h
diff options
context:
space:
mode:
authorJonas Ask2009-10-24 15:18:23 +0000
committerJonas Ask2009-10-24 15:18:23 +0000
commitb9b42b21eedfc351055bfc699084313a12d82897 (patch)
treebb9174d4d54ab89fb8237a4f79d0b323a4bb17ef /Creatures.h
parentbcc3757c422be47d0889bbab87767c6417d311d3 (diff)
downloadstonesense-b9b42b21eedfc351055bfc699084313a12d82897.tar.gz
stonesense-b9b42b21eedfc351055bfc699084313a12d82897.tar.bz2
stonesense-b9b42b21eedfc351055bfc699084313a12d82897.tar.xz
Creature info now loads from an xml file.
Log system. Log messages are written to Stonesense.log
Diffstat (limited to 'Creatures.h')
-rw-r--r--Creatures.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Creatures.h b/Creatures.h
index b912b4d..9f9a0c3 100644
--- a/Creatures.h
+++ b/Creatures.h
@@ -1,5 +1,6 @@
#pragma once
#include "common.h"
+#include "CreatureConfiguration.h"
enum enumCreatureSprites{
SPRITECRE_NA = 0,
@@ -20,4 +21,8 @@ void ReadCreaturesToSegment(DFHackAPI& DF, WorldSegment* segment);
int GetCreatureSpriteMap( t_creature* c );
+void LoadCreatureConfiguration( vector<CreatureConfiguration>* knownCreatures );
+
+
extern vector<t_matgloss> v_creatureNames;
+extern vector<CreatureConfiguration> creatureTypes; \ No newline at end of file