#ifndef TILE_H
#define TILE_H
+#include <map>
#include <vector>
#include "texture.h"
#include "globals.h"
{
int id;
- std::vector<texture_type> images;
+ std::vector<Surface*> images;
+ std::vector<Surface*> editor_images;
+
std::vector<std::string> filenames;
/** solid tile that is indestructable by Tux */
/** FIXME: ? */
bool ice;
+ /** water */
+ bool water;
+
/** Bonusbox, content is stored in \a data */
bool fullbox;
int next_tile;
int anim_speed;
+
+ /** Draw a tile on the screen: */
+ static void draw(float x, float y, unsigned int c, Uint8 alpha = 255);
};
struct TileGroup
}
};
-
-
#endif