diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-14 13:23:02 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-14 13:23:02 +0100 |
commit | eaa17b6a84d19e605549d6d1ea94eede98f77c67 (patch) | |
tree | 59139c7605f07310c08517b79d99252e677e4a7c /source/cSandSimulator.h | |
parent | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. (diff) | |
download | cuberite-eaa17b6a84d19e605549d6d1ea94eede98f77c67.tar cuberite-eaa17b6a84d19e605549d6d1ea94eede98f77c67.tar.gz cuberite-eaa17b6a84d19e605549d6d1ea94eede98f77c67.tar.bz2 cuberite-eaa17b6a84d19e605549d6d1ea94eede98f77c67.tar.lz cuberite-eaa17b6a84d19e605549d6d1ea94eede98f77c67.tar.xz cuberite-eaa17b6a84d19e605549d6d1ea94eede98f77c67.tar.zst cuberite-eaa17b6a84d19e605549d6d1ea94eede98f77c67.zip |
Diffstat (limited to 'source/cSandSimulator.h')
-rw-r--r-- | source/cSandSimulator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/cSandSimulator.h b/source/cSandSimulator.h index 113a2492b..0a38172e8 100644 --- a/source/cSandSimulator.h +++ b/source/cSandSimulator.h @@ -2,8 +2,8 @@ #include "cSimulator.h"
#include "cBlockEntity.h"
#include <list>
+#include "Vector3i.h"
-class Vector3i;
class cWorld;
class cSandSimulator : public cSimulator
{
@@ -20,6 +20,7 @@ public: protected:
virtual void AddBlock(int a_X, int a_Y, int a_Z);
- std::list <Vector3i *> *m_Blocks;
- std::list <Vector3i *> *m_Buffer;
+ typedef std::list <Vector3i> BlockList;
+ BlockList * m_Blocks;
+ BlockList * m_Buffer;
};
\ No newline at end of file |