From 3f7f1a24108b1333908e82fd01455ea4f863afd3 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 10 Jun 2019 01:16:48 +0300 Subject: STARTREK: Remove the FileStream wrapper class --- engines/startrek/bitmap.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/startrek/bitmap.cpp') diff --git a/engines/startrek/bitmap.cpp b/engines/startrek/bitmap.cpp index c444a07b18..2d2a223c80 100644 --- a/engines/startrek/bitmap.cpp +++ b/engines/startrek/bitmap.cpp @@ -19,12 +19,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include "common/stream.h" +#include "common/memstream.h" + #include "startrek/bitmap.h" #include "startrek/startrek.h" namespace StarTrek { -Bitmap::Bitmap(SharedPtr stream) { +Bitmap::Bitmap(FileStream stream) { xoffset = stream->readUint16(); yoffset = stream->readUint16(); width = stream->readUint16(); -- cgit v1.2.3