aboutsummaryrefslogtreecommitdiff
path: root/sword2/scroll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/scroll.cpp')
-rw-r--r--sword2/scroll.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sword2/scroll.cpp b/sword2/scroll.cpp
index 5db6628bb7..70e0ac8815 100644
--- a/sword2/scroll.cpp
+++ b/sword2/scroll.cpp
@@ -26,6 +26,8 @@
#include "layers.h"
#include "scroll.h"
+namespace Sword2 {
+
// max no of pixel allowed to scroll per cycle
#define MAX_SCROLL_DISTANCE 8
@@ -174,3 +176,5 @@ int32 FN_set_scroll_speed_slow(int32 *params) {
scroll_fraction = 32;
return IR_CONT;
}
+
+} // End of namespace Sword2