pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx, 1.17,


From: Ingo Ruhnke
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx, 1.17, 1.18
Date: Wed, 22 Oct 2003 13:11:25 +0200

Update of /var/lib/cvs/Games/Pingus/src/editorobjs
In directory dark:/tmp/cvs-serv31952/editorobjs

Modified Files:
        groundpiece_obj.cxx 
Log Message:
- some more stuff, compiles now, but doesn't link (as expected)

Index: groundpiece_obj.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/editorobjs/groundpiece_obj.cxx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- groundpiece_obj.cxx 19 Oct 2003 12:25:47 -0000      1.17
+++ groundpiece_obj.cxx 22 Oct 2003 11:11:23 -0000      1.18
@@ -71,20 +71,25 @@
 void
 GroundpieceObj::vertical_flip ()
 {
-  data->desc.modifier = ResourceModifierNS::vertical_flip(data->desc.modifier);
+#ifdef CLANLIB_0_6
+  data->desc.modifier  = 
ResourceModifierNS::vertical_flip(data->desc.modifier);
   sprite.get_surface() = PingusResource::load_surface(data->desc);
+#endif
 }
 
 void
 GroundpieceObj::horizontal_flip ()
 {
+#ifdef CLANLIB_0_6
   data->desc.modifier = 
ResourceModifierNS::horizontal_flip(data->desc.modifier);
   sprite.get_surface() = PingusResource::load_surface(data->desc);
+#endif
 }
 
 void
 GroundpieceObj::rotate_90 ()
 {
+#ifdef CLANLIB_0_6
   data->pos.x += sprite.get_width ()/2;
   data->pos.y += sprite.get_height()/2;
 
@@ -93,11 +98,13 @@
 
   data->pos.x -= sprite.get_width ()/2;
   data->pos.y -= sprite.get_height()/2;
+#endif
 }
 
 void
 GroundpieceObj::rotate_270 ()
 {
+#ifdef CLANLIB_0_6
   data->pos.x += sprite.get_width ()/2;
   data->pos.y += sprite.get_height()/2;
 
@@ -106,6 +113,7 @@
 
   data->pos.x -= sprite.get_width ()/2;
   data->pos.y -= sprite.get_height()/2;
+#endif
 }
 
 struct GroundpieceObjRotate {





reply via email to

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