SAGA2: Fix unreferenced symbols

This commit is contained in:
Eugene Sandulenko
2021-07-01 01:37:42 +02:00
parent 307e094d4f
commit b02941237d
2 changed files with 4 additions and 7 deletions
+3 -3
View File
@@ -103,6 +103,8 @@ workBuffer::~workBuffer(void) {
musicBuffer::musicBuffer(size_t newSize, audioInterface *sd, int16 newID)
: Buffer(newSize) {
warning("STUB: musicBuffer::musicBuffer()");
#if 0
if (sd && sd->enabled(volMusic)) {
assert(sd);
assert(sd->mid);
@@ -110,15 +112,13 @@ musicBuffer::musicBuffer(size_t newSize, audioInterface *sd, int16 newID)
bufID = newID;
fillBuffer = 0;
targetSated = false;
warning("STUB: musicBuffer::musicBuffer()");
#if 0
ailSampleHandle = AIL_allocate_sequence_handle(sd->mid);
if (ailSampleHandle == 0)
error("Unable to allocate music handle");
#endif
data[1] = NULL;
audioSet = 0;
}
#endif
}
musicBuffer::~musicBuffer(void) {
+1 -4
View File
@@ -50,11 +50,8 @@ namespace Saga2 {
#define TEST1 1 // enable test code
#define TEST2 1
#define TEST3 1
#if DEBUG
#define CHEATMOVE 1 // For moving with keypad in 8 directions
#else
#define CHEATMOVE 0
#endif
/* ===================================================================== *
gStickyDragControl class: a gGenericControl with a sticky mouse