[Scummvm-git-logs] scummvm master -> b93ada533cced2f9838882fadc870a9cee689b7b
bluegr
noreply at scummvm.org
Sun Mar 6 12:53:04 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b93ada533c CHEWY: Remove obsolete / unused functions
Commit: b93ada533cced2f9838882fadc870a9cee689b7b
https://github.com/scummvm/scummvm/commit/b93ada533cced2f9838882fadc870a9cee689b7b
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2022-03-06T14:52:46+02:00
Commit Message:
CHEWY: Remove obsolete / unused functions
Changed paths:
engines/chewy/mcga.cpp
engines/chewy/mcga.h
engines/chewy/mcga_graphics.cpp
engines/chewy/mcga_graphics.h
diff --git a/engines/chewy/mcga.cpp b/engines/chewy/mcga.cpp
index 6cc4d04764e..6912d0b98b4 100644
--- a/engines/chewy/mcga.cpp
+++ b/engines/chewy/mcga.cpp
@@ -103,10 +103,6 @@ void mem2mcga(const byte *ptr) {
g_screen->markAllDirty();
}
-void mem2mem(const byte *ptr1, byte *ptr2) {
- Common::copy(ptr1, ptr1 + (SCREEN_WIDTH * SCREEN_HEIGHT), ptr2);
-}
-
void map_spr_2screen(const byte *sptr, int16 x, int16 y) {
const int width = *((const int16 *)sptr);
sptr += 4 + y * width + x;
diff --git a/engines/chewy/mcga.h b/engines/chewy/mcga.h
index 1c65753bf2f..a66b19f39dd 100644
--- a/engines/chewy/mcga.h
+++ b/engines/chewy/mcga.h
@@ -43,7 +43,6 @@ uint8 getpix(int16 x, int16 y);
void line_mcga(int16 x1, int16 y1, int16 x2, int16 y2, int16 farbe);
void mem2mcga(const byte *ptr);
-void mem2mem(const byte *ptr1, byte *ptr2);
void map_spr_2screen(const byte *sptr, int16 x, int16 y);
void spr_save_mcga(byte *sptr, int16 x, int16 y, int16 width,
diff --git a/engines/chewy/mcga_graphics.cpp b/engines/chewy/mcga_graphics.cpp
index 9d4f7c2007a..dfa36fa57bc 100644
--- a/engines/chewy/mcga_graphics.cpp
+++ b/engines/chewy/mcga_graphics.cpp
@@ -219,10 +219,6 @@ void McgaGraphics::spriteSet(byte *sptr, int16 x, int16 y, int16 scrwidth) {
mspr_set_mcga(sptr, x, y, scrwidth);
}
-void McgaGraphics::blockcopy(byte *sptr, int16 x, int16 y, int16 scrwidth) {
- spr_set_mcga(sptr, x, y, scrwidth);
-}
-
void McgaGraphics::map_spr2screen(byte *sptr, int16 x, int16 y) {
int16 br = ((int16 *)sptr)[0];
int16 h = ((int16 *)sptr)[1];
@@ -697,10 +693,6 @@ void McgaGraphics::printxy(int16 x, int16 y, int16 fgCol, int16 bgCol, int16 scr
delete textSurface;
}
-void McgaGraphics::vorschub() {
- vors();
-}
-
void McgaGraphics::move(int16 x, int16 y) {
_G(gcurx) = x;
_G(gcury) = y;
diff --git a/engines/chewy/mcga_graphics.h b/engines/chewy/mcga_graphics.h
index 6881d2027f8..fc873cebeb9 100644
--- a/engines/chewy/mcga_graphics.h
+++ b/engines/chewy/mcga_graphics.h
@@ -59,7 +59,6 @@ public:
void sprite_save(byte *sptr, int16 x, int16 y, int16 breite,
int16 hoehe, int16 scrwidth);
- void blockcopy(byte *sptr, int16 x, int16 y, int16 scrwidth);
void spriteSet(byte *sptr, int16 x, int16 y, int16 scrwidth);
void scale_set(byte *sptr, int16 x, int16 y, int16 xdiff,
int16 ydiff, int16 scrwidth);
@@ -70,7 +69,6 @@ public:
int16 scanxy(int16 x, int16 y, int16 fcol, int16 bcol, int16 cur_col, int16 scrwidth, const char *string, ...);
void printxy(int16 x, int16 y, int16 fgCol, int16 bgCol, int16 scrwidth,
const char *format);
- void vorschub();
void move(int16 x, int16 y);
private:
More information about the Scummvm-git-logs
mailing list