projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Major rewrite of scripting support:
[supertux.git]
/
src
/
object
/
path_walker.hpp
diff --git
a/src/object/path_walker.hpp
b/src/object/path_walker.hpp
index
016de8a
..
2f759fd
100644
(file)
--- a/
src/object/path_walker.hpp
+++ b/
src/object/path_walker.hpp
@@
-53,8
+53,12
@@
private:
Vector last_pos;
- /** the time we already spend in the current node */
+ /**
+ * the position between the current node and the next node as fraction
+ * between 0 and 1
+ */
float node_time;
+ float node_mult;
float walking_speed;
};