remove invisible tile object as it's not needed
authorMatthias Braun <matze@braunis.de>
Sun, 28 Nov 2004 17:19:26 +0000 (17:19 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 28 Nov 2004 17:19:26 +0000 (17:19 +0000)
SVN-Revision: 2216

src/object/invisible_tile.cpp [deleted file]
src/object/invisible_tile.h [deleted file]
src/sector.cpp

diff --git a/src/object/invisible_tile.cpp b/src/object/invisible_tile.cpp
deleted file mode 100644 (file)
index 27541a6..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <config.h>
-
-#include "invisible_tile.h"
-#include "resources.h"
-#include "special/sprite.h"
-#include "special/sprite_manager.h"
-#include "video/drawing_context.h"
-
-InvisibleTile::InvisibleTile(const Vector& pos)
-  : Block(pos, sprite_manager->create("invisibleblock")), visible(false)
-{
-  flags |= FLAG_SOLID;
-}
-
-void
-InvisibleTile::draw(DrawingContext& )
-{
-}
-
-void
-InvisibleTile::hit(Player& )
-{
-}
-
diff --git a/src/object/invisible_tile.h b/src/object/invisible_tile.h
deleted file mode 100644 (file)
index 0924e75..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef __INBUMPABLE_BLOCK_H__
-#define __INBUMPABLE_BLOCK_H__
-
-#include "block.h"
-
-class InvisibleTile : public Block
-{
-public:
-  InvisibleTile(const Vector& pos);
-
-  virtual void draw(DrawingContext& context);
-
-protected:
-  virtual void hit(Player& player);
-
-private:
-  bool visible;
-};
-
-#endif
-
index abb28f9..6b3abe1 100644 (file)
@@ -48,7 +48,6 @@
 #include "object/coin.h"
 #include "object/block.h"
 #include "object/invisible_block.h"
-#include "object/invisible_tile.h"
 #include "object/platform.h"
 #include "object/bullet.h"
 #include "badguy/jumpy.h"
@@ -329,9 +328,6 @@ Sector::fix_old_tiles()
       if(tile->getID() == 112) {
         add_object(new InvisibleBlock(pos));
         solids->change(x, y, 0);
-      } else if(tile->getID() == 1311) {
-        add_object(new InvisibleTile(pos));
-       solids->change(x, y, 0);
       } else if(tile->getID() == 295) {
         add_object(new Spike(pos, Spike::NORTH));
         solids->change(x, y, 0);