Skip to content

Commit

Permalink
DREAMWEB: 'reelsonscreen' ported to C++
Browse files Browse the repository at this point in the history
  • Loading branch information
tramboi committed Nov 23, 2011
1 parent 233b454 commit 54fc8e5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
1 change: 1 addition & 0 deletions devtools/tasmrecover/tasm-recover
Expand Up @@ -271,6 +271,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'createpanel',
'createpanel2',
'findroominloc',
'reelsonscreen',
], skip_output = [
# These functions are processed but not output
'dreamweb',
Expand Down
9 changes: 0 additions & 9 deletions engines/dreamweb/dreamgen.cpp
Expand Up @@ -2142,15 +2142,6 @@ void DreamGenContext::constant() {
ds.byte(di+17) = al;
}

void DreamGenContext::reelsonscreen() {
STACK_CHECK;
reconstruct();
updatepeople();
watchreel();
showrain();
usetimedtext();
}

void DreamGenContext::soundonreels() {
STACK_CHECK;
bl = data.byte(kReallocation);
Expand Down
9 changes: 4 additions & 5 deletions engines/dreamweb/dreamgen.h
Expand Up @@ -476,7 +476,6 @@ class DreamGenContext : public Context {
static const uint16 addr_deleverything = 0xc1c0;
static const uint16 addr_reconstruct = 0xc1ac;
static const uint16 addr_soundonreels = 0xc1a8;
static const uint16 addr_reelsonscreen = 0xc1a0;
static const uint16 addr_constant = 0xc184;
static const uint16 addr_steady = 0xc180;
static const uint16 addr_random = 0xc17c;
Expand Down Expand Up @@ -1183,6 +1182,7 @@ class DreamGenContext : public Context {
void clearbuffers();
//void neterror();
void storeit();
//void lockeddoorway();
//void isitworn();
//void putundertimed();
//void dumpmap();
Expand All @@ -1196,7 +1196,7 @@ class DreamGenContext : public Context {
void loadfolder();
void dumpdiarykeys();
//void dumppointer();
void reelsonscreen();
void bossman();
void getridofreels();
void readkey();
void louis();
Expand Down Expand Up @@ -1466,6 +1466,7 @@ class DreamGenContext : public Context {
//void showcity();
void dumpsymbol();
void disablepath();
//void convicons();
void buttonsix();
void intro2text();
void showouterpad();
Expand Down Expand Up @@ -1550,7 +1551,6 @@ class DreamGenContext : public Context {
void purgealocation();
void sparkydrip();
//void paltostartpal();
void bossman();
void getridofpit();
void convnum();
//void checkifset();
Expand Down Expand Up @@ -1772,6 +1772,7 @@ class DreamGenContext : public Context {
void usegun();
void autoappear();
//void findnextcolon();
//void reelsonscreen();
//void readmouse4();
void openryan();
void callhotellift();
Expand Down Expand Up @@ -1837,14 +1838,12 @@ class DreamGenContext : public Context {
void usechurchgate();
void monkandryan();
void allocatebuffers();
//void convicons();
void swapwithinv();
void usecontrol();
void buttonseven();
void redrawmainscrn();
void showgroup();
//void findallryan();
//void lockeddoorway();
//void channel0tran();
void buttonpress();
//void parseblaster();
Expand Down
8 changes: 8 additions & 0 deletions engines/dreamweb/sprite.cpp
Expand Up @@ -1012,5 +1012,13 @@ void DreamGenContext::textformonk() {
setuptimedtemp();
}

void DreamGenContext::reelsonscreen() {
reconstruct();
updatepeople();
watchreel();
showrain();
usetimedtext();
}

} /*namespace dreamgen */

1 change: 1 addition & 0 deletions engines/dreamweb/stubs.h
Expand Up @@ -330,4 +330,5 @@
void createpanel();
void createpanel2();
void findroominloc();
void reelsonscreen();

0 comments on commit 54fc8e5

Please sign in to comment.