mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
DREAMWEB: 'showOuterPad' ported to C++
This commit is contained in:
parent
38098a0d0c
commit
a02457a122
@ -343,6 +343,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'sparky',
|
||||
'singlekey',
|
||||
'showkeypad',
|
||||
'showouterpad',
|
||||
'buttonone',
|
||||
'buttontwo',
|
||||
'buttonthree',
|
||||
|
@ -9152,22 +9152,6 @@ doqk:
|
||||
data.byte(kGetback) = 1;
|
||||
}
|
||||
|
||||
void DreamGenContext::showOuterPad() {
|
||||
STACK_CHECK;
|
||||
di = (36+112)-3;
|
||||
bx = (72)-4;
|
||||
ds = data.word(kTempgraphics);
|
||||
al = 1;
|
||||
ah = 0;
|
||||
showFrame();
|
||||
di = (36+112)+74;
|
||||
bx = (72)+76;
|
||||
ds = data.word(kTempgraphics);
|
||||
al = 37;
|
||||
ah = 0;
|
||||
showFrame();
|
||||
}
|
||||
|
||||
void DreamGenContext::dumpKeypad() {
|
||||
STACK_CHECK;
|
||||
di = (36+112)-3;
|
||||
|
@ -697,7 +697,7 @@ public:
|
||||
void useElevator5();
|
||||
void useElevator4();
|
||||
void useElevator1();
|
||||
void useElevator3();
|
||||
void greyscaleSum();
|
||||
void useElevator2();
|
||||
void keyboardRead();
|
||||
void getOpenedSize();
|
||||
@ -811,7 +811,7 @@ public:
|
||||
void getRidOfTemp();
|
||||
void dumpSymbol();
|
||||
void intro2Text();
|
||||
void showOuterPad();
|
||||
void interviewer();
|
||||
void getKeyAndLogo();
|
||||
void selectOb();
|
||||
void usePlinth();
|
||||
@ -851,7 +851,6 @@ public:
|
||||
void showMonk();
|
||||
void diaryKeyN();
|
||||
void set16ColPalette();
|
||||
void interviewer();
|
||||
void purgeAnItem();
|
||||
void madman();
|
||||
void enableSoundInt();
|
||||
@ -997,7 +996,7 @@ public:
|
||||
void openFile();
|
||||
void showPuzText();
|
||||
void incRyanPage();
|
||||
void greyscaleSum();
|
||||
void useElevator3();
|
||||
void findExObject();
|
||||
void clearChanges();
|
||||
void useChurchHole();
|
||||
|
@ -223,5 +223,10 @@ void DreamGenContext::buttonPress(uint8 buttonId) {
|
||||
}
|
||||
}
|
||||
|
||||
void DreamGenContext::showOuterPad() {
|
||||
showFrame(tempGraphics(), kKeypadx-3, kKeypady-4, 1, 0);
|
||||
showFrame(tempGraphics(), kKeypadx+74, kKeypady+76, 37, 0);
|
||||
}
|
||||
|
||||
} /*namespace dreamgen */
|
||||
|
||||
|
@ -384,6 +384,7 @@
|
||||
void sparky(ReelRoutine &routine);
|
||||
void singleKey(uint8 key, uint16 x, uint16 y);
|
||||
void showKeypad();
|
||||
void showOuterPad();
|
||||
void buttonOne();
|
||||
void buttonTwo();
|
||||
void buttonThree();
|
||||
|
Loading…
x
Reference in New Issue
Block a user