aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/image.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-21 08:33:04 +0100
committerWillem Jan Palenstijn2015-12-23 21:35:33 +0100
commit10baf6b9a2903c9d9ac0e8756ca161efdb233b07 (patch)
tree939f9edef88d6dd04ec2938964b1c8663b274549 /engines/lab/image.cpp
parent46f792d82d580b489e5251388e55644358563534 (diff)
downloadscummvm-rg350-10baf6b9a2903c9d9ac0e8756ca161efdb233b07.tar.gz
scummvm-rg350-10baf6b9a2903c9d9ac0e8756ca161efdb233b07.tar.bz2
scummvm-rg350-10baf6b9a2903c9d9ac0e8756ca161efdb233b07.zip
LAB: Finish moving function comments to header
Diffstat (limited to 'engines/lab/image.cpp')
-rw-r--r--engines/lab/image.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/engines/lab/image.cpp b/engines/lab/image.cpp
index 9b2b99d241..ce0d5431b6 100644
--- a/engines/lab/image.cpp
+++ b/engines/lab/image.cpp
@@ -37,9 +37,6 @@
namespace Lab {
-/**
- * Reads in an image from disk.
- */
Image::Image(Common::File *s, LabEngine *vm) : _vm(vm) {
_width = s->readUint16LE();
_height = s->readUint16LE();
@@ -57,9 +54,6 @@ Image::~Image() {
delete[] _imageData;
}
-/**
- * Blits a piece of one image to another.
- */
void Image::blitBitmap(uint16 xs, uint16 ys, Image *imDest,
uint16 xd, uint16 yd, uint16 width, uint16 height, byte masked) {
int w = width;
@@ -106,23 +100,14 @@ void Image::blitBitmap(uint16 xs, uint16 ys, Image *imDest,
}
}
-/**
- * Draws an image to the screen.
- */
void Image::drawImage(uint16 x, uint16 y) {
blitBitmap(0, 0, nullptr, x, y, _width, _height, false);
}
-/**
- * Draws an image to the screen with transparency.
- */
void Image::drawMaskImage(uint16 x, uint16 y) {
blitBitmap(0, 0, nullptr, x, y, _width, _height, true);
}
-/**
- * Reads an image from the screen.
- */
void Image::readScreenImage(uint16 x, uint16 y) {
int w = _width;
int h = _height;