Add a "idle" method to the state structure
[neverball] / putt / main.c
index e636580..e9d3a94 100644 (file)
@@ -94,6 +94,8 @@ static int loop(void)
     int d = 1;
     int c;
 
+    st_idle();
+
     while (d && SDL_PollEvent(&e))
     {
         if (e.type == SDL_QUIT)