rnd-19981105-1
[rocksndiamonds.git] / src / screens.c
index 292f04afcaab32c8d40033b1c30270c0196073fd..5405e49bc747abf3a4c4fea810ca4027aaf63e5e 100644 (file)
@@ -905,9 +905,9 @@ void DrawSetupScreen()
     { &setup.fading,           "Fading:"       },
     { &setup.quick_doors,      "Quick Doors:"  },
     { &setup.autorecord,       "Auto-Record:"  },
+    { &setup.team_mode,                "Team-Mode:"    },
     { NULL,                    "Input Devices" },
     { NULL,                    ""              },
-    { NULL,                    ""              },
     { NULL,                    "Exit"          },
     { NULL,                    "Save and exit" }
   };
@@ -1099,6 +1099,14 @@ void HandleSetupScreen(int mx, int my, int dx, int dy, int button)
        setup.autorecord = !setup.autorecord;
       }
       else if (y==13)
+      {
+       if (setup.team_mode)
+         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);
+       setup.team_mode = !setup.team_mode;
+      }
+      else if (y==14)
       {
        game_status = SETUPINPUT;
        DrawSetupInputScreen();