diff options
| author | Japa | 2011-08-22 14:14:04 +0000 |
|---|---|---|
| committer | Japa | 2011-08-22 14:14:04 +0000 |
| commit | e30a6661982aad7614e12e3bb66248992864d6b7 (patch) | |
| tree | c39f8f7c59c9b5ca544d110e2ca6a5d2cdcdd562 /WorldSegment.h | |
| parent | 3082298368e67933947d00d005821019ded2da81 (diff) | |
| download | stonesense-e30a6661982aad7614e12e3bb66248992864d6b7.tar.gz stonesense-e30a6661982aad7614e12e3bb66248992864d6b7.tar.bz2 stonesense-e30a6661982aad7614e12e3bb66248992864d6b7.tar.xz | |
Got tile occlusion fully working.
Todo: transparent glass.
Diffstat (limited to 'WorldSegment.h')
| -rw-r--r-- | WorldSegment.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/WorldSegment.h b/WorldSegment.h index 7963b67..7cc3378 100644 --- a/WorldSegment.h +++ b/WorldSegment.h @@ -1,4 +1,5 @@ -#pragma once
+#ifndef WORLDSEGMENT_H
+#define WORLDSEGMENT_H
#include "Block.h"
@@ -13,6 +14,7 @@ public: int sizex, sizey, sizez;
unsigned char rotation;
long read_time;
+ long beautify_time;
Crd3D regionSize;
Block** blocksAsPointerVolume;
WorldSegment(int x, int y, int z, int sizex, int sizey, int sizez)
@@ -57,4 +59,6 @@ public: void addBlock(Block* b);
void drawAllBlocks();
bool CoordinateInsideSegment(uint32_t x, uint32_t y, uint32_t z);
-};
\ No newline at end of file +};
+
+#endif
\ No newline at end of file |
