diff options
author | Bertrand Augereau | 2011-11-20 17:08:41 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-11-20 17:08:41 +0100 |
commit | 98c3f7991ebc68ba8c949893eb2a7afce4a10d4c (patch) | |
tree | 2e4c67ee7d06544bfc57377466aed29d08e0c6c2 /engines | |
parent | 721b828354018625fda891b39cc88fb298d99033 (diff) | |
download | scummvm-rg350-98c3f7991ebc68ba8c949893eb2a7afce4a10d4c.tar.gz scummvm-rg350-98c3f7991ebc68ba8c949893eb2a7afce4a10d4c.tar.bz2 scummvm-rg350-98c3f7991ebc68ba8c949893eb2a7afce4a10d4c.zip |
DREAMWEB: 'neterror' ported to C++
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 8 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 3 | ||||
-rw-r--r-- | engines/dreamweb/monitor.cpp | 5 | ||||
-rw-r--r-- | engines/dreamweb/stubs.h | 1 |
4 files changed, 7 insertions, 10 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 053824b283..dda636798e 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -6282,13 +6282,6 @@ quitcom: al = 1; } -void DreamGenContext::neterror() { - STACK_CHECK; - al = 5; - monmessage(); - scrollmonitor(); -} - void DreamGenContext::dircom() { STACK_CHECK; cx = 30; @@ -15164,7 +15157,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) { case addr_makecaps: makecaps(); break; case addr_delchar: delchar(); break; case addr_execcommand: execcommand(); break; - case addr_neterror: neterror(); break; case addr_dircom: dircom(); break; case addr_searchforfiles: searchforfiles(); break; case addr_signon: signon(); break; diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index d066ef3cd8..e4e42e2ee0 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -353,7 +353,6 @@ public: static const uint16 addr_signon = 0xc53c; static const uint16 addr_searchforfiles = 0xc538; static const uint16 addr_dircom = 0xc534; - static const uint16 addr_neterror = 0xc530; static const uint16 addr_execcommand = 0xc52c; static const uint16 addr_delchar = 0xc528; static const uint16 addr_makecaps = 0xc524; @@ -1198,7 +1197,7 @@ public: void startdmablock(); void useopenbox(); void clearbuffers(); - void neterror(); + //void neterror(); void storeit(); //void lockeddoorway(); //void isitworn(); diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp index d48bc0a141..5372981044 100644 --- a/engines/dreamweb/monitor.cpp +++ b/engines/dreamweb/monitor.cpp @@ -242,5 +242,10 @@ void DreamGenContext::monmessage(uint8 index) { monprint(string); } +void DreamGenContext::neterror() { + monmessage(5); + scrollmonitor(); +} + } /*namespace dreamgen */ diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h index 616d48755e..1cfeab3a70 100644 --- a/engines/dreamweb/stubs.h +++ b/engines/dreamweb/stubs.h @@ -314,4 +314,5 @@ void randomaccess(); void monmessage(uint8 index); void monmessage(); + void neterror(); |