projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added horizontal flip effect, as well as both horizontal and vertical together.
[supertux.git]
/
lib
/
video
/
surface.h
diff --git
a/lib/video/surface.h
b/lib/video/surface.h
index
0d89833
..
ad327e9
100644
(file)
--- a/
lib/video/surface.h
+++ b/
lib/video/surface.h
@@
-50,8
+50,10
@@
namespace SuperTux
NONE_EFFECT = 0x0000,
/** Draw the Surface upside down */
VERTICAL_FLIP = 0x0001,
NONE_EFFECT = 0x0000,
/** Draw the Surface upside down */
VERTICAL_FLIP = 0x0001,
+ /** Draw the Surface from left to down */
+ HORIZONTAL_FLIP = 0x0002,
/** Draw the Surface with alpha equal to 128 */
/** Draw the Surface with alpha equal to 128 */
- SEMI_TRANSPARENT = 0x000
2
+ SEMI_TRANSPARENT = 0x000
4
};
/** This class holds all the data necessary to construct a surface */
};
/** This class holds all the data necessary to construct a surface */