diff options
Diffstat (limited to 'src/engine.h')
-rw-r--r-- | src/engine.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/engine.h b/src/engine.h index 60b1f6c8..963270e8 100644 --- a/src/engine.h +++ b/src/engine.h @@ -25,9 +25,6 @@ #include <string> class Map; -#ifdef EATHENA_SUPPORT -class Network; -#endif /** * Game engine. Actually hardly does anything anymore except keeping track of @@ -39,11 +36,7 @@ class Engine /** * Constructor. */ -#ifdef EATHENA_SUPPORT - Engine(Network *network); -#else Engine(); -#endif /** * Destructor. @@ -60,7 +53,7 @@ class Engine /** * Sets the currently active map. */ - void changeMap(const std::string &mapName); + bool changeMap(const std::string &mapName); /** * Performs engine logic. This method is called 100 times per second. @@ -69,9 +62,6 @@ class Engine private: Map *mCurrentMap; -#ifdef EATHENA_SUPPORT - Network *mNetwork; -#endif std::string mMapName; }; |