mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
DREAMWEB: 'multiput' and 'multiget' get signatures
This commit is contained in:
parent
0066e4007a
commit
a58e2bea08
@ -36,8 +36,10 @@ Common::String getFilename(Context &context) {
|
||||
}
|
||||
|
||||
void DreamGenContext::multiget() {
|
||||
unsigned w = (uint8)cl, h = (uint8)ch;
|
||||
unsigned x = (uint16)di, y = (uint16)bx;
|
||||
multiget(di, bx, cl, ch);
|
||||
}
|
||||
|
||||
void DreamGenContext::multiget(uint16 x, uint16 y, uint8 w, uint8 h) {
|
||||
unsigned src = x + y * kScreenwidth;
|
||||
unsigned dst = (uint16)si;
|
||||
es = ds;
|
||||
@ -58,8 +60,10 @@ void DreamGenContext::multiget() {
|
||||
}
|
||||
|
||||
void DreamGenContext::multiput() {
|
||||
unsigned w = (uint8)cl, h = (uint8)ch;
|
||||
unsigned x = (uint16)di, y = (uint16)bx;
|
||||
multiput(di, bx, cl, ch);
|
||||
}
|
||||
|
||||
void DreamGenContext::multiput(uint16 x, uint16 y, uint8 w, uint8 h) {
|
||||
unsigned src = (uint16)si;
|
||||
unsigned dst = x + y * kScreenwidth;
|
||||
es = data.word(kWorkspace);
|
||||
|
@ -28,6 +28,7 @@
|
||||
void frameoutfx(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y);
|
||||
void worktoscreen();
|
||||
void multiget();
|
||||
void multiget(uint16 x, uint16 y, uint8 width, uint8 height);
|
||||
void convertkey();
|
||||
void cls();
|
||||
void printsprites();
|
||||
@ -57,6 +58,7 @@
|
||||
void showframe(uint16 dst, uint16 src, uint16 x, uint16 y, uint8 frameNumber, uint8 effectsFlag, uint8 *width, uint8 *height);
|
||||
void printasprite(const Sprite *sprite);
|
||||
void width160();
|
||||
void multiput(uint16 x, uint16 y, uint8 width, uint8 height);
|
||||
void multiput();
|
||||
void eraseoldobs();
|
||||
void clearsprites();
|
||||
|
Loading…
Reference in New Issue
Block a user