pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.2,1.3 manager.


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.2,1.3 manager.hxx,1.1,1.2 node_data.hxx,1.1,1.2
Date: 20 Jun 2002 11:23:55 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv14365/worldmap

Modified Files:
        manager.cxx manager.hxx node_data.hxx 
Log Message:
some more missing header files

Index: manager.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/manager.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- manager.cxx 13 Jun 2002 14:25:13 -0000      1.2
+++ manager.cxx 20 Jun 2002 11:23:53 -0000      1.3
@@ -17,6 +17,8 @@
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
+#include <ClanLib/display.h>
+
 #include <ClanLib/Display/Input/input.h>
 #include "../path_manager.hxx"
 #include "../delta_manager.hxx"
@@ -111,7 +113,7 @@
 }
 
 void 
-WorldMapManager::change_map (std::string filename, int node)
+WorldMapManager::change_map (const std::string& filename, int node)
 {
   new_worldmap = boost::shared_ptr<WorldMap::WorldMap>
     (new WorldMap::WorldMap (path_manager.complete("worldmaps/" + filename)));

Index: manager.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/manager.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- manager.hxx 12 Jun 2002 19:03:33 -0000      1.1
+++ manager.hxx 20 Jun 2002 11:23:53 -0000      1.2
@@ -20,6 +20,7 @@
 #ifndef PINGUSWORLDMAPMANAGER_HH
 #define PINGUSWORLDMAPMANAGER_HH
 
+#include <string>
 #include <ClanLib/Signals/slot.h>
 #include "../boost/smart_ptr.hpp"
 
@@ -68,7 +69,7 @@
   public:
     /// Display the worldmap and let the user select a level
     void display ();
-    void change_map (std::string filename, int node);
+    void change_map (const std::string& filename, int node);
 
     static WorldMapManager* get_current () { return current_manager; } 
   };

Index: node_data.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/node_data.hxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- node_data.hxx       12 Jun 2002 19:03:33 -0000      1.1
+++ node_data.hxx       20 Jun 2002 11:23:53 -0000      1.2
@@ -20,6 +20,7 @@
 #ifndef PINGUSWORLDMAPNODEDATA_HH
 #define PINGUSWORLDMAPNODEDATA_HH
 
+#include <iosfwd>
 #include <list>
 #include <string>
 #include <ClanLib/Core/Math/cl_vector.h>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]