From: LMH Date: Wed, 25 Apr 2012 20:38:09 +0000 (-1000) Subject: Improved glow radius of powerups X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a2537cd083b61bcc1349b6ef2e37be5cb62b99d2;p=supertux.git Improved glow radius of powerups --- diff --git a/src/object/flower.cpp b/src/object/flower.cpp index fe62f289a..f3bcdca5c 100644 --- a/src/object/flower.cpp +++ b/src/object/flower.cpp @@ -25,7 +25,7 @@ Flower::Flower(BonusType _type) : sprite(), drawing_effect(NO_EFFECT), light(1.0f,1.0f,1.0f), - lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-tiny.sprite")) + lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-small.sprite")) { bbox.set_size(32, 32); lightsprite->set_blend(Blend(GL_SRC_ALPHA, GL_ONE)); diff --git a/src/object/growup.cpp b/src/object/growup.cpp index d96cf1db1..19be5350b 100644 --- a/src/object/growup.cpp +++ b/src/object/growup.cpp @@ -24,7 +24,7 @@ GrowUp::GrowUp(Direction direction) : MovingSprite(Vector(0,0), "images/powerups/egg/egg.sprite", LAYER_OBJECTS, COLGROUP_MOVING), physic(), light(0.0f,0.0f,0.0f), - lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-tiny.sprite")) + lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-small.sprite")) { physic.enable_gravity(true); physic.set_velocity_x((direction == LEFT)?-100:100); diff --git a/src/object/star.cpp b/src/object/star.cpp index 191ebf836..119c28ab3 100644 --- a/src/object/star.cpp +++ b/src/object/star.cpp @@ -27,7 +27,7 @@ Star::Star(const Vector& pos, Direction direction) : MovingSprite(pos, "images/powerups/star/star.sprite", LAYER_OBJECTS, COLGROUP_MOVING), physic(), light(0.0f,0.0f,0.0f), - lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-tiny.sprite")) + lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-small.sprite")) { physic.set_velocity((direction == LEFT) ? -STAR_SPEED : STAR_SPEED, INITIALJUMP); //set light for glow effect