pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] r3775 - in trunk/pingus: . src/worldmap


From: grumbel at BerliOS
Subject: [Pingus-CVS] r3775 - in trunk/pingus: . src/worldmap
Date: Fri, 11 Jul 2008 10:43:29 +0200

Author: grumbel
Date: 2008-07-11 10:43:28 +0200 (Fri, 11 Jul 2008)
New Revision: 3775

Removed:
   trunk/pingus/src/worldmap/sprite_drawable.cpp
   trunk/pingus/src/worldmap/sprite_drawable.hpp
Modified:
   trunk/pingus/SConstruct
Log:
Removed unused file

Modified: trunk/pingus/SConstruct
===================================================================
--- trunk/pingus/SConstruct     2008-07-10 18:34:38 UTC (rev 3774)
+++ trunk/pingus/SConstruct     2008-07-11 08:43:28 UTC (rev 3775)
@@ -216,7 +216,6 @@
 'src/worldmap/path_graph.cpp', 
 'src/worldmap/pingus.cpp', 
 'src/worldmap/pingus_worldmap.cpp', 
-'src/worldmap/sprite_drawable.cpp', 
 'src/worldmap/surface_drawable.cpp', 
 'src/worldmap/worldmap.cpp', 
 'src/worldmap/worldmap_story.cpp', 

Deleted: trunk/pingus/src/worldmap/sprite_drawable.cpp
===================================================================
--- trunk/pingus/src/worldmap/sprite_drawable.cpp       2008-07-10 18:34:38 UTC 
(rev 3774)
+++ trunk/pingus/src/worldmap/sprite_drawable.cpp       2008-07-11 08:43:28 UTC 
(rev 3775)
@@ -1,41 +0,0 @@
-//  Pingus - A free Lemmings clone
-//  Copyright (C) 2002 Ingo Ruhnke <address@hidden>
-//
-//  This program is free software: you can redistribute it and/or modify
-//  it under the terms of the GNU General Public License as published by
-//  the Free Software Foundation, either version 3 of the License, or
-//  (at your option) any later version.
-//  
-//  This program is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-//  GNU General Public License for more details.
-//  
-//  You should have received a copy of the GNU General Public License
-//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-#include "../display/drawing_context.hpp"
-#include "sprite_drawable.hpp"
-
-namespace WorldmapNS {
-
-SpriteDrawable::SpriteDrawable(FileReader reader)
-  : Drawable(reader)
-{
-
-}
-
-SpriteDrawable::~SpriteDrawable()
-{
-
-}
-
-void
-SpriteDrawable::draw(DrawingContext& gc)
-{
-  gc.draw(sprite, pos);
-}
-
-} // namespace WorldmapNS
-
-/* EOF */

Deleted: trunk/pingus/src/worldmap/sprite_drawable.hpp
===================================================================
--- trunk/pingus/src/worldmap/sprite_drawable.hpp       2008-07-10 18:34:38 UTC 
(rev 3774)
+++ trunk/pingus/src/worldmap/sprite_drawable.hpp       2008-07-11 08:43:28 UTC 
(rev 3775)
@@ -1,53 +0,0 @@
-//  Pingus - A free Lemmings clone
-//  Copyright (C) 2002 Ingo Ruhnke <address@hidden>
-//
-//  This program is free software: you can redistribute it and/or modify
-//  it under the terms of the GNU General Public License as published by
-//  the Free Software Foundation, either version 3 of the License, or
-//  (at your option) any later version.
-//  
-//  This program is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-//  GNU General Public License for more details.
-//  
-//  You should have received a copy of the GNU General Public License
-//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-#ifndef HEADER_SPRITE_DRAWABLE_HPP
-#define HEADER_SPRITE_DRAWABLE_HPP
-
-#include "../sprite.hpp"
-#include "../math/vector3f.hpp"
-#include "drawable.hpp"
-
-namespace WorldmapNS {
-
-/** */
-class SpriteDrawable : public Drawable
-{
-private:
-  Sprite sprite;
-  Vector3f  pos;
-
-public:
-  SpriteDrawable(FileReader reader);
-  ~SpriteDrawable();
-
-  void draw(DrawingContext& gc);
-
-  void update(float delta)
-  {
-    sprite.update(delta);
-  }
-
-private:
-  SpriteDrawable (const SpriteDrawable&);
-  SpriteDrawable operator= (const SpriteDrawable&);
-};
-
-} // namespace WorldmapNS
-
-#endif
-
-/* EOF */





reply via email to

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