diff options
author | Max Horn | 2003-10-04 00:52:27 +0000 |
---|---|---|
committer | Max Horn | 2003-10-04 00:52:27 +0000 |
commit | 5a074e6137dc8368132e4e192c018806c1723222 (patch) | |
tree | 222778195b0abbd5698e6decbccfc99ed4f2f894 /sword2/console.cpp | |
parent | 68d923505efb9cb45366b0528f8bf039c1b18902 (diff) | |
download | scummvm-rg350-5a074e6137dc8368132e4e192c018806c1723222.tar.gz scummvm-rg350-5a074e6137dc8368132e4e192c018806c1723222.tar.bz2 scummvm-rg350-5a074e6137dc8368132e4e192c018806c1723222.zip |
added namespace Sword2
svn-id: r10581
Diffstat (limited to 'sword2/console.cpp')
-rw-r--r-- | sword2/console.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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 |