DREAMWEB: 'examIcon' ported to C++

This commit is contained in:
Bertrand Augereau 2011-12-04 17:04:51 +01:00
parent 18e84f9c11
commit a192f58539
5 changed files with 6 additions and 11 deletions

View File

@ -211,6 +211,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'entersymbol',
'eraseoldobs',
'error',
'examicon',
'examineob',
'examineobtext',
'facerightway',

View File

@ -2926,16 +2926,6 @@ void DreamGenContext::openOb() {
cs.word(bx) = ax;
}
void DreamGenContext::examIcon() {
STACK_CHECK;
ds = data.word(kIcons2);
di = 254;
bx = 5;
al = 3;
ah = 0;
showFrame();
}
void DreamGenContext::describeOb() {
STACK_CHECK;
getObTextStart();

View File

@ -831,7 +831,6 @@ public:
void deleteExText();
void foghornSound();
void liftNoise();
void examIcon();
void showGun();
void louisChair();
void locationPic();

View File

@ -2825,6 +2825,10 @@ void DreamGenContext::panelIcons1() {
showWatch();
}
void DreamGenContext::examIcon() {
showFrame(icons2(), 254, 5, 3, 0);
}
uint8 DreamGenContext::getLocation(uint8 index) {
return data.byte(kRoomscango + index);
}

View File

@ -409,6 +409,7 @@
void showExit();
void showMan();
void panelIcons1();
void examIcon();
void buttonOne();
void buttonTwo();
void buttonThree();