aboutsummaryrefslogtreecommitdiff
path: root/sword2/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/debug.h')
-rw-r--r--sword2/debug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sword2/debug.h b/sword2/debug.h
index 9fc14e5c44..cf6b73b840 100644
--- a/sword2/debug.h
+++ b/sword2/debug.h
@@ -26,6 +26,8 @@
#include "driver.h"
#include "object.h"
+namespace Sword2 {
+
#define MAX_DEBUG_TEXT_BLOCKS 50
extern uint8 displayDebugText; // 0=off; 1=on
@@ -62,11 +64,17 @@ void Draw_debug_graphics(void);
void Print_current_info(void);
+} // End of namespace Sword2
+
#else // ie. not _SWORD2_DEBUG
+namespace Sword2 {
+
void Build_debug_text(void);
void Draw_debug_graphics(void);
+} // End of namespace Sword2
+
#endif
#endif