From f3da0cf1ae96048bb84a083099faec0b0a736bf1 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Thu, 5 Mar 2015 21:21:39 +0000 Subject: Reverted non-functional changes --- src/World.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/World.h') diff --git a/src/World.h b/src/World.h index 8b33cea58..3cac71a36 100644 --- a/src/World.h +++ b/src/World.h @@ -45,7 +45,6 @@ class cEntity; class cBlockEntity; class cWorldGenerator; // The generator that actually generates the chunks for a single world class cChunkGenerator; // The thread responsible for generating chunks -class cChunkInterface; class cBeaconEntity; class cChestEntity; class cDispenserEntity; @@ -141,21 +140,6 @@ public: std::vector m_SendQueue; }; - class cTaskTryAwakeSleepingPlayers : - public cTask - { - public: - cTaskTryAwakeSleepingPlayers(const Vector3i & a_Position, cChunkInterface & a_ChunkInterface); - - protected: - // cTask overrides: - virtual void Run(cWorld & a_World) override; - - private: - Vector3i m_Position; - cChunkInterface & m_ChunkInterface; - }; - static const char * GetClassStatic(void) // Needed for ManualBindings's ForEach templates { @@ -711,7 +695,7 @@ public: /** Queues a task onto the tick thread, with the specified delay. The task object will be deleted once the task is finished */ - virtual void ScheduleTask(int a_DelayTicks, cTask * a_Task) override; + void ScheduleTask(int a_DelayTicks, cTask * a_Task); /** Returns the number of chunks loaded */ int GetNumChunks() const; // tolua_export -- cgit v1.2.3