project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m
changeset 5664 dfc574d7f49e
parent 5662 99083392cd4f
child 5700 f0960a88ab0e
--- a/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m	Tue Aug 23 03:46:17 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m	Tue Aug 23 09:23:45 2011 +0200
@@ -87,9 +87,6 @@
         case 90:    //synched weapons/scheme
             [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"sync_ws"];
             break;
-        case 70:    //enhanced graphics
-            [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"enhanced"];
-            break;
         case 60:    //classic menu
             [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"classic_menu"];
             break;
@@ -123,7 +120,7 @@
             return 2;
             break;
         case 2:     // other options
-            return 5;
+            return 3;
             break;
         default:
             DLog(@"Nope");
@@ -237,15 +234,6 @@
                     switchContent.tag = 90;
                     break;
                 case 2:
-                    cell.textLabel.text = NSLocalizedString(@"Enanched Graphics", @"");
-                    cell.detailTextLabel.text = NSLocalizedString(@"Beware that the game will consume more memory", @"");
-                    switchContent.on = [[settings objectForKey:@"enhanced"] boolValue];
-                    switchContent.tag = 70;
-                    // prevent the oldest devices to even think about enabling it
-                    if (IS_NOT_POWERFUL(getModelType()))
-                        switchContent.enabled = NO;
-                    break;
-                case 3:
                     cell.textLabel.text = NSLocalizedString(@"Classic Ammo Menu", @"");
                     cell.detailTextLabel.text = NSLocalizedString(@"Select which style of ammo menu you prefer",@"");
                     switchContent.on = [[settings objectForKey:@"classic_menu"] boolValue];