projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated French translation
[supertux.git]
/
src
/
tile.h
diff --git
a/src/tile.h
b/src/tile.h
index
cf809aa
..
692bfe8
100644
(file)
--- a/
src/tile.h
+++ b/
src/tile.h
@@
-23,10
+23,13
@@
#include <vector>
#include "SDL.h"
#include <vector>
#include "SDL.h"
-#include "
screen
/surface.h"
+#include "
video
/surface.h"
-class Vector;
+using namespace SuperTux;
+
+namespace SuperTux {
class LispReader;
class LispReader;
+}
/**
Tile Class
/**
Tile Class
@@
-81,6
+84,9
@@
public:
int next_tile;
int anim_speed;
int next_tile;
int anim_speed;
+
+ /** This is the angle of the slope. Set to 0, if this is no slope. */
+ float slope_angle;
/** Draw a tile on the screen: */
static void draw(const Vector& pos, unsigned int c, Uint8 alpha = 255);
/** Draw a tile on the screen: */
static void draw(const Vector& pos, unsigned int c, Uint8 alpha = 255);