diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 38 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 6 |
2 files changed, 0 insertions, 44 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 99be36006c..98c9855ad3 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -2104,44 +2104,6 @@ hissnoise: playchannel1(); } -void DreamGenContext::random() { - STACK_CHECK; - randomnum1(); - push(di); - _and(ax, 7); - _add(di, 18); - _add(di, ax); - al = ds.byte(di); - di = pop(); - es.byte(bx+15) = al; -} - -void DreamGenContext::steady() { - STACK_CHECK; - al = ds.byte(di+18); - ds.byte(di+17) = al; - es.byte(bx+15) = al; -} - -void DreamGenContext::constant() { - STACK_CHECK; - _inc(es.byte(bx+19)); - cl = es.byte(bx+19); - ch = 0; - _add(di, cx); - _cmp(ds.byte(di+18), 255); - if (!flags.z()) - goto gotconst; - _sub(di, cx); - cx = 0; - es.byte(bx+19) = cl; -gotconst: - al = ds.byte(di+18); - _sub(di, cx); - es.byte(bx+15) = al; - ds.byte(di+17) = al; -} - void DreamGenContext::soundonreels() { STACK_CHECK; bl = data.byte(kReallocation); diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index d4e6e083fe..e8642e83ca 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -434,9 +434,6 @@ public: static const uint16 addr_showpcx = 0xc1cc; static const uint16 addr_deleverything = 0xc1c0; static const uint16 addr_soundonreels = 0xc1a8; - static const uint16 addr_constant = 0xc184; - static const uint16 addr_steady = 0xc180; - static const uint16 addr_random = 0xc17c; static const uint16 addr_liftnoise = 0xc178; static const uint16 addr_backobject = 0xc170; static const uint16 addr_reminders = 0xc15c; @@ -1331,14 +1328,12 @@ public: void rollendcredits(); void intro1text(); void transfertoex(); - void steady(); void reexfrominv(); void examinventory(); void getridoftemp3(); void usedryer(); void outofinv(); void diarykeyp(); - void random(); void mainman(); void mansatstill(); void channel1only(); @@ -1352,7 +1347,6 @@ public: void madman(); void enablesoundint(); void madmanstelly(); - void constant(); void purgealocation(); void sparkydrip(); void getridofpit(); |