X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=aae262f58332f4479498f562389b9ec9f6a7b9e4;hb=e30d93a8b07ef8ee577768b305909e80060a3342;hp=6cfba4e633c944145fee8330797e0ef72c32a839;hpb=4f1505e125379280d5e68a04ac780e746e6dfdf5;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index 6cfba4e6..aae262f5 100644 --- a/src/init.c +++ b/src/init.c @@ -2279,6 +2279,11 @@ static void InitSoundInfo(void) } set_sound_parameters(i, sound->parameter); + +#if 0 + Debug("init:InitSoundInfo", "loop mode: %d ['%s']", + sound_info[i].loop, sound->token); +#endif } free(sound_effect_properties); @@ -5471,6 +5476,12 @@ static void InitSetup(void) if (setup.options.verbose) options.verbose = TRUE; + if (setup.options.debug) + options.debug = TRUE; + + if (!strEqual(setup.options.debug_mode, ARG_UNDEFINED_STRING)) + options.debug_mode = getStringCopy(setup.options.debug_mode); + if (setup.debug.show_frames_per_second) global.show_frames_per_second = TRUE; } @@ -5478,7 +5489,6 @@ static void InitSetup(void) static void InitGameInfo(void) { game.restart_level = FALSE; - game.restart_game_message = NULL; game.request_active = FALSE; game.request_active_or_moving = FALSE;