summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-14 19:35:27 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-14 19:35:27 +0000
commit55494057bd7e1ae5e6260816b1c5b2a84e2ff573 (patch)
treee8dac9033909041361c1ca72d8955884f2a85b7f /src/engine.h
parent1ccc963719897ca290104f42adc9c37b792feb7a (diff)
downloadmana-55494057bd7e1ae5e6260816b1c5b2a84e2ff573.tar.gz
mana-55494057bd7e1ae5e6260816b1c5b2a84e2ff573.tar.bz2
mana-55494057bd7e1ae5e6260816b1c5b2a84e2ff573.tar.xz
mana-55494057bd7e1ae5e6260816b1c5b2a84e2ff573.zip
Removed the rather useless remaining draw function from the engine class and
fixed an issue with fading out damage texts (they were sometimes fully opaque at the end of fading out).
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/engine.h b/src/engine.h
index dbe1fddc..90cee9c0 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -26,12 +26,12 @@
#include <iosfwd>
-class Graphics;
class Map;
class Network;
/**
- * Game engine that does the main drawing.
+ * Game engine. Actually hardly does anything anymore except keeping track of
+ * the current map and loading the emotes.
*/
class Engine
{
@@ -61,11 +61,6 @@ class Engine
*/
void logic();
- /**
- * Draws everything on the screen.
- */
- void draw(Graphics *graphics);
-
private:
Map *mCurrentMap;
Network *mNetwork;