From 5a074e6137dc8368132e4e192c018806c1723222 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Oct 2003 00:52:27 +0000 Subject: added namespace Sword2 svn-id: r10581 --- sword2/console.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sword2/console.cpp') diff --git a/sword2/console.cpp b/sword2/console.cpp index f4a0f535f7..304fcd3752 100644 --- a/sword2/console.cpp +++ b/sword2/console.cpp @@ -20,7 +20,9 @@ #include "stdafx.h" #include "driver/driver96.h" +namespace Sword2 { uint32 console_status = 0; //0 off // LEFT IN RELEASE VERSION +} // End of namespace Sword2 #ifdef _SWORD2_DEBUG @@ -51,6 +53,8 @@ uint32 console_status = 0; //0 off // LEFT IN RELEASE VERSION #include "sword2.h" #include "time.h" +namespace Sword2 { + uint32 Parse_user_input(void); void Clear_console_line(void); void Con_help(void); @@ -1058,8 +1062,12 @@ void Con_display_events() { } } +} // End of namespace Sword2 + #else +namespace Sword2 { + void Print_to_console(const char *format, ...) {} void Temp_print_to_console(const char *format, ...) {} void Clear_console_line(void) {} @@ -1067,4 +1075,6 @@ void Scroll_console(void) {} void Init_console(void) {} void StartConsole(void) {} +} // End of namespace Sword2 + #endif -- cgit v1.2.3