- if (y==3 && sound_status==SOUND_AVAILABLE)
- {
- if (SETUP_SOUND_ON(local_player->setup))
- {
- 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);
- local_player->setup &= ~SETUP_SOUND_LOOPS;
- local_player->setup &= ~SETUP_SOUND_MUSIC;
- }
- else
- DrawText(SX+14*32, SY+yy*32,"on ",FS_BIG,FC_YELLOW);
- local_player->setup ^= SETUP_SOUND;
- }
- else if (y==4 && sound_loops_allowed)
- {
- if (SETUP_SOUND_LOOPS_ON(local_player->setup))
- 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);
- local_player->setup |= SETUP_SOUND;
- }
- local_player->setup ^= SETUP_SOUND_LOOPS;
- }
- else if (y==5 && sound_loops_allowed)
- {
- if (SETUP_SOUND_MUSIC_ON(local_player->setup))
- 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);
- local_player->setup |= SETUP_SOUND;
- }
- local_player->setup ^= SETUP_SOUND_MUSIC;
- }
- else if (y==6)
- {
- if (SETUP_TOONS_ON(local_player->setup))
- 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);
- local_player->setup ^= SETUP_TOONS;
- }
- else if (y==7)
- {
- if (!SETUP_DIRECT_DRAW_ON(local_player->setup))
- 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);
- local_player->setup ^= SETUP_DIRECT_DRAW;
- }
- else if (y==8)
- {
- if (SETUP_SCROLL_DELAY_ON(local_player->setup))
- 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);
- local_player->setup ^= SETUP_SCROLL_DELAY;
- }
- else if (y==9)
- {
- if (SETUP_SOFT_SCROLL_ON(local_player->setup))
- 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);
- local_player->setup ^= SETUP_SOFT_SCROLL;
- }
- else if (y==10)
- {
- if (SETUP_FADING_ON(local_player->setup))
- 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);
- local_player->setup ^= SETUP_FADING;
- }
- else if (y==11)
- {
- if (SETUP_QUICK_DOORS_ON(local_player->setup))
- 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);
- local_player->setup ^= SETUP_QUICK_DOORS;
- }
- else if (y==12)