summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine.h b/src/engine.h
index 725f07e9..03b33b5e 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -24,6 +24,8 @@
#ifndef _ENGINE_H
#define _ENGINE_H
+#include <iosfwd>
+
extern int camera_x, camera_y;
class Image;
@@ -54,7 +56,7 @@ class Engine
/**
* Sets the currently active map.
*/
- void setCurrentMap(Map *newMap);
+ void changeMap(const std::string &mapName);
/**
* Performs engine logic.