diff options
Diffstat (limited to 'src/engine.h')
-rw-r--r-- | src/engine.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/engine.h b/src/engine.h index e2fec2f6..60b1f6c8 100644 --- a/src/engine.h +++ b/src/engine.h @@ -2,8 +2,7 @@ * The Mana World * Copyright (C) 2004 The Mana World Development Team * - * This file is part of Aethyra based on original code - * from The Mana World. + * This file is part of The Mana World. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +25,9 @@ #include <string> class Map; +#ifdef EATHENA_SUPPORT class Network; +#endif /** * Game engine. Actually hardly does anything anymore except keeping track of @@ -38,7 +39,11 @@ class Engine /** * Constructor. */ +#ifdef EATHENA_SUPPORT Engine(Network *network); +#else + Engine(); +#endif /** * Destructor. @@ -58,13 +63,15 @@ class Engine void changeMap(const std::string &mapName); /** - * Performs engine logic. + * Performs engine logic. This method is called 100 times per second. */ void logic(); private: Map *mCurrentMap; +#ifdef EATHENA_SUPPORT Network *mNetwork; +#endif std::string mMapName; }; |