[Scummvm-git-logs] scummvm master -> 4e3a2ee13f4f966f81df3979008413d18108b624

sev- noreply at scummvm.org
Sat Oct 12 14:17:34 UTC 2024


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:
4e3a2ee13f SCI: Added missing override keyword


Commit: 4e3a2ee13f4f966f81df3979008413d18108b624
    https://github.com/scummvm/scummvm/commit/4e3a2ee13f4f966f81df3979008413d18108b624
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-10-12T16:16:53+02:00

Commit Message:
SCI: Added missing override keyword

Changed paths:
    engines/sci/graphics/gfxdrivers.h


diff --git a/engines/sci/graphics/gfxdrivers.h b/engines/sci/graphics/gfxdrivers.h
index 01eceba76a9..b0e48495b43 100644
--- a/engines/sci/graphics/gfxdrivers.h
+++ b/engines/sci/graphics/gfxdrivers.h
@@ -54,7 +54,7 @@ public:
 	virtual void clearRect(const Common::Rect &r) const;
 	virtual void copyCurrentBitmap(byte *dest, uint32 size) const = 0;
 	virtual void copyCurrentPalette(byte *dest, int start, int num) const;
-	virtual void drawTextFontGlyph(const byte *src, int pitch, int hiresDestX, int hiresDestY, int hiresW, int hiresH, int transpColor, const PaletteMod *palMods, const byte *palModMapping) = 0; 
+	virtual void drawTextFontGlyph(const byte *src, int pitch, int hiresDestX, int hiresDestY, int hiresW, int hiresH, int transpColor, const PaletteMod *palMods, const byte *palModMapping) = 0;
 	virtual byte remapTextColor(byte color) const { return color; }
 	virtual void setColorMap(const byte *colorMap) {}
 	virtual Common::Point getRealCoords(Common::Point &pos) const { return pos; }
@@ -291,7 +291,7 @@ public:
 	void copyRectToScreen(const byte *src, int srcX, int srcY, int pitch, int destX, int destY, int w, int h, const PaletteMod *palMods, const byte *palModMapping) override;
 	void replaceCursor(const void *cursor, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor) override;
 	Common::Point getRealCoords(Common::Point &pos) const override;
-	void setColorMap(const byte *colorMap) { _colorMap = colorMap; }
+	void setColorMap(const byte *colorMap) override { _colorMap = colorMap; }
 	void setFlags(uint32 flags) override;
 	void clearFlags(uint32 flags) override;
 	bool supportsHiResGraphics() const override { return !_smallWindow; }




More information about the Scummvm-git-logs mailing list