From 173ef3214e551050f126e443e5702294dacebcb2 Mon Sep 17 00:00:00 2001 From: gerstrong Date: Thu, 23 Jul 2009 06:24:51 +0000 Subject: [PATCH] Resolved some compilation errors git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@117 4df4b0f3-56ce-47cb-b001-ed939b7d65a6 --- src/hqp/hq_sound.cpp | 2 +- src/vorbis/oggsupport.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hqp/hq_sound.cpp b/src/hqp/hq_sound.cpp index 01d284820..f0cba3a85 100644 --- a/src/hqp/hq_sound.cpp +++ b/src/hqp/hq_sound.cpp @@ -26,7 +26,7 @@ short HQSndDrv_Load(SDL_AudioSpec *AudioSpec, stHQSound *psound, const std::stri #ifdef BUILD_WITH_OGG if(openOGGSound(fp, &AudioFileSpec, AudioSpec->format, psound) != 0) { - g_pLogFile->textOut(PURPLE,"OGG file could not be opened: \"%s\". The file was detected, but appears to be damaged. Trying to load the classical sound
", soundfile); + g_pLogFile->ftextOut(PURPLE,"OGG file could not be opened: \"%s\". The file was detected, but appears to be damaged. Trying to load the classical sound
", soundfile); return 1; } psound->enabled = true; diff --git a/src/vorbis/oggsupport.cpp b/src/vorbis/oggsupport.cpp index 7c8174db3..cc9643a40 100644 --- a/src/vorbis/oggsupport.cpp +++ b/src/vorbis/oggsupport.cpp @@ -12,6 +12,7 @@ #include #include #include +using namespace std; #define MAX_LEVELS 100 // Stupid! But you need it! #define BUFFER_SIZE 32768 // 32 KB buffers