From cbb47fe9dadd8e61cb082e39b12e96cf2614a94c Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Tue, 23 Jul 2013 21:04:12 +0200 Subject: Cosmetique : test sprite, le lemming creuse de 2. Tout est doulé par rapport au jeu original. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sandbox/sprite.c | 4 ++-- src/sandbox/sprite_gif.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sandbox/sprite.c b/src/sandbox/sprite.c index 0223997..dfddac7 100644 --- a/src/sandbox/sprite.c +++ b/src/sandbox/sprite.c @@ -70,8 +70,8 @@ int main(int argc, char *argv[]) { t1_src.y = (t1_src.y + t1_src.h) % t1_size.h; /* Change dest rectangle to move the sprite if the animation cycle restart */ if (t1_src.y == 0) { - t1_dst.x++; - t1_dst.y++; + t1_dst.x +=2; + t1_dst.y +=2; } SDL_Delay(50); diff --git a/src/sandbox/sprite_gif.c b/src/sandbox/sprite_gif.c index d2a3a70..713b007 100644 --- a/src/sandbox/sprite_gif.c +++ b/src/sandbox/sprite_gif.c @@ -72,8 +72,8 @@ int main(int argc, char *argv[]) { t1_src.y = (t1_src.y + t1_src.h) % t1_size.h; /* Change dest rectangle to move the sprite if the animation cycle restart */ if (t1_src.y == 0) { - t1_dst.x++; - t1_dst.y++; + t1_dst.x +=2; + t1_dst.y +=2; } SDL_Delay(50); -- cgit v1.2.3