aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/_mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver/_mouse.h')
-rw-r--r--sword2/driver/_mouse.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sword2/driver/_mouse.h b/sword2/driver/_mouse.h
index 09f53154a4..ba48eb251c 100644
--- a/sword2/driver/_mouse.h
+++ b/sword2/driver/_mouse.h
@@ -17,8 +17,10 @@
* $Header$
*/
-#ifndef MOUSE_H
-#define MOUSE_H
+#ifndef DRIVER_MOUSE_H
+#define DRIVER_MOUSE_H
+
+namespace Sword2 {
extern int16 mousex; // Mouse x coordinate
extern int16 mousey; // Mouse y coordinate
@@ -26,4 +28,6 @@ extern int16 mousey; // Mouse y coordinate
extern void LogMouseEvent(uint16 buttons);
extern int32 DrawMouse(void);
+} // End of namespace Sword2
+
#endif