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 switch_door_obj.cxx, 1.11,


From: Ingo Ruhnke
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editorobjs switch_door_obj.cxx, 1.11, 1.12
Date: Mon, 20 Oct 2003 21:28:57 +0200

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

Modified Files:
        switch_door_obj.cxx 
Log Message:
misc stuff

Index: switch_door_obj.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/editorobjs/switch_door_obj.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- switch_door_obj.cxx 20 Oct 2003 13:33:43 -0000      1.11
+++ switch_door_obj.cxx 20 Oct 2003 19:28:55 -0000      1.12
@@ -90,7 +90,7 @@
 {
   char str[128];
   snprintf(str, 128, "SwitchDoor - (%f %f %f)",
-         data->door_pos.x, data->door_pos.y, data->door_pos.z);
+           data->door_pos.x, data->door_pos.y, data->door_pos.z);
   return str;
 }
 
@@ -100,16 +100,16 @@
   view->draw_line(data->door_pos, data->switch_pos, 1.0, 0.0, 0.0);
 
   view->draw(door_box,
-             static_cast<int>(data->door_pos.x),
-            static_cast<int>(data->door_pos.y));
+             Vector(static_cast<int>(data->door_pos.x),
+                    static_cast<int>(data->door_pos.y)));
 
   for (int i = 0; i < data->door_height; ++i)
     {
       view->draw(door_tile,
-                static_cast<int>(data->door_pos.x),
-                static_cast<int>(data->door_pos.y
-                                 + (i * door_tile.get_height())
-                                 + door_box.get_height()));
+                Vector(static_cast<int>(data->door_pos.x),
+                        static_cast<int>(data->door_pos.y
+                                         + (i * door_tile.get_height())
+                                         + door_box.get_height())));
     }
 }
 





reply via email to

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