Commit 0039e5c8 authored by louiz’'s avatar louiz’

Smooth textures

parent 058a14f0
......@@ -14,6 +14,7 @@ BulletSprite::BulletSprite(const Entity* const entity):
{
if (!this->texture.loadFromFile("data/images/bullet.png"))
exit(1);
this->texture.setSmooth(true);
this->init = true;
}
}
......
......@@ -17,6 +17,8 @@ PicpicSprite::PicpicSprite(const Entity* const entity):
exit(1);
if (!PicpicSprite::eye_texture.loadFromFile("data/images/units/picpic_eye.svg.png"))
exit(1);
PicpicSprite::body_texture.setSmooth(true);
PicpicSprite::eye_texture.setSmooth(true);
PicpicSprite::init = true;
}
this->height = -5 + (7 * random() / RAND_MAX);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment