Skip to content

Commit

Permalink
DREAMWEB: 'examIcon' ported to C++
Browse files Browse the repository at this point in the history
  • Loading branch information
tramboi committed Dec 4, 2011
1 parent 18e84f9 commit a192f58
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
1 change: 1 addition & 0 deletions devtools/tasmrecover/tasm-recover
Expand Up @@ -211,6 +211,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'entersymbol',
'eraseoldobs',
'error',
'examicon',
'examineob',
'examineobtext',
'facerightway',
Expand Down
10 changes: 0 additions & 10 deletions engines/dreamweb/dreamgen.cpp
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion engines/dreamweb/dreamgen.h
Expand Up @@ -831,7 +831,6 @@ class DreamGenContext : public Context {
void deleteExText();
void foghornSound();
void liftNoise();
void examIcon();
void showGun();
void louisChair();
void locationPic();
Expand Down
4 changes: 4 additions & 0 deletions engines/dreamweb/stubs.cpp
Expand Up @@ -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);
}
Expand Down
1 change: 1 addition & 0 deletions engines/dreamweb/stubs.h
Expand Up @@ -409,6 +409,7 @@
void showExit();
void showMan();
void panelIcons1();
void examIcon();
void buttonOne();
void buttonTwo();
void buttonThree();
Expand Down

0 comments on commit a192f58

Please sign in to comment.