diff options
| author | Japa | 2010-04-09 14:24:27 +0000 |
|---|---|---|
| committer | Japa | 2010-04-09 14:24:27 +0000 |
| commit | 114df922d3073bd296b38cf522997f520fb17850 (patch) | |
| tree | c4cf372825118c3663cd77e18c69a6c3b59d070f /Creatures.h | |
| parent | 81aefc8e03ff3f647494012e18bcdc8f33f4de42 (diff) | |
| download | stonesense-114df922d3073bd296b38cf522997f520fb17850.tar.gz stonesense-114df922d3073bd296b38cf522997f520fb17850.tar.bz2 stonesense-114df922d3073bd296b38cf522997f520fb17850.tar.xz | |
updated trunk to the new graphics engine, and the latest DFhack
Diffstat (limited to 'Creatures.h')
| -rw-r--r-- | Creatures.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Creatures.h b/Creatures.h new file mode 100644 index 0000000..357b1e0 --- /dev/null +++ b/Creatures.h @@ -0,0 +1,22 @@ +#pragma once
+#include "common.h"
+#include "commonTypes.h"
+#include "CreatureConfiguration.h"
+
+#define SPRITECRE_NA 0;
+
+static t_SpriteWithOffset spriteCre_NA = {0, 0, 0,-1,1+2+4+8+16+32};
+
+void ReadCreaturesToSegment(API& DF, WorldSegment* segment);
+
+void DrawCreature(int drawx, int drawy, t_creature* creature );
+void DrawCreatureText(int drawx, int drawy, t_creature* creature );
+t_SpriteWithOffset GetCreatureSpriteMap( t_creature* c );
+int GetCreatureShadowMap( t_creature* c );
+
+
+void generateCreatureDebugString( t_creature* c, char* strbuffer);
+void generateCreatureDebugString2( t_creature* c, char* strbuffer);
+
+//extern vector<t_matgloss> v_creatureNames;
+//extern vector<CreatureConfiguration> creatureTypes;
\ No newline at end of file |
