projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added small/firetux to worldmap
[supertux.git]
/
src
/
worldmap.h
diff --git
a/src/worldmap.h
b/src/worldmap.h
index
2bfe806
..
c2a7154
100644
(file)
--- a/
src/worldmap.h
+++ b/
src/worldmap.h
@@
-63,8
+63,9
@@
public:
/** Stop on this tile or walk over it? */
bool stop;
/** Stop on this tile or walk over it? */
bool stop;
- /** direction in which to automatically turn when walked on such a tile */
- Direction auto_walk;
+ /** When set automatically turn directions when walked over such a
+ tile (ie. walk smoothly a curve) */
+ bool auto_walk;
};
class TileManager
};
class TileManager
@@
-94,7
+95,9
@@
public:
Direction back_direction;
private:
WorldMap* worldmap;
Direction back_direction;
private:
WorldMap* worldmap;
- Surface* sprite;
+ Surface* largetux_sprite;
+ Surface* firetux_sprite;
+ Surface* smalltux_sprite;
Direction input_direction;
Direction direction;
Direction input_direction;
Direction direction;