Minor cleanup.

svn-id: r41189
This commit is contained in:
Travis Howell 2009-06-05 04:16:32 +00:00
parent 9ca2345fc1
commit 58d494a7cb
4 changed files with 4 additions and 4 deletions

View File

@ -2506,7 +2506,7 @@ void ScummEngine_v100he::o100_getWizData() {
x = pop();
state = pop();
resId = pop();
push(_wiz->getWizPixelColor(resId, state, x, y, 0));
push(_wiz->getWizPixelColor(resId, state, x, y));
break;
case 26:
resId = pop();

View File

@ -1300,7 +1300,7 @@ void ScummEngine_v90he::o90_getWizData() {
x = pop();
state = pop();
resId = pop();
push(_wiz->getWizPixelColor(resId, state, x, y, 0));
push(_wiz->getWizPixelColor(resId, state, x, y));
break;
case 130:
h = pop();

View File

@ -2322,7 +2322,7 @@ int Wiz::isWizPixelNonTransparent(int resNum, int state, int x, int y, int flags
return ret;
}
uint8 Wiz::getWizPixelColor(int resNum, int state, int x, int y, int flags) {
uint16 Wiz::getWizPixelColor(int resNum, int state, int x, int y) {
uint16 color = 0;
uint8 *data = _vm->getResourceAddress(rtImage, resNum);
assert(data);

View File

@ -182,7 +182,7 @@ public:
void getWizImageDim(int resNum, int state, int32 &w, int32 &h);
int getWizImageStates(int resnum);
int isWizPixelNonTransparent(int resnum, int state, int x, int y, int flags);
uint8 getWizPixelColor(int resnum, int state, int x, int y, int flags);
uint16 getWizPixelColor(int resnum, int state, int x, int y);
int getWizImageData(int resNum, int state, int type);
void flushWizBuffer();