pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src hotspot.cxx,1.5,1.6 pingu_holder.cxx,


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src hotspot.cxx,1.5,1.6 pingu_holder.cxx,1.8,1.9 pingu_holder.hxx,1.5,1.6
Date: 18 Sep 2002 12:07:15 -0000

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

Modified Files:
        hotspot.cxx pingu_holder.cxx pingu_holder.hxx 
Log Message:
- some fixes to the woodthing entrance

Index: hotspot.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/hotspot.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- hotspot.cxx 17 Sep 2002 21:45:56 -0000      1.5
+++ hotspot.cxx 18 Sep 2002 12:07:13 -0000      1.6
@@ -26,8 +26,6 @@
   : HotspotData(spot)
 {
   sprite = Sprite(desc);
-  //sprite.set_align_center();
-  
   if (verbose > 2)
     std::cout << "Creating Hotspot" << std::endl;
 
@@ -39,7 +37,7 @@
 Hotspot::draw (GraphicContext& gc)
 {
   // FIXME: para support doesnn't work correctly
-  gc.draw (sprite, pos * para);
+  gc.draw (sprite, pos);
 }
 
 /* EOF */

Index: pingu_holder.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/pingu_holder.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- pingu_holder.cxx    18 Sep 2002 11:03:00 -0000      1.8
+++ pingu_holder.cxx    18 Sep 2002 12:07:13 -0000      1.9
@@ -116,4 +116,10 @@
     }
 }
 
+float
+PinguHolder::get_z_pos() const
+{
+  return 50;
+}
+
 /* EOF */

Index: pingu_holder.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/pingu_holder.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pingu_holder.hxx    18 Sep 2002 10:50:57 -0000      1.5
+++ pingu_holder.hxx    18 Sep 2002 12:07:13 -0000      1.6
@@ -67,7 +67,7 @@
       Pingu */
   Pingu* create_pingu (const CL_Vector& pos, int owner_id);
 
-  float get_z_pos() const { return 50; }
+  float get_z_pos() const;
 
   std::list<Pingu*>::iterator  begin () { return pingus.begin (); }
   std::list<Pingu*>::iterator  end ()   { return pingus.end (); }





reply via email to

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