mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
DREAMWEB: 'usetempcharset' and 'usecharset1' ported to C++
This commit is contained in:
parent
61a1b49a2d
commit
842184d5c5
@ -281,6 +281,8 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'onedigit',
|
||||
'showword',
|
||||
'convnum',
|
||||
'usecharset1',
|
||||
'usetempcharset',
|
||||
], skip_output = [
|
||||
# These functions are processed but not output
|
||||
'dreamweb',
|
||||
|
@ -12775,18 +12775,6 @@ void DreamGenContext::showman() {
|
||||
showframe();
|
||||
}
|
||||
|
||||
void DreamGenContext::usecharset1() {
|
||||
STACK_CHECK;
|
||||
ax = data.word(kCharset1);
|
||||
data.word(kCurrentset) = ax;
|
||||
}
|
||||
|
||||
void DreamGenContext::usetempcharset() {
|
||||
STACK_CHECK;
|
||||
ax = data.word(kTempcharset);
|
||||
data.word(kCurrentset) = ax;
|
||||
}
|
||||
|
||||
void DreamGenContext::showexit() {
|
||||
STACK_CHECK;
|
||||
ds = data.word(kIcons1);
|
||||
|
@ -79,8 +79,6 @@ public:
|
||||
static const uint16 addr_gettime = 0xca8c;
|
||||
static const uint16 addr_panelicons1 = 0xca84;
|
||||
static const uint16 addr_showexit = 0xca80;
|
||||
static const uint16 addr_usetempcharset = 0xca7c;
|
||||
static const uint16 addr_usecharset1 = 0xca78;
|
||||
static const uint16 addr_showman = 0xca6c;
|
||||
static const uint16 addr_middlepanel = 0xca68;
|
||||
static const uint16 addr_workoutframes = 0xca54;
|
||||
@ -1396,7 +1394,7 @@ public:
|
||||
void locklighton();
|
||||
void useladderb();
|
||||
//void spriteupdate();
|
||||
void usetempcharset();
|
||||
//void usetempcharset();
|
||||
void discops();
|
||||
//void printdirect();
|
||||
//void delthisone();
|
||||
@ -1779,7 +1777,7 @@ public:
|
||||
void tattooman();
|
||||
void usehandle();
|
||||
void openfile();
|
||||
void usecharset1();
|
||||
//void usecharset1();
|
||||
//void makenextblock();
|
||||
void showpuztext();
|
||||
//void addalong();
|
||||
|
@ -2308,5 +2308,13 @@ void DreamGenContext::dolook() {
|
||||
worktoscreenm();
|
||||
}
|
||||
|
||||
void DreamGenContext::usecharset1() {
|
||||
data.word(kCurrentset) = data.word(kCharset1);
|
||||
}
|
||||
|
||||
void DreamGenContext::usetempcharset() {
|
||||
data.word(kCurrentset) = data.word(kTempcharset);
|
||||
}
|
||||
|
||||
} /*namespace dreamgen */
|
||||
|
||||
|
@ -335,4 +335,7 @@
|
||||
void look();
|
||||
void autolook();
|
||||
void dolook();
|
||||
void usetempcharset();
|
||||
void usecharset1();
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user