87 case 90: //synched weapons/scheme |
87 case 90: //synched weapons/scheme |
88 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"sync_ws"]; |
88 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"sync_ws"]; |
89 break; |
89 break; |
90 case 70: //enhanced graphics |
90 case 70: //enhanced graphics |
91 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"enhanced"]; |
91 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"enhanced"]; |
92 break; |
|
93 case 80: //nomultitasking |
|
94 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"multitasking"]; |
|
95 break; |
92 break; |
96 case 60: //classic menu |
93 case 60: //classic menu |
97 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"classic_menu"]; |
94 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"classic_menu"]; |
98 break; |
95 break; |
99 default: |
96 default: |
238 cell.detailTextLabel.text = NSLocalizedString(@"Choosing a Scheme will select its associated Weapon", @""); |
235 cell.detailTextLabel.text = NSLocalizedString(@"Choosing a Scheme will select its associated Weapon", @""); |
239 switchContent.on = [[settings objectForKey:@"sync_ws"] boolValue]; |
236 switchContent.on = [[settings objectForKey:@"sync_ws"] boolValue]; |
240 switchContent.tag = 90; |
237 switchContent.tag = 90; |
241 break; |
238 break; |
242 case 2: |
239 case 2: |
243 cell.textLabel.text = NSLocalizedString(@"Multitasking", @""); |
|
244 cell.detailTextLabel.text = NSLocalizedString(@"Disable it in case of issues when returing in game", @""); |
|
245 switchContent.on = [[settings objectForKey:@"multitasking"] boolValue]; |
|
246 switchContent.tag = 80; |
|
247 break; |
|
248 case 3: |
|
249 cell.textLabel.text = NSLocalizedString(@"Enanched Graphics", @""); |
240 cell.textLabel.text = NSLocalizedString(@"Enanched Graphics", @""); |
250 cell.detailTextLabel.text = NSLocalizedString(@"Beware that the game will consume more memory", @""); |
241 cell.detailTextLabel.text = NSLocalizedString(@"Beware that the game will consume more memory", @""); |
251 switchContent.on = [[settings objectForKey:@"enhanced"] boolValue]; |
242 switchContent.on = [[settings objectForKey:@"enhanced"] boolValue]; |
252 switchContent.tag = 70; |
243 switchContent.tag = 70; |
253 // prevent the oldest devices to even think about enabling it |
244 // prevent the oldest devices to even think about enabling it |
254 if (IS_NOT_POWERFUL(getModelType())) |
245 if (IS_NOT_POWERFUL(getModelType())) |
255 switchContent.enabled = NO; |
246 switchContent.enabled = NO; |
256 break; |
247 break; |
257 case 4: |
248 case 3: |
258 cell.textLabel.text = NSLocalizedString(@"Classic Ammo Menu", @""); |
249 cell.textLabel.text = NSLocalizedString(@"Classic Ammo Menu", @""); |
259 cell.detailTextLabel.text = NSLocalizedString(@"Select which style of ammo menu you prefer",@""); |
250 cell.detailTextLabel.text = NSLocalizedString(@"Select which style of ammo menu you prefer",@""); |
260 switchContent.on = [[settings objectForKey:@"classic_menu"] boolValue]; |
251 switchContent.on = [[settings objectForKey:@"classic_menu"] boolValue]; |
261 switchContent.tag = 60; |
252 switchContent.tag = 60; |
262 // remove this when classic ammomenu works on iphone as well |
253 // remove this when classic ammomenu works on iphone as well |