pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldobjs entrance.cxx,1.9,1.10 liqu


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs entrance.cxx,1.9,1.10 liquid.cxx,1.7,1.8
Date: 3 Mar 2003 20:32:21 -0000

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

Modified Files:
        entrance.cxx liquid.cxx 
Log Message:
seperated PLF loading a bit, not 100% sure if this is a good idea or not.


Index: entrance.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/entrance.cxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- entrance.cxx        19 Feb 2003 09:50:36 -0000      1.9
+++ entrance.cxx        3 Mar 2003 20:32:18 -0000       1.10
@@ -104,6 +104,9 @@
           pingu->set_direction(d);
           break;
         }
+
+      // FIXME: Replace me with a real sound
+      world->play_sound("plop2", data->pos);
     }
   else
     {

Index: liquid.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/liquid.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- liquid.cxx  19 Feb 2003 09:50:37 -0000      1.7
+++ liquid.cxx  3 Mar 2003 20:32:18 -0000       1.8
@@ -29,7 +29,7 @@
 
 Liquid::Liquid (const WorldObjsData::LiquidData& data_) :
   data(new WorldObjsData::LiquidData(data_)),
-  sur(data->desc, 1000.0f/data->speed)
+  sur(data->desc, (data->speed == 0) ? 30 : 1000.0f/data->speed)
 {
   if (!data->old_width_handling)
     data->width *= sur.get_width();





reply via email to

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