Add a "idle" method to the state structure
[neverball] / ball / st_level.c
index a83c6a4..6bf5e32 100644 (file)
@@ -238,7 +238,8 @@ struct state st_level = {
     NULL,
     level_click,
     level_keybd,
-    level_buttn
+    level_buttn,
+    NULL
 };
 
 struct state st_poser = {
@@ -251,7 +252,8 @@ struct state st_poser = {
     NULL,
     NULL,
     NULL,
-    poser_buttn
+    poser_buttn,
+    NULL
 };
 
 struct state st_nodemo = {
@@ -264,7 +266,8 @@ struct state st_nodemo = {
     shared_angle,
     shared_click,
     NULL,
-    nodemo_buttn
+    nodemo_buttn,
+    NULL
 };
 
 struct state st_exit = {