diff options
| author | Kris Parker | 2009-11-28 15:44:15 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-11-28 15:44:15 +0000 |
| commit | b161fc12356907c7465d62832322df06b2722feb (patch) | |
| tree | 701ea05a639f98e2353c687892e7209cfa629051 /Creatures.h | |
| parent | 4f7ccca329f67fa12c369ab1451fce9a024d97b9 (diff) | |
| download | stonesense-b161fc12356907c7465d62832322df06b2722feb.tar.gz stonesense-b161fc12356907c7465d62832322df06b2722feb.tar.bz2 stonesense-b161fc12356907c7465d62832322df06b2722feb.tar.xz | |
Convert creatures to use t_SpriteWithOffset: prep for multiple files and for animation
Diffstat (limited to 'Creatures.h')
| -rw-r--r-- | Creatures.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Creatures.h b/Creatures.h index f5a9b01..d9f4cc5 100644 --- a/Creatures.h +++ b/Creatures.h @@ -1,15 +1,16 @@ #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( BITMAP* target, int drawx, int drawy, t_creature* c );
-int GetCreatureSpriteMap( t_creature* c );
+t_SpriteWithOffset GetCreatureSpriteMap( t_creature* c );
|
