[Top][All Lists]
[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 {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx, 1.17, 1.18,
Ingo Ruhnke <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/actions angel.cxx, 1.19, 1.20 basher.cxx, 1.31, 1.32 boarder.cxx, 1.16, 1.17 bomber.cxx, 1.36, 1.37 rocket_launcher.cxx, 1.16, 1.17 superman.cxx, 1.13, 1.14 waiter.cxx, 1.17, 1.18
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/data gen-scrfile.scm,1.3,1.4
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/actions angel.cxx, 1.19, 1.20 basher.cxx, 1.31, 1.32 boarder.cxx, 1.16, 1.17 bomber.cxx, 1.36, 1.37 rocket_launcher.cxx, 1.16, 1.17 superman.cxx, 1.13, 1.14 waiter.cxx, 1.17, 1.18
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/data gen-scrfile.scm,1.3,1.4
- Index(es):