85 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"alternate"]; |
85 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"alternate"]; |
86 break; |
86 break; |
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 |
|
91 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"enhanced"]; |
|
92 break; |
|
93 case 60: //classic menu |
90 case 60: //classic menu |
94 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"classic_menu"]; |
91 [settings setObject:[NSNumber numberWithBool:theSwitch.on] forKey:@"classic_menu"]; |
95 break; |
92 break; |
96 default: |
93 default: |
97 DLog(@"Wrong tag"); |
94 DLog(@"Wrong tag"); |
235 cell.detailTextLabel.text = NSLocalizedString(@"Choosing a Scheme will select its associated Weapon", @""); |
232 cell.detailTextLabel.text = NSLocalizedString(@"Choosing a Scheme will select its associated Weapon", @""); |
236 switchContent.on = [[settings objectForKey:@"sync_ws"] boolValue]; |
233 switchContent.on = [[settings objectForKey:@"sync_ws"] boolValue]; |
237 switchContent.tag = 90; |
234 switchContent.tag = 90; |
238 break; |
235 break; |
239 case 2: |
236 case 2: |
240 cell.textLabel.text = NSLocalizedString(@"Enanched Graphics", @""); |
|
241 cell.detailTextLabel.text = NSLocalizedString(@"Beware that the game will consume more memory", @""); |
|
242 switchContent.on = [[settings objectForKey:@"enhanced"] boolValue]; |
|
243 switchContent.tag = 70; |
|
244 // prevent the oldest devices to even think about enabling it |
|
245 if (IS_NOT_POWERFUL(getModelType())) |
|
246 switchContent.enabled = NO; |
|
247 break; |
|
248 case 3: |
|
249 cell.textLabel.text = NSLocalizedString(@"Classic Ammo Menu", @""); |
237 cell.textLabel.text = NSLocalizedString(@"Classic Ammo Menu", @""); |
250 cell.detailTextLabel.text = NSLocalizedString(@"Select which style of ammo menu you prefer",@""); |
238 cell.detailTextLabel.text = NSLocalizedString(@"Select which style of ammo menu you prefer",@""); |
251 switchContent.on = [[settings objectForKey:@"classic_menu"] boolValue]; |
239 switchContent.on = [[settings objectForKey:@"classic_menu"] boolValue]; |
252 switchContent.tag = 60; |
240 switchContent.tag = 60; |
253 // remove this when classic ammomenu works on iphone as well |
241 // remove this when classic ammomenu works on iphone as well |