pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] r2869 - in branches/pingus_sdl: . src src/components


From: jsalmon3
Subject: [Pingus-CVS] r2869 - in branches/pingus_sdl: . src src/components
Date: Sun, 12 Aug 2007 21:58:48 +0200

Author: jsalmon3
Date: 2007-08-12 21:58:41 +0200 (Sun, 12 Aug 2007)
New Revision: 2869

Modified:
   branches/pingus_sdl/pingus.vcproj
   branches/pingus_sdl/src/client.cpp
   branches/pingus_sdl/src/components/smallmap.cpp
Log:
Removed files, fixed warnings



Modified: branches/pingus_sdl/pingus.vcproj
===================================================================
--- branches/pingus_sdl/pingus.vcproj   2007-08-12 19:07:54 UTC (rev 2868)
+++ branches/pingus_sdl/pingus.vcproj   2007-08-12 19:58:41 UTC (rev 2869)
@@ -1698,25 +1698,9 @@
                                        >
                                </File>
                                <File
-                                       RelativePath=".\src\lisp\properties.cpp"
-                                       >
-                               </File>
-                               <File
-                                       RelativePath=".\src\lisp\properties.hpp"
-                                       >
-                               </File>
-                               <File
                                        
RelativePath=".\src\lisp\property_iterator.hpp"
                                        >
                                </File>
-                               <File
-                                       RelativePath=".\src\lisp\writer.cpp"
-                                       >
-                               </File>
-                               <File
-                                       RelativePath=".\src\lisp\writer.hpp"
-                                       >
-                               </File>
                        </Filter>
                        <Filter
                                Name="math"

Modified: branches/pingus_sdl/src/client.cpp
===================================================================
--- branches/pingus_sdl/src/client.cpp  2007-08-12 19:07:54 UTC (rev 2868)
+++ branches/pingus_sdl/src/client.cpp  2007-08-12 19:58:41 UTC (rev 2869)
@@ -93,16 +93,16 @@
   {
     Color border_color(50, 65, 75);
     // top
-    gc.draw_fillrect(0, 0, Display::get_width(), rect.top,
+    gc.draw_fillrect(0, 0, (float)Display::get_width(), (float)rect.top,
                      border_color);
     // bottom
-    gc.draw_fillrect(0, rect.bottom, Display::get_width(), 
Display::get_height(),
+    gc.draw_fillrect(0, (float)rect.bottom, (float)Display::get_width(), 
(float)Display::get_height(),
                  border_color);
     // left
-    gc.draw_fillrect(0, rect.top, rect.left, rect.bottom,
+    gc.draw_fillrect(0, (float)rect.top, (float)rect.left, (float)rect.bottom,
                  border_color);
     // right
-    gc.draw_fillrect(rect.right, rect.top, Display::get_width(), rect.bottom,
+    gc.draw_fillrect((float)rect.right, (float)rect.top, 
(float)Display::get_width(), (float)rect.bottom,
                  border_color);
   }
 }

Modified: branches/pingus_sdl/src/components/smallmap.cpp
===================================================================
--- branches/pingus_sdl/src/components/smallmap.cpp     2007-08-12 19:07:54 UTC 
(rev 2868)
+++ branches/pingus_sdl/src/components/smallmap.cpp     2007-08-12 19:58:41 UTC 
(rev 2869)
@@ -113,7 +113,7 @@
     }
   
   gc.draw(image->get_surface(), Vector3f((float)x_pos, (float)y_pos));
-  gc.draw_rect(rect.left, rect.top, rect.right, rect.bottom,
+  gc.draw_rect((float)rect.left, (float)rect.top, (float)rect.right, 
(float)rect.bottom,
                Color(0, 255, 0));
 
   client->get_server()->get_world()->draw_smallmap(this);





reply via email to

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