mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
Minor cleanup.
svn-id: r41189
This commit is contained in:
parent
9ca2345fc1
commit
58d494a7cb
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user