From 6e196c2ce4285c0aea2a5c714e842d90c1b84b43 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 1 Feb 2011 03:06:02 +0200 Subject: partly working chunk-based map generator (doesn't save properly, spawn is pretty random) --- src/irrlichtwrapper.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/irrlichtwrapper.h') diff --git a/src/irrlichtwrapper.h b/src/irrlichtwrapper.h index 225ae3402..965d01208 100644 --- a/src/irrlichtwrapper.h +++ b/src/irrlichtwrapper.h @@ -132,11 +132,15 @@ public: /* These are called from the main thread */ + IrrlichtWrapper(IrrlichtDevice *device); // Run queued tasks void Run(); + // Shutdown wrapper; this disables queued texture fetching + void Shutdown(bool shutdown); + /* These are called from other threads */ @@ -181,6 +185,8 @@ private: /* Members */ + + bool m_running; // The id of the thread that can (and has to) use irrlicht directly threadid_t m_main_thread; -- cgit v1.2.3