diff options
| author | Japa | 2010-05-12 10:29:52 +0000 |
|---|---|---|
| committer | Japa | 2010-05-12 10:29:52 +0000 |
| commit | c519d1f44bf676fa4bc45323348555309183f253 (patch) | |
| tree | d56dad7d09dadffd2cf9fd187dc77328c6f0de27 /commonTypes.h | |
| parent | 3de822060d8453814df4684a80b38b3a441b4742 (diff) | |
| download | stonesense-c519d1f44bf676fa4bc45323348555309183f253.tar.gz stonesense-c519d1f44bf676fa4bc45323348555309183f253.tar.bz2 stonesense-c519d1f44bf676fa4bc45323348555309183f253.tar.xz | |
added the ability to color creatures according to bodyparts. coming soon: coloring only part of a creature
Diffstat (limited to 'commonTypes.h')
| -rw-r--r-- | commonTypes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/commonTypes.h b/commonTypes.h index 4eb8368..d02bfc9 100644 --- a/commonTypes.h +++ b/commonTypes.h @@ -14,7 +14,8 @@ enum ShadeBy ShadeLayerFore,
ShadeLayerBack,
ShadeVeinFore,
- ShadeVeinBack
+ ShadeVeinBack,
+ ShadeBodyPart
} ;
struct t_subSprite
{
@@ -22,6 +23,7 @@ struct t_subSprite int32_t fileIndex;
ALLEGRO_COLOR shadeColor;
ShadeBy shadeBy;
+ char bodyPart[128];
} ;
struct t_SpriteWithOffset{
@@ -35,6 +37,7 @@ struct t_SpriteWithOffset{ bool needOutline;
vector<t_subSprite> subSprites;
ShadeBy shadeBy;
+ char bodyPart[128];
} ;
typedef struct dfColors
|
