Add a "idle" method to the state structure
[neverball] / share / state.h
index 1247fc6..31206fd 100644 (file)
@@ -15,6 +15,7 @@ struct state
     int  (*click)(int b,  int d);
     int  (*keybd)(int c,  int d);
     int  (*buttn)(int b,  int d);
+    void (*idle)(void);
 
     int gui_id;
 };
@@ -33,6 +34,7 @@ void st_angle(float, float);
 int  st_click(int, int);
 int  st_keybd(int, int);
 int  st_buttn(int, int);
+void st_idle();
 
 /*---------------------------------------------------------------------------*/