From 744c0187ba3413d29c008f8ff5177f54540bf65b Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Wed, 9 Nov 2011 01:31:19 +0000 Subject: Redstone clocks now work. even one clocks. torches don't update themselves when placed yet, but redstone wire updates the torch. Fixed a bug with piston animations. git-svn-id: http://mc-server.googlecode.com/svn/trunk@80 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWorld.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/cWorld.h') diff --git a/source/cWorld.h b/source/cWorld.h index 10e181e48..cff627d50 100644 --- a/source/cWorld.h +++ b/source/cWorld.h @@ -7,8 +7,10 @@ enum ENUM_ITEM_ID; #endif #include +#include class cPacket; +class cRedstone; class cWaterSimulator; class cLavaSimulator; class cChunkMap; @@ -26,6 +28,9 @@ public: typedef std::list< cEntity* > EntityList; typedef std::list< cChunk* > ChunkList; typedef std::list< cPlayer* > PlayerList; + std::vector m_RSList; + + static cWorld* GetWorld(); //tolua_export @@ -124,6 +129,7 @@ public: void RemoveSpread( cChunk* a_Chunk ); void InitializeSpawn(); + private: friend class cRoot; cWorld( const char* a_WorldName ); -- cgit v1.2.3