# HG changeset patch
# User insilmaril
# Date 1209995202 0
# Node ID c5e3cb54b9db8d4d26540a8f6f7fbe90eff785da
# Parent  058b0e70f5ec1b270e50ae843288007ed4ed4ab6
Some code cleanup and experimental stuff to support animations later

diff -r 058b0e70f5ec -r c5e3cb54b9db mapeditor.h
--- a/mapeditor.h	Mon May 05 13:46:42 2008 +0000
+++ b/mapeditor.h	Mon May 05 13:46:42 2008 +0000
@@ -381,7 +381,6 @@
 	void dragLeaveEvent (QDragLeaveEvent *);
 	void dropEvent (QDropEvent *);
 
-	void timerEvent(QTimerEvent *event);
 
 protected:
 	void sendSelection();
@@ -489,10 +488,6 @@
 	int port;					// server port of this client
 	void displayClientError(QAbstractSocket::SocketError socketError);
 
-
-	// Animation data **experimental**
-	int timerId;				// animation timer
-	QList <MapObj*> animObjList;// list with animated objects
 };
 #endif
 
diff -r 058b0e70f5ec -r c5e3cb54b9db mapobj.cpp
--- a/mapobj.cpp	Mon May 05 13:46:42 2008 +0000
+++ b/mapobj.cpp	Mon May 05 13:46:42 2008 +0000
@@ -129,6 +129,3 @@
     visible=v;
 }
 
-void MapObj::animate()
-{
-}
diff -r 058b0e70f5ec -r c5e3cb54b9db mapobj.h
--- a/mapobj.h	Mon May 05 13:46:42 2008 +0000
+++ b/mapobj.h	Mon May 05 13:46:42 2008 +0000
@@ -43,7 +43,6 @@
     virtual void setVisibility(bool);
     virtual void positionBBox()=0;       
 	virtual void calcBBoxSize()=0;
-	virtual void animate();						// called by timer for animated objects
 protected:  
     QGraphicsScene* scene;
     QRectF bbox;									// bounding box of MO itself