- case 'g': if(!arg || sscanf(arg, "%d%%", &i) != 1 || i < 50 || i > 200) {
- fprintf(stderr, "bad --game-speed (-g) value (should be 50-200%%)\n\n");
- return 0;
- }
- opt_gamespeed = (float)i / 100;
- *arg = 0;
- break;
- case 'l': if(sscanf(arg, "%f", &opt_max_lead) != 1) {
- fprintf(stderr, "bad --max-lead (-l) value (must be a number)\n\n");
- return 0;
- }
- opt_max_lead *= XSIZE;
- *arg = 0;
- break;
- case 'm': opt_music = 1; break;
- case 's': opt_sound = 0; opt_music = 0; break;