-converted remaining classes to GameObject
[supertux.git] / src / type.h
index 6b0647e..34b3206 100644 (file)
@@ -1,5 +1,5 @@
 //  $Id$
-// 
+//
 //  SuperTux
 //  Copyright (C) 2004 Tobias Glaesser <tobi.web@gmx.de>
 //
@@ -12,7 +12,7 @@
 //  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, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
@@ -21,7 +21,9 @@
 #ifndef SUPERTUX_TYPE_H
 #define SUPERTUX_TYPE_H
 
+#include <string>
 #include "SDL.h"
+#include "scene.h"
 
 /* 'Base' type for game objects */
 
@@ -29,13 +31,10 @@ struct base_type
 {
   float x;
   float y;
-  float xm;
-  float ym;
   float width;
   float height;
 };
 
-
 struct string_list_type
 {
   int num_items;
@@ -51,5 +50,7 @@ void  string_list_sort(string_list_type* pstring_list);
 void  string_list_add_item(string_list_type* pstring_list, const char* str);
 void  string_list_free(string_list_type* pstring_list);
 
+
+
 #endif /*SUPERTUX_TYPE_H*/