summaryrefslogtreecommitdiffstats
path: root/src/World/BlockType.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 00:26:09 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-02 00:26:09 +0100
commit843b3abde6e338d252950438acf9d5bd734921f2 (patch)
tree5a7b7767b6fd0c91806b857b6bddf8a578d5f6d9 /src/World/BlockType.hpp
parent9b1d92387dd83e7340c7ee5f06dbad0a971981b0 (diff)
downloadMinedMap-843b3abde6e338d252950438acf9d5bd734921f2.tar
MinedMap-843b3abde6e338d252950438acf9d5bd734921f2.zip
Extend colors by metadata
Diffstat (limited to 'src/World/BlockType.hpp')
-rw-r--r--src/World/BlockType.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World/BlockType.hpp b/src/World/BlockType.hpp
index 5d2454c..11a9621 100644
--- a/src/World/BlockType.hpp
+++ b/src/World/BlockType.hpp
@@ -34,7 +34,7 @@ namespace World {
struct BlockType {
bool opaque;
bool green;
- uint32_t color;
+ uint32_t colors[16];
};
extern const BlockType BLOCK_TYPES[256];