projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed jump behaviour: Tux will now jump even if the button was pressed (up to)...
[supertux.git]
/
src
/
object
/
display_effect.hpp
diff --git
a/src/object/display_effect.hpp
b/src/object/display_effect.hpp
index
582dcbe
..
8c3f857
100644
(file)
--- a/
src/object/display_effect.hpp
+++ b/
src/object/display_effect.hpp
@@
-37,6
+37,12
@@
public:
void update(float elapsed_time);
void draw(DrawingContext& context);
void update(float elapsed_time);
void draw(DrawingContext& context);
+
+ /**
+ * @name Scriptable Methods
+ * @{
+ */
+
void fade_out(float fadetime);
void fade_in(float fadetime);
void set_black(bool enabled);
void fade_out(float fadetime);
void fade_in(float fadetime);
void set_black(bool enabled);
@@
-44,6
+50,10
@@
public:
void sixteen_to_nine(float fadetime);
void four_to_three(float fadetime);
void sixteen_to_nine(float fadetime);
void four_to_three(float fadetime);
+ /**
+ * @}
+ */
+
private:
enum FadeType {
NO_FADE, FADE_IN, FADE_OUT
private:
enum FadeType {
NO_FADE, FADE_IN, FADE_OUT