pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src smallmap.cxx,1.32,1.33 worldobj_data_


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src smallmap.cxx,1.32,1.33 worldobj_data_factory.cxx,1.32,1.33
Date: 5 Mar 2003 22:18:53 -0000

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

Modified Files:
        smallmap.cxx worldobj_data_factory.cxx 
Log Message:
- some additions to groups in the editor
- water on smallmap now blue


Index: smallmap.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/smallmap.cxx,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- smallmap.cxx        26 Feb 2003 17:08:29 -0000      1.32
+++ smallmap.cxx        5 Mar 2003 22:18:51 -0000       1.33
@@ -135,11 +135,17 @@
               break;
               
             case Groundtype::GP_WATER:
+              cbuffer[i + 0] = 255;
+             cbuffer[i + 1] = 0;
+             cbuffer[i + 2] = 0;
+             cbuffer[i + 3] = 200;
+              break;
+
             case Groundtype::GP_LAVA:
               cbuffer[i + 0] = 255;
-             cbuffer[i + 1] = 100;
-             cbuffer[i + 2] = 100;
-             cbuffer[i + 3] = 255;
+             cbuffer[i + 1] = 200;
+             cbuffer[i + 2] = 0;
+             cbuffer[i + 3] = 0;
               break;
               
             case Groundtype::GP_SOLID:

Index: worldobj_data_factory.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobj_data_factory.cxx,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- worldobj_data_factory.cxx   5 Mar 2003 19:55:14 -0000       1.32
+++ worldobj_data_factory.cxx   5 Mar 2003 22:18:51 -0000       1.33
@@ -139,6 +139,10 @@
     {
       return create ("prefab", doc, cur);
     }
+  else if (XMLhelper::equal_str(cur->name, "liquid"))
+    {
+      return create ("liquid", doc, cur);
+    }
   else
     {
       std::string type;





reply via email to

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