projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added chinese fonts and translation from Liu Sizhuang <oldherl@gmail.com>
[supertux.git]
/
src
/
direction.hpp
diff --git
a/src/direction.hpp
b/src/direction.hpp
index
c7bb2e1
..
f4df937
100644
(file)
--- a/
src/direction.hpp
+++ b/
src/direction.hpp
@@
-20,6
+20,10
@@
#ifndef SUPERTUX_DIRECTION_H
#define SUPERTUX_DIRECTION_H
-enum Direction { AUTO, LEFT, RIGHT };
+#include <iostream>
+
+enum Direction { AUTO, LEFT, RIGHT, UP, DOWN };
+
+std::ostream& operator<<(std::ostream& o, const Direction& dir);
#endif