projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
commented out an error-message line in glutil.hpp that caused linking errors
[supertux.git]
/
src
/
sprite
/
sprite.hpp
diff --git
a/src/sprite/sprite.hpp
b/src/sprite/sprite.hpp
index
1c16632
..
cf5e603
100644
(file)
--- a/
src/sprite/sprite.hpp
+++ b/
src/sprite/sprite.hpp
@@
-46,6
+46,9
@@
public:
/** Set action (or state) */
void set_action(const std::string& act, int loops = -1);
+ /** Set framerate */
+ void set_fps(float new_fps);
+
/* Stop animation */
void stop_animation()
{ animation_loops = 0; }