- if (y == 3 && audio.sound_available)
- {
- if (setup.sound)
- {
- DrawText(SX+14*32, SY+yy*32,"off",FS_BIG,FC_BLUE);
- DrawText(SX+14*32, SY+(yy+1)*32,"off",FS_BIG,FC_BLUE);
- DrawText(SX+14*32, SY+(yy+2)*32,"off",FS_BIG,FC_BLUE);
- setup.sound_loops = FALSE;
- setup.sound_music = FALSE;
- }
- else
- DrawText(SX+14*32, SY+yy*32,"on ",FS_BIG,FC_YELLOW);
- setup.sound = !setup.sound;
- }
- else if (y == 4 && audio.loops_available)
- {
- if (setup.sound_loops)
- DrawText(SX+14*32, SY+yy*32,"off",FS_BIG,FC_BLUE);
- else
- {
- DrawText(SX+14*32, SY+yy*32,"on ",FS_BIG,FC_YELLOW);
- DrawText(SX+14*32, SY+(yy-1)*32,"on ",FS_BIG,FC_YELLOW);
- setup.sound = TRUE;
- }
- setup.sound_loops = !setup.sound_loops;
- }
- else if (y == 5 && audio.loops_available)
- {
- if (setup.sound_music)
- DrawText(SX+14*32, SY+yy*32,"off",FS_BIG,FC_BLUE);
- else
- {
- DrawText(SX+14*32, SY+yy*32,"on ",FS_BIG,FC_YELLOW);
- DrawText(SX+14*32, SY+(yy-2)*32,"on ",FS_BIG,FC_YELLOW);
- setup.sound = TRUE;
- }
- setup.sound_music = !setup.sound_music;
- }