project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 4574 e26ef1eca20a
parent 4549 2e0447837a97
child 4603 d362ab6c7f53
equal deleted inserted replaced
4572:087fdb85e2ef 4574:e26ef1eca20a
   450     NSString *modelId = modelType();
   450     NSString *modelId = modelType();
   451     if ([modelId hasPrefix:@"iPhone1"] || [modelId hasPrefix:@"iPod1,1"] || [modelId hasPrefix:@"iPod2,1"])     // = iPhone and iPhone 3G or iPod Touch or iPod Touch 2G
   451     if ([modelId hasPrefix:@"iPhone1"] || [modelId hasPrefix:@"iPod1,1"] || [modelId hasPrefix:@"iPod2,1"])     // = iPhone and iPhone 3G or iPod Touch or iPod Touch 2G
   452         tmpQuality = 0x00000001 | 0x00000002 | 0x00000008 | 0x00000040;                 // rqLowRes | rqBlurryLand | rqSimpleRope | rqKillFlakes
   452         tmpQuality = 0x00000001 | 0x00000002 | 0x00000008 | 0x00000040;                 // rqLowRes | rqBlurryLand | rqSimpleRope | rqKillFlakes
   453     else if ([modelId hasPrefix:@"iPhone2"] || [modelId hasPrefix:@"iPod3"])                                    // = iPhone 3GS or iPod Touch 3G
   453     else if ([modelId hasPrefix:@"iPhone2"] || [modelId hasPrefix:@"iPod3"])                                    // = iPhone 3GS or iPod Touch 3G
   454         tmpQuality = 0x00000002 | 0x00000040;                                           // rqBlurryLand | rqKillFlakes
   454         tmpQuality = 0x00000002 | 0x00000040;                                           // rqBlurryLand | rqKillFlakes
   455     else if ([modelId hasPrefix:@"iPad1"] || enhanced == NO)                                                    // = iPad 1G or not enhanced mode
   455     else if ([modelId hasPrefix:@"iPad1"] || [modelId hasPrefix:@"iPod4"] || enhanced == NO)                    // = iPad 1G or iPod Touch 4G or not enhanced mode
   456         tmpQuality = 0x00000002;                                                        // rqBlurryLand
   456         tmpQuality = 0x00000002;                                                        // rqBlurryLand
   457     else                                                                                                        // = everything else
   457     else                                                                                                        // = everything else
   458         tmpQuality = 0;                                                                 // full quality
   458         tmpQuality = 0;                                                                 // full quality
   459 
   459 
   460     if (IS_IPAD() == NO)                                                                                        // = disable tooltips on phone
   460     if (IS_IPAD() == NO)                                                                                        // = disable tooltips on phone