aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui_picture.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-05 07:38:05 +0000
committerFilippos Karapetis2009-10-05 07:38:05 +0000
commit3f77685f13165120d64eabf863f017ee65684711 (patch)
tree395ac28341058daabae789a37719a8db4592b5a0 /engines/sci/gui/gui_picture.cpp
parent6f97a7ca817a36ff1e0ac3dcf9bb9113e4765bc0 (diff)
downloadscummvm-rg350-3f77685f13165120d64eabf863f017ee65684711.tar.gz
scummvm-rg350-3f77685f13165120d64eabf863f017ee65684711.tar.bz2
scummvm-rg350-3f77685f13165120d64eabf863f017ee65684711.zip
More method renaming
svn-id: r44651
Diffstat (limited to 'engines/sci/gui/gui_picture.cpp')
-rw-r--r--engines/sci/gui/gui_picture.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp
index c10105279f..d779cf5e75 100644
--- a/engines/sci/gui/gui_picture.cpp
+++ b/engines/sci/gui/gui_picture.cpp
@@ -77,7 +77,7 @@ void SciGuiPicture::reset() {
int16 x, y;
for (y = _curPort->top; y < _screen->_height; y++) {
for (x = 0; x < _screen->_width; x++) {
- _screen->Put_Pixel(x, y, SCI_SCREEN_MASK_ALL, 255, 0, 0);
+ _screen->putPixel(x, y, SCI_SCREEN_MASK_ALL, 255, 0, 0);
}
}
}
@@ -168,8 +168,8 @@ void SciGuiPicture::drawCel(int16 x, int16 y, byte *pdata, int size) {
switch (b & 0xC0) {
case 0: // copy bytes as-is but skip transparent ones
while (brun-- && y < lasty && ptr < pend) {
- if ((b = *ptr++) != clr && priority >= _screen->Get_Priority(x, y)) {
- _screen->Put_Pixel(x, y, 3, b, priority, 0);
+ if ((b = *ptr++) != clr && priority >= _screen->getPriority(x, y)) {
+ _screen->putPixel(x, y, 3, b, priority, 0);
}
x++;
if (x >= _screen->_width) {
@@ -180,8 +180,8 @@ void SciGuiPicture::drawCel(int16 x, int16 y, byte *pdata, int size) {
case 0x80: // fill with color
b = *ptr++;
while (brun-- && y < lasty) {
- if (priority >= _screen->Get_Priority(x, y)) {
- _screen->Put_Pixel(x, y, 3, b, priority, 0);
+ if (priority >= _screen->getPriority(x, y)) {
+ _screen->putPixel(x, y, 3, b, priority, 0);
}
x++;
if (x >= _screen->_width) {
@@ -221,8 +221,8 @@ void SciGuiPicture::drawCelAmiga(int16 x, int16 y, byte *pdata, int size) {
bytes = op & 0x07;
col = op >> 3;
while (bytes-- && y < lasty) {
- if (priority >= _screen->Get_Priority(x, y)) {
- _screen->Put_Pixel(x, y, 3, col, priority, 0);
+ if (priority >= _screen->getPriority(x, y)) {
+ _screen->putPixel(x, y, 3, col, priority, 0);
}
x++;
if (x >= _screen->_width) {