added setup option to show invisible exit in BD engine
[rocksndiamonds.git] / src / game_bd / main_bd.c
index 3992593359260faac31cd6b3823666dd57ac1889..c11022b0c57951c6ea2fdfede1b36dc474205e17 100644 (file)
@@ -453,6 +453,20 @@ boolean use_bd_pushing_graphics(void)
          (setup.bd_pushing_graphics == AUTO && !use_native_bd_graphics_engine()));
 }
 
+// check if player up/down graphics selected in setup menu
+boolean use_bd_up_down_graphics(void)
+{
+  return ((setup.bd_up_down_graphics == TRUE) ||
+         (setup.bd_up_down_graphics == AUTO && !use_native_bd_graphics_engine()));
+}
+
+// check if skipping falling sounds selected in setup menu
+boolean skip_bd_falling_sounds(void)
+{
+  return ((setup.bd_skip_falling_sounds == TRUE) ||
+         (setup.bd_skip_falling_sounds == AUTO && !game.use_native_bd_sound_engine));
+}
+
 Bitmap **GetTitleScreenBitmaps_BD(void)
 {
   Bitmap **title_screen_bitmaps = gd_get_title_screen_bitmaps();