diff options
| author | Jonas Ask | 2009-11-15 15:44:23 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-11-15 15:44:23 +0000 |
| commit | 6ed20613fe3e0953ab30988cdc0e594b8b17b1b7 (patch) | |
| tree | 56c64a606c6838347e457056da76bc8434381939 /BlockCondition.h | |
| parent | 422d371eb2d527a6ddc9b77c173d16151c3e8cf8 (diff) | |
| download | stonesense-6ed20613fe3e0953ab30988cdc0e594b8b17b1b7.tar.gz stonesense-6ed20613fe3e0953ab30988cdc0e594b8b17b1b7.tar.bz2 stonesense-6ed20613fe3e0953ab30988cdc0e594b8b17b1b7.tar.xz | |
Added MaterialIndex as a building option
Diffstat (limited to 'BlockCondition.h')
| -rw-r--r-- | BlockCondition.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/BlockCondition.h b/BlockCondition.h index ffcb155..ee1ee07 100644 --- a/BlockCondition.h +++ b/BlockCondition.h @@ -68,6 +68,16 @@ class MaterialTypeCondition : public BlockCondition bool Matches(Block* b);
};
+class MaterialIndexCondition : public BlockCondition
+{
+ public:
+ MaterialIndexCondition(const char* strValue);
+ ~MaterialIndexCondition(void){};
+
+ int value;
+ bool Matches(Block* b);
+};
+
class AnimationFrameCondition : public BlockCondition
{
public:
|
