X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.c;h=713b6a9b33157ff128369130f05157cc443be1d9;hb=68a47a5b92e7c62a8c8a06391e4f9b8d53eeb82f;hp=68466fe5d63e82b1225da3aabfe6f9680c1c1816;hpb=b13dc8e30a0c07bea53bf168ae6d1017394d3c22;p=rocksndiamonds.git diff --git a/src/main.c b/src/main.c index 68466fe5..713b6a9b 100644 --- a/src/main.c +++ b/src/main.c @@ -136,17 +136,18 @@ char *sound_name[NUM_SOUNDS] = "gate.wav" }; -char *image_config_suffix[] = +struct ConfigInfo image_config_suffix[] = { - ".frame_xpos", - ".frame_ypos", - ".num_frames", - NULL + { ".frame_xpos", "0" }, + { ".frame_ypos", "0" }, + { ".num_frames", "1" }, + + { NULL, NULL } }; -char *sound_config_suffix[] = +struct ConfigInfo sound_config_suffix[] = { - NULL + { NULL, NULL } }; struct ConfigInfo image_config[] = @@ -159,7 +160,7 @@ struct ConfigInfo image_config[] = { "robot_wheel.frame_xpos", "0" }, { "robot_wheel.num_frames", "4" }, - { NULL, NULL }, + { NULL, NULL } }; struct ConfigInfo sound_config[] = @@ -378,7 +379,7 @@ struct ConfigInfo sound_config[] = { "[not used]", "boom.wav" }, #endif - { NULL, NULL }, + { NULL, NULL } }; struct FileInfo *image_files;