From d7c86f3913938298b94b2b44267856006f8206d0 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 9 Feb 2014 11:39:00 +0100 Subject: HUGO: Remove a useless variable assignation --- engines/hugo/dialogs.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/hugo/dialogs.cpp') diff --git a/engines/hugo/dialogs.cpp b/engines/hugo/dialogs.cpp index 23e04dc479..333c14778d 100644 --- a/engines/hugo/dialogs.cpp +++ b/engines/hugo/dialogs.cpp @@ -107,7 +107,6 @@ void TopMenu::reflowLayout() { x += kButtonWidth + kButtonPad; _inventButton->resize(x * scale, y * scale, kButtonWidth * scale, kButtonHeight * scale); - x += kButtonWidth + kButtonPad; // Set the graphics to the 'on' buttons, except for the variable ones _whatButton->setGfx(_arrayBmp[4 * kMenuWhat + scale - 1]); -- cgit v1.2.3 From a331f4aea9a86348febcb3f06e4706e39ca6279d Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 18 Feb 2014 02:34:21 +0100 Subject: HUGO: Make GPL headers consistent in themselves. --- engines/hugo/dialogs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hugo/dialogs.cpp') diff --git a/engines/hugo/dialogs.cpp b/engines/hugo/dialogs.cpp index 333c14778d..6894030b2b 100644 --- a/engines/hugo/dialogs.cpp +++ b/engines/hugo/dialogs.cpp @@ -8,12 +8,12 @@ * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -- cgit v1.2.3 From 740b6e8fbdece44ae2a5295cb0549a53b6dc6ae7 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 27 Feb 2014 21:27:23 -0500 Subject: IMAGE: Move all ImageDecoders to image/ --- engines/hugo/dialogs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hugo/dialogs.cpp') diff --git a/engines/hugo/dialogs.cpp b/engines/hugo/dialogs.cpp index 6894030b2b..8b145b78d8 100644 --- a/engines/hugo/dialogs.cpp +++ b/engines/hugo/dialogs.cpp @@ -21,9 +21,9 @@ */ #include "common/substream.h" -#include "graphics/decoders/bmp.h" #include "gui/gui-manager.h" #include "gui/ThemeEval.h" +#include "image/bmp.h" #include "hugo/hugo.h" #include "hugo/display.h" @@ -130,7 +130,7 @@ void TopMenu::loadBmpArr(Common::SeekableReadStream &in) { uint32 filPos = in.pos(); Common::SeekableSubReadStream stream(&in, filPos, filPos + bmpSize); - Graphics::BitmapDecoder bitmapDecoder; + Image::BitmapDecoder bitmapDecoder; if (!bitmapDecoder.loadStream(stream)) error("TopMenu::loadBmpArr(): Could not load bitmap"); -- cgit v1.2.3