rnd-20040918-1-src
[rocksndiamonds.git] / src / game_em / main.c
index 252e45f24fc5b1eee2a6461a90156b379c36e176..874bc78074843a82c4ce80d28857902b6cb25365 100644 (file)
@@ -25,9 +25,6 @@ char *arg_geometry;
 int arg_install;
 int arg_silence;
 
-int em_game_status;
-boolean skip_menu = TRUE;
-
 extern void tab_generate();
 extern void ulaw_generate();
 
@@ -52,34 +49,6 @@ void em_close_all()
   close_all();
 }
 
-int em_main_init_game(int level_nr, char *filename)
-{
-#if 0
-  if (skip_menu)
-  {
-#endif
-
-    em_game_status = EM_GAME_STATUS_PLAY;
-    if (game_play_init(level_nr, filename) != 0)
-      return 1;
-
-#if 0
-  }
-  else
-  {
-    em_game_status = EM_GAME_STATUS_MENU;
-    game_menu_init();
-  }
-#endif
-
-  return 0;
-}
-
-int em_main_handle_game(byte action)
-{
-  return game_loop(action);
-}
-
 /* massive kludge for buffer overflows
  * i cant think of an elegant way to handle this situation.
  * oh wait yes i can. dynamically allocate each string. oh well