Resolved some compilation errors

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@117 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
gerstrong
2009-07-23 06:24:51 +00:00
parent 191d026a2e
commit 173ef3214e
2 changed files with 2 additions and 1 deletions

View File

@@ -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<br>", 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<br>", soundfile);
return 1;
}
psound->enabled = true;

View File

@@ -12,6 +12,7 @@
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
#define MAX_LEVELS 100 // Stupid! But you need it!
#define BUFFER_SIZE 32768 // 32 KB buffers