Skip to content

Commit

Permalink
SHERLOCK: RT: Fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 1, 2015
1 parent 8e4fca0 commit e2803d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions engines/sherlock/image_file.cpp
Expand Up @@ -619,6 +619,9 @@ void ImageFile3DO::load3DOCelFile(Common::SeekableReadStream &stream) {
// Seek to end of chunk
stream.seek(chunkStartPos + chunkSize);
}

// Warning below being used to silence unused variable warnings for now
warning("TODO: Remove %d %d %d", animFrameCount, ccbPPMP0, ccbPPMP1);
}

// Reads 3DO .cel data (room file format)
Expand Down Expand Up @@ -1004,6 +1007,9 @@ void ImageFile3DO::loadFont(Common::SeekableReadStream &stream) {
}
}

// Warning below being used to silence unused variable warnings for now
warning("TODO: Remove %d %d", curBitsLeft, curBitsReversed);

delete[] bitsTablePtr;
delete[] widthTablePtr;
}
Expand Down
10 changes: 5 additions & 5 deletions engines/sherlock/tattoo/tattoo_user_interface.h
Expand Up @@ -201,11 +201,6 @@ class TattooUserInterface : public UserInterface {
* Draws all the dialog rectangles for any items that need them
*/
void drawDialogRect(Surface &s, const Common::Rect &r, bool raised);

/**
* Banish any active window
*/
void banishWindow();
public:
/**
* Resets the user interface
Expand All @@ -226,6 +221,11 @@ class TattooUserInterface : public UserInterface {
* Clear any active text window
*/
virtual void clearWindow();

/**
* Banish any active window
*/
virtual void banishWindow();
};

} // End of namespace Tattoo
Expand Down

0 comments on commit e2803d7

Please sign in to comment.