From bd3de1442570d4159c9b58e456b8d69fed9eadc8 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Tue, 4 Oct 2016 19:10:00 +0300 Subject: [PATCH] removed empty stop functions from bump and plasma to avoid delaying the transitions --- src/bump.c | 9 ++------- src/plasma.c | 7 +------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/bump.c b/src/bump.c index dc53337..104b127 100644 --- a/src/bump.c +++ b/src/bump.c @@ -12,7 +12,6 @@ static int init(void); static void destroy(void); static void start(long trans_time); -static void stop(long trans_time); static void draw(void); static struct screen scr = { @@ -20,11 +19,11 @@ static struct screen scr = { init, destroy, start, - stop, + 0, draw }; -static struct point { +struct point { int x, y; }; @@ -143,10 +142,6 @@ static void start(long trans_time) startingTime = time_msec; } -static void stop(long trans_time) -{ -} - static void eraseArea(struct point *p, int width, int height) { int x, y, dx; diff --git a/src/plasma.c b/src/plasma.c index 05f68e4..132cff3 100644 --- a/src/plasma.c +++ b/src/plasma.c @@ -10,7 +10,6 @@ static int init(void); static void destroy(void); static void start(long trans_time); -static void stop(long trans_time); static void draw(void); static struct screen scr = { @@ -18,7 +17,7 @@ static struct screen scr = { init, destroy, start, - stop, + 0, draw }; @@ -84,10 +83,6 @@ static void start(long trans_time) startingTime = time_msec; } -static void stop(long trans_time) -{ -} - static void draw(void) { int x, y; -- 1.7.10.4