summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-08-24 23:35:20 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-08-24 23:35:20 +0000
commit833abc3732c87ed4822fa31065f84d857e9018cc (patch)
tree9fdb75fc714403bb5a6c52a57bfa1dc8b4b87877 /src/engine.cpp
parent36507be9efb10a031cea5eaf54297089126a9daa (diff)
downloadmana-client-833abc3732c87ed4822fa31065f84d857e9018cc.tar.gz
mana-client-833abc3732c87ed4822fa31065f84d857e9018cc.tar.bz2
mana-client-833abc3732c87ed4822fa31065f84d857e9018cc.tar.xz
mana-client-833abc3732c87ed4822fa31065f84d857e9018cc.zip
added a config option to set the grade of detail of the overlay system.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index a80351d4..557b5d7e 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -239,7 +239,11 @@ void Engine::draw(Graphics *graphics)
mCurrentMap->draw(graphics, (int)view_x, (int)view_y, 0);
mCurrentMap->draw(graphics, (int)view_x, (int)view_y, 1);
mCurrentMap->draw(graphics, (int)view_x, (int)view_y, 2);
- mCurrentMap->drawOverlay(graphics, view_x, view_y);
+ mCurrentMap->drawOverlay( graphics,
+ view_x,
+ view_y,
+ (int)config.getValue("OverlayDetail", 2)
+ );
}
// Find a path from the player to the mouse, and draw it. This is for debug