rnd-20020904-2-src
[rocksndiamonds.git] / src / main.c
index 54d1d6b7da565c5a467703cd6d8aaa7a068f9904..4cec054e76c2479219cbf577749e30ebbd9dfd37 100644 (file)
@@ -1,7 +1,7 @@
 /***********************************************************
 * Rocks'n'Diamonds -- McDuffin Strikes Back!               *
 *----------------------------------------------------------*
-* (c) 1995-2001 Artsoft Entertainment                      *
+* (c) 1995-2002 Artsoft Entertainment                      *
 *               Holger Schemel                             *
 *               Detmolder Strasse 189                      *
 *               33604 Bielefeld                            *
@@ -136,7 +136,13 @@ char *sound_name[NUM_SOUNDS] =
   "gate.wav"
 };
 
-struct SoundEffectInfo sound_effects[] =
+struct ArtworkConfigInfo image_config[] =
+{
+  /* graphics for Boulder Dash style elements and actions */
+  { "bd_diamond.waiting",              "bd_diamond.pcx"        },
+};
+
+struct ArtworkConfigInfo sound_config[] =
 {
   /* sounds for Boulder Dash style elements and actions */
   { "bd_empty_space.digging",          "empty.wav"             },
@@ -150,7 +156,6 @@ struct SoundEffectInfo sound_effects[] =
   { "bd_magic_wall.running",           "miep.wav"              },
   { "bd_amoeba.waiting",               SND_FILE_UNDEFINED      },
   { "bd_amoeba.creating",              "amoebe.wav"            },
-  { "bd_amoeba.growing",               SND_FILE_UNDEFINED      },
   { "bd_amoeba.turning_to_gem",                "pling.wav"             },
   { "bd_amoeba.turning_to_rock",       "klopf.wav"             },
   { "bd_butterfly.moving",             "klapper.wav"           },
@@ -221,7 +226,6 @@ struct SoundEffectInfo sound_effects[] =
   { "magic_wall.running",              "miep.wav"              },
   { "amoeba.waiting",                  SND_FILE_UNDEFINED      },
   { "amoeba.creating",                 "amoebe.wav"            },
-  { "amoeba.growing",                  SND_FILE_UNDEFINED      },
   { "amoeba.dropping",                 SND_FILE_UNDEFINED      },
   { "acid.splashing",                  "blurb.wav"             },
   { "quicksand.filling",               SND_FILE_UNDEFINED      },
@@ -296,10 +300,8 @@ struct SoundEffectInfo sound_effects[] =
   { "time_orb_empty.impact",           "deng.wav"              },
   { "gameoflife.waiting",              SND_FILE_UNDEFINED      },
   { "gameoflife.creating",             "amoebe.wav"            },
-  { "gameoflife.growing",              SND_FILE_UNDEFINED      },
   { "biomaze.waiting",                 SND_FILE_UNDEFINED      },
   { "biomaze.creating",                        "amoebe.wav"            },
-  { "biomaze.growing",                 SND_FILE_UNDEFINED      },
   { "pacman.moving",                   SND_FILE_UNDEFINED      },
   { "pacman.waiting",                  SND_FILE_UNDEFINED      },
   { "pacman.eating_amoeba",            SND_FILE_UNDEFINED      },
@@ -357,7 +359,7 @@ struct SoundEffectInfo sound_effects[] =
 #endif
 };
 
-struct ElementInfo element_info[] =
+struct ElementInfo element_info[MAX_ELEMENTS] =
 {
   { "empty_space",             "empty space"                   },      /* 0 */
   { "sand",                    "sand"                          },
@@ -727,6 +729,8 @@ struct ElementInfo element_info[] =
   */
 };
 
+struct GraphicInfo graphic_info[MAX_GRAPHICS];
+
 
 /* ========================================================================= */
 /* main()                                                                    */
@@ -743,5 +747,6 @@ int main(int argc, char *argv[])
 
   EventLoop();
   CloseAllAndExit(0);
-  exit(0);     /* to keep compilers happy */
+
+  return 0;    /* to keep compilers happy */
 }