diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-14 15:46:52 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-14 15:46:52 +0000 |
commit | ebdd5b00db488c878fa4d57069e94eb19d3326db (patch) | |
tree | 9f8866df8edeedc25baee561d883d90ea46c4b87 /src/engine.h | |
parent | eb753d99914a0941ad7e2cfa4c8a364723340fc9 (diff) | |
download | mana-ebdd5b00db488c878fa4d57069e94eb19d3326db.tar.gz mana-ebdd5b00db488c878fa4d57069e94eb19d3326db.tar.bz2 mana-ebdd5b00db488c878fa4d57069e94eb19d3326db.tar.xz mana-ebdd5b00db488c878fa4d57069e94eb19d3326db.zip |
Moved Map manangement code into engine.cpp.
Diffstat (limited to 'src/engine.h')
-rw-r--r-- | src/engine.h | 4 |
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. |