aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins/graphics.h')
-rw-r--r--engines/hopkins/graphics.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/hopkins/graphics.h b/engines/hopkins/graphics.h
index fd4391bf10..23b7d4338f 100644
--- a/engines/hopkins/graphics.h
+++ b/engines/hopkins/graphics.h
@@ -81,8 +81,8 @@ private:
uint16 mapRGB(byte r, byte g, byte b);
void copy16bFromSurfaceScaleX2(const byte *surface);
- void Trans_bloc(byte *destP, const byte *srcP, int count, int minThreshold, int maxThreshold);
- void copyTo16Bit(const byte *surface, int xp, int yp, int width, int height, int destX, int destY);
+ void translateSurface(byte *destP, const byte *srcP, int count, int minThreshold, int maxThreshold);
+ void copy8BitRect(const byte *surface, int xp, int yp, int width, int height, int destX, int destY);
public:
byte _colorTable[PALETTE_EXT_BLOCK_SIZE];
byte _palette[PALETTE_EXT_BLOCK_SIZE];
@@ -145,7 +145,6 @@ public:
void fadeOutBreakout();
void fadeOutLong();
void fadeOutShort();
- void fastDisplay(const byte *spriteData, int xp, int yp, int spriteIndex, bool addSegment = true);
void copyWinscanVbe3(const byte *srcData, byte *destSurface);
void copyWinscanVbe(const byte *srcP, byte *destP);
void copyVideoVbe16(const byte *srcData);
@@ -171,13 +170,14 @@ public:
void setColorPercentage(int palIndex, int r, int g, int b);
void setColorPercentage2(int palIndex, int r, int g, int b);
+ void fastDisplay(const byte *spriteData, int xp, int yp, int spriteIndex, bool addSegment = true);
void fastDisplay2(const byte *objectData, int xp, int yp, int idx, bool addSegment = true);
void drawCompressedSprite(byte *surface, const byte *srcData, int xp300, int yp300, int frameIndex, int zoom1, int zoom2, bool flipFl);
- void Copy_Mem(const byte *srcSurface, int x1, int y1, uint16 width, int height, byte *destSurface, int destX, int destY);
+ void copyRect(const byte *srcSurface, int x1, int y1, uint16 width, int height, byte *destSurface, int destX, int destY);
void drawVesaSprite(byte *surface, const byte *spriteData, int xp, int yp, int spriteIndex);
- void m_scroll16(const byte *surface, int xs, int ys, int width, int height, int destX, int destY);
- void Trans_bloc2(byte *surface, byte *col, int size);
- void NB_SCREEN(bool initPalette);
+ void copy16BitRect(const byte *surface, int xs, int ys, int width, int height, int destX, int destY);
+ void fillSurface(byte *surface, byte *col, int size);
+ void displayScreen(bool initPalette);
void backupScreen();
void restoreScreen();
};