From ebdd5b00db488c878fa4d57069e94eb19d3326db Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Wed, 14 Sep 2005 15:46:52 +0000 Subject: Moved Map manangement code into engine.cpp. --- src/engine.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/engine.h') 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 + 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. -- cgit v1.2.3-60-g2f50