projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- just doing some C++ifying
[supertux.git]
/
src
/
camera.h
diff --git
a/src/camera.h
b/src/camera.h
index
648084e
..
18d2894
100644
(file)
--- a/
src/camera.h
+++ b/
src/camera.h
@@
-52,6
+52,12
@@
public:
(void) context;
}
+ void set_scrolling(int scroll_x, int scroll_y)
+ {
+ translation.x = scroll_x;
+ translation.y = scroll_y;
+ }
+
enum CameraMode
{
NORMAL, AUTOSCROLL, MANUAL