pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] r3829 - trunk/pingus/src


From: grumbel at BerliOS
Subject: [Pingus-CVS] r3829 - trunk/pingus/src
Date: Tue, 15 Jul 2008 22:43:30 +0200

Author: grumbel
Date: 2008-07-15 22:43:29 +0200 (Tue, 15 Jul 2008)
New Revision: 3829

Modified:
   trunk/pingus/src/sprite.cpp
   trunk/pingus/src/sprite.hpp
Log:
Removed unused function

Modified: trunk/pingus/src/sprite.cpp
===================================================================
--- trunk/pingus/src/sprite.cpp 2008-07-15 08:47:19 UTC (rev 3828)
+++ trunk/pingus/src/sprite.cpp 2008-07-15 20:43:29 UTC (rev 3829)
@@ -186,15 +186,6 @@
     impl->finish();
 }
 
-SDL_Surface*
-Sprite::get_surface() const
-{
-  if (impl.get())
-    return impl->surface.get_surface();
-  else
-    return NULL;
-}
-
 void
 Sprite::scale(int w, int h)
 {

Modified: trunk/pingus/src/sprite.hpp
===================================================================
--- trunk/pingus/src/sprite.hpp 2008-07-15 08:47:19 UTC (rev 3828)
+++ trunk/pingus/src/sprite.hpp 2008-07-15 20:43:29 UTC (rev 3829)
@@ -59,8 +59,6 @@
   void restart();
   void finish();
   operator bool();
-  SDL_Surface* get_surface() const;
-  void set_surface(SDL_Surface* surface);
 
   /** Resizes the Sprite to the given size. This is a destructive
       operation. The original Surface will be lost. */





reply via email to

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