From: LMH Date: Fri, 2 Aug 2013 23:58:29 +0000 (-1000) Subject: Cleaned up icecrusher eye socket graphics, made eyes during recovery more googly X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b16c2a8fdf7a76e2125132e7bf419ef184514198;p=supertux.git Cleaned up icecrusher eye socket graphics, made eyes during recovery more googly --- diff --git a/data/images/creatures/icecrusher/iceblock.xcf b/data/images/creatures/icecrusher/iceblock.xcf index 769509f84..b1a0a16e2 100644 Binary files a/data/images/creatures/icecrusher/iceblock.xcf and b/data/images/creatures/icecrusher/iceblock.xcf differ diff --git a/data/images/creatures/icecrusher/iceblock_main.png b/data/images/creatures/icecrusher/iceblock_main.png index d6c9b3e13..05da14937 100644 Binary files a/data/images/creatures/icecrusher/iceblock_main.png and b/data/images/creatures/icecrusher/iceblock_main.png differ diff --git a/data/images/creatures/icecrusher/krosh_main.png b/data/images/creatures/icecrusher/krosh_main.png index 3a408385b..76bcb25c4 100644 Binary files a/data/images/creatures/icecrusher/krosh_main.png and b/data/images/creatures/icecrusher/krosh_main.png differ diff --git a/src/object/icecrusher.cpp b/src/object/icecrusher.cpp index 7fd2f0e3b..043b7487a 100644 --- a/src/object/icecrusher.cpp +++ b/src/object/icecrusher.cpp @@ -295,7 +295,7 @@ IceCrusher::eye_position(bool right) { // Eyes spin while icecrusher is recovering, giving a dazed impression return Vector(sin((right ? 1 : -1) * get_pos().y/13) * sprite->get_width()/64 * 2 - (right ? 1 : -1) * sprite->get_width()/64 * 2, - cos(get_pos().y/13) * sprite->get_width()/64 * 2 - sprite->get_width()/64 * 2); + cos(((right ? 3.1415 : 0) + get_pos().y/13)) * sprite->get_width()/64 * 2 - sprite->get_width()/64 * 2); } return Vector(0,0);