mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 10:48:43 +00:00
DREAMWEB: 'printlogo' ported to C++
This commit is contained in:
parent
37052c1762
commit
8a7705394e
@ -243,6 +243,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'hangoncurs',
|
||||
'fadeupyellows',
|
||||
'loadroomssample',
|
||||
'printlogo',
|
||||
], skip_output = [
|
||||
# These functions are processed but not output
|
||||
'dreamweb',
|
||||
|
@ -7165,17 +7165,6 @@ notnewlogo:
|
||||
printlogo();
|
||||
}
|
||||
|
||||
void DreamGenContext::printlogo() {
|
||||
STACK_CHECK;
|
||||
di = 56;
|
||||
bx = 32;
|
||||
ds = data.word(kTempgraphics);
|
||||
al = 0;
|
||||
ah = 0;
|
||||
showframe();
|
||||
showcurrentfile();
|
||||
}
|
||||
|
||||
void DreamGenContext::showcurrentfile() {
|
||||
STACK_CHECK;
|
||||
di = 178;
|
||||
@ -15612,7 +15601,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) {
|
||||
case addr_parser: parser(); break;
|
||||
case addr_scrollmonitor: scrollmonitor(); break;
|
||||
case addr_monitorlogo: monitorlogo(); break;
|
||||
case addr_printlogo: printlogo(); break;
|
||||
case addr_showcurrentfile: showcurrentfile(); break;
|
||||
case addr_monmessage: monmessage(); break;
|
||||
case addr_processtrigger: processtrigger(); break;
|
||||
|
@ -345,7 +345,6 @@ public:
|
||||
static const uint16 addr_processtrigger = 0xc570;
|
||||
static const uint16 addr_monmessage = 0xc56c;
|
||||
static const uint16 addr_showcurrentfile = 0xc568;
|
||||
static const uint16 addr_printlogo = 0xc564;
|
||||
static const uint16 addr_monitorlogo = 0xc560;
|
||||
static const uint16 addr_scrollmonitor = 0xc558;
|
||||
static const uint16 addr_parser = 0xc554;
|
||||
@ -1893,7 +1892,7 @@ public:
|
||||
void zoomonoff();
|
||||
void updatesymboltop();
|
||||
//void showryanpage();
|
||||
void printlogo();
|
||||
//void printlogo();
|
||||
void allpointer();
|
||||
void showseconduse();
|
||||
void clearreels();
|
||||
|
@ -2162,5 +2162,10 @@ void DreamGenContext::readsetdata() {
|
||||
engine->closeFile();
|
||||
}
|
||||
|
||||
void DreamGenContext::printlogo() {
|
||||
showframe((Frame *)segRef(data.word(kTempgraphics)).ptr(0, 0), 56, 32, 0, 0);
|
||||
showcurrentfile();
|
||||
}
|
||||
|
||||
} /*namespace dreamgen */
|
||||
|
||||
|
@ -293,4 +293,5 @@
|
||||
void readsetdata();
|
||||
void loadroomssample();
|
||||
void fadeupyellows();
|
||||
void printlogo();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user