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 object_selector.cxx,1.19,1.20


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor object_selector.cxx,1.19,1.20 weather_obj.cxx,1.9,1.10
Date: 16 Sep 2002 17:17:19 -0000

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

Modified Files:
        object_selector.cxx weather_obj.cxx 
Log Message:
fixed snow/rain in the editor

Index: object_selector.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/object_selector.cxx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- object_selector.cxx 16 Sep 2002 15:47:35 -0000      1.19
+++ object_selector.cxx 16 Sep 2002 17:17:17 -0000      1.20
@@ -237,7 +237,7 @@
     }
   
   std::cout << "Weather objects currently not implemented" << std::endl;
-  return EditorObjLst();
+  return EditorObjLst(1, new WeatherObj(type));
 }
 
 EditorObjLst

Index: weather_obj.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/weather_obj.cxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- weather_obj.cxx     16 Sep 2002 15:47:35 -0000      1.9
+++ weather_obj.cxx     16 Sep 2002 17:17:17 -0000      1.10
@@ -76,7 +76,7 @@
 void   
 WeatherObj::write_xml(std::ostream& xml)
 {
-  xml << "  <worldobj type=\"" << type << "\"/>\n";
+  xml << "  <worldobj type=\"" << type << "\">\n";
   XMLhelper::write_vector_xml(xml, pos);
   xml << "  </worldobj>\n"
       << std::endl;





reply via email to

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