aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/graphics.h
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-06-22 19:11:49 +0200
committerThierry Crozat2018-01-22 23:42:02 +0000
commit5ebe90a45e86b0d9ad88a068cb3d80b2f5f52c86 (patch)
tree8e5866d884aa23b1206f247810812663af4ad24d /engines/supernova/graphics.h
parentbe5f3a631931a3ec7f07c5e2168064d98d48698f (diff)
downloadscummvm-rg350-5ebe90a45e86b0d9ad88a068cb3d80b2f5f52c86.tar.gz
scummvm-rg350-5ebe90a45e86b0d9ad88a068cb3d80b2f5f52c86.tar.bz2
scummvm-rg350-5ebe90a45e86b0d9ad88a068cb3d80b2f5f52c86.zip
SUPERNOVA: Implements loading of newspaper images
While the 640x480 images are loaded correctly, they are displayed cropped to 320x240, the default resolution.
Diffstat (limited to 'engines/supernova/graphics.h')
-rw-r--r--engines/supernova/graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/supernova/graphics.h b/engines/supernova/graphics.h
index 119051090e..d41b70769e 100644
--- a/engines/supernova/graphics.h
+++ b/engines/supernova/graphics.h
@@ -46,11 +46,13 @@ public:
virtual const Graphics::Surface *getSurface() const { return _surface; }
virtual const byte *getPalette() const { return _palette; }
- bool loadSection(int _section);
+ bool loadSection(int filenumber, int section);
static const int kMaxSections = 50;
static const int kMaxClickFields = 80;
+ int _filenumber;
+ int _pitch;
Graphics::Surface *_surface;
byte *_palette;
byte *_encodedImage;