X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain.c;h=a7542a476fe312774656ba74ae4a82b26173db7b;hb=fffaec4e69e54c74cf5eea689191e81b8c19b85a;hp=324c4f57cdd805b36c7c70e114122841a68e236a;hpb=727c32da2353e1f688c4636b86a1ab6e8a71f8d6;p=rocksndiamonds.git diff --git a/src/main.c b/src/main.c index 324c4f57..a7542a47 100644 --- a/src/main.c +++ b/src/main.c @@ -136,7 +136,7 @@ char *sound_name[NUM_SOUNDS] = "gate.wav" }; -struct ArtworkConfigInfo image_config[] = +struct ConfigInfo image_config[] = { /* graphics for Boulder Dash style elements and actions */ { "bd_diamond", "bd_diamond.pcx" }, @@ -145,9 +145,11 @@ struct ArtworkConfigInfo image_config[] = { "robot_wheel", "bd_diamond.pcx" }, { "robot_wheel.frame_xpos", "0" }, { "robot_wheel.num_frames", "4" }, + + { NULL, NULL }, }; -struct ArtworkConfigInfo sound_config[] = +struct ConfigInfo sound_config[] = { /* sounds for Boulder Dash style elements and actions */ { "bd_empty_space.digging", "empty.wav" }, @@ -362,8 +364,13 @@ struct ArtworkConfigInfo sound_config[] = { "[not used]", "whoosh.wav" }, { "[not used]", "boom.wav" }, #endif + + { NULL, NULL }, }; +struct FileInfo *image_files; +struct FileInfo *sound_files; + struct ElementInfo element_info[MAX_ELEMENTS] = { { "empty_space", "empty space" }, /* 0 */