diff options
| author | Kris Parker | 2009-12-25 11:55:27 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-12-25 11:55:27 +0000 |
| commit | ea2820e40d8ee93d42af8706c63bcc60b9ad3927 (patch) | |
| tree | 0d55000c17d8102dfa70b279fc254651a041d802 /BlockCondition.h | |
| parent | a604cf12cd604df8e75a1e674856e6bf61dc433b (diff) | |
| download | stonesense-ea2820e40d8ee93d42af8706c63bcc60b9ad3927.tar.gz stonesense-ea2820e40d8ee93d42af8706c63bcc60b9ad3927.tar.bz2 stonesense-ea2820e40d8ee93d42af8706c63bcc60b9ad3927.tar.xz | |
Materials are selected by name in building configurations
Diffstat (limited to 'BlockCondition.h')
| -rw-r--r-- | BlockCondition.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/BlockCondition.h b/BlockCondition.h index 7906b0a..8c7568d 100644 --- a/BlockCondition.h +++ b/BlockCondition.h @@ -61,20 +61,11 @@ class PositionIndexCondition : public BlockCondition class MaterialTypeCondition : public BlockCondition
{
public:
- MaterialTypeCondition(const char* strValue);
+ MaterialTypeCondition(const char* strValue, const char* strSubtype);
~MaterialTypeCondition(void){};
int value;
- bool Matches(Block* b);
-};
-
-class MaterialIndexCondition : public BlockCondition
-{
- public:
- MaterialIndexCondition(const char* strValue);
- ~MaterialIndexCondition(void){};
-
- int value;
+ int subtype;
bool Matches(Block* b);
};
|
