pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/editor StartPos.cc,1.11,1.12 WeatherO


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor StartPos.cc,1.11,1.12 WeatherObj.cc,1.12,1.13
Date: 8 Jun 2002 21:43:39 -0000

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

Modified Files:
        StartPos.cc WeatherObj.cc 
Log Message:
Removed Position and all references to operator<<(ostream, CL_Vector) since 
thats buggy in ClanLib

Index: StartPos.cc
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/StartPos.cc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- StartPos.cc 8 Jun 2002 20:19:54 -0000       1.11
+++ StartPos.cc 8 Jun 2002 21:43:36 -0000       1.12
@@ -20,7 +20,6 @@
 #include "../XMLhelper.hh"
 #include "../PingusResource.hh"
 #include "../boost/smart_ptr.hpp"
-#include "../Position.hh"
 #include "StartPos.hh"
 
 StartPos::StartPos(int arg_x_pos, int arg_y_pos)
@@ -35,7 +34,7 @@
 StartPos::write_xml(std::ofstream* xml)
 {
   (*xml) << "  <start-position>\n";
-  XMLhelper::write_position_xml(xml, pos);
+  XMLhelper::write_vector_xml(xml, pos);
   (*xml) << "  </start-position>\n" << std::endl;  
 }
 

Index: WeatherObj.cc
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/WeatherObj.cc,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- WeatherObj.cc       8 Jun 2002 20:19:54 -0000       1.12
+++ WeatherObj.cc       8 Jun 2002 21:43:36 -0000       1.13
@@ -19,7 +19,6 @@
 
 #include "../XMLhelper.hh"
 #include "../PingusResource.hh"
-#include "../Position.hh"
 #include "../editor/EditorObj.hh"
 #include "../boost/smart_ptr.hpp"
 #include "EditorView.hh"
@@ -80,7 +79,7 @@
 {
   (*xml) << "  <weather>\n"
         << "    <type>" << type << "</type>\n";
-  XMLhelper::write_position_xml(xml, pos);
+  XMLhelper::write_vector_xml(xml, pos);
   (*xml) << "  </weather>\n"
         << std::endl;
 }




reply via email to

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