aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/graphics.cpp
diff options
context:
space:
mode:
authoruruk2014-02-21 16:22:37 +0100
committeruruk2014-02-21 16:22:37 +0100
commitd23ced0aed643b2d6e3b6a70518f9412652dd817 (patch)
tree165b3bdd982524bd7117c3a692369e86dfd6ed82 /engines/avalanche/graphics.cpp
parent5580c0b95e11d4035626ddd6efef600385044f76 (diff)
downloadscummvm-rg350-d23ced0aed643b2d6e3b6a70518f9412652dd817.tar.gz
scummvm-rg350-d23ced0aed643b2d6e3b6a70518f9412652dd817.tar.bz2
scummvm-rg350-d23ced0aed643b2d6e3b6a70518f9412652dd817.zip
AVALANCHE: Repair ShootEmUp::plotThem().
Diffstat (limited to 'engines/avalanche/graphics.cpp')
-rw-r--r--engines/avalanche/graphics.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp
index 3b4413ab76..603e294fd8 100644
--- a/engines/avalanche/graphics.cpp
+++ b/engines/avalanche/graphics.cpp
@@ -779,6 +779,14 @@ void GraphicManager::seuDrawCameo(int destX, int destY, byte w1, byte w2) {
drawPicture(_surface, _seuPictures[w1], destX, destY);
}
+uint16 GraphicManager::seuGetPicWidth(int which) {
+ return _seuPictures[which].w;
+}
+
+uint16 GraphicManager::seuGetPicHeight(int which) {
+ return _seuPictures[which].h;
+}
+
/**
* This function is for skipping the difference between a stored 'size' value associated with a picture
* and the actual size of the pictures when reading them from files for Ghostroom and Shoot em' up.