removed empty stop functions from bump and plasma to avoid delaying the
authorJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 4 Oct 2016 16:10:00 +0000 (19:10 +0300)
committerJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 4 Oct 2016 16:10:00 +0000 (19:10 +0300)
transitions

src/bump.c
src/plasma.c

index dc53337..104b127 100644 (file)
@@ -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;
index 05f68e4..132cff3 100644 (file)
@@ -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;