From 4fec6dd36179e4e1b1b624b6a242b693647da73e Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Thu, 29 Aug 2013 02:01:16 +0200 Subject: WINTERMUTE: Remove useless Rect extra argument from fadeToColor. It is not used anywhere, and Mnemonic has confirmed that the original engine does NOT support anything but full screen fades. --- engines/wintermute/base/gfx/base_renderer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute/base/gfx/base_renderer.h') diff --git a/engines/wintermute/base/gfx/base_renderer.h b/engines/wintermute/base/gfx/base_renderer.h index 31dc2a022d..b6615bc8fc 100644 --- a/engines/wintermute/base/gfx/base_renderer.h +++ b/engines/wintermute/base/gfx/base_renderer.h @@ -84,7 +84,7 @@ public: * @param a the alpha component to fade too. * @param rect the portion of the screen to fade (if nullptr, the entire screen will be faded). */ - virtual void fadeToColor(byte r, byte g, byte b, byte a, Common::Rect *rect = nullptr) = 0; + virtual void fadeToColor(byte r, byte g, byte b, byte a) = 0; virtual bool drawLine(int x1, int y1, int x2, int y2, uint32 color); // Unused outside indicator-display virtual bool drawRect(int x1, int y1, int x2, int y2, uint32 color, int width = 1); // Unused outside indicator-display -- cgit v1.2.3