project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 4244 bf46b4bdf27d
parent 4211 7dcbd236ca59
child 4478 05029b4d8490
equal deleted inserted replaced
4243:bbf7451f6b4e 4244:bf46b4bdf27d
   426     NSInteger tmpQuality;
   426     NSInteger tmpQuality;
   427 
   427 
   428     NSString *modelId = modelType();
   428     NSString *modelId = modelType();
   429     if ([modelId hasPrefix:@"iPhone1"] ||                                   // = iPhone or iPhone 3G
   429     if ([modelId hasPrefix:@"iPhone1"] ||                                   // = iPhone or iPhone 3G
   430         [modelId hasPrefix:@"iPod1,1"] || [modelId hasPrefix:@"iPod2,1"])   // = iPod Touch or iPod Touch 2G
   430         [modelId hasPrefix:@"iPod1,1"] || [modelId hasPrefix:@"iPod2,1"])   // = iPod Touch or iPod Touch 2G
   431         tmpQuality = 0x00000001 | 0x00000002 | 0x00000040;  // rqLowRes | rqBlurryLand | rqKillFlakes
   431         tmpQuality = 0x00000001 | 0x00000002 | 0x00000008 | 0x00000040;  // rqLowRes | rqBlurryLand | rqSimpleRope | rqKillFlakes
   432     else if ([modelId hasPrefix:@"iPhone2"] ||                              // = iPhone 3GS
   432     else if ([modelId hasPrefix:@"iPhone2"] ||                              // = iPhone 3GS
   433              [modelId hasPrefix:@"iPod3"])                                  // = iPod Touch 3G
   433              [modelId hasPrefix:@"iPod3"])                                  // = iPod Touch 3G
   434             tmpQuality = 0x00000002 | 0x00000040;           // rqBlurryLand | rqKillFlakes
   434             tmpQuality = 0x00000002 | 0x00000040;           // rqBlurryLand | rqKillFlakes
   435         else if ([modelId hasPrefix:@"iPad1"])                              // = iPad
   435         else if ([modelId hasPrefix:@"iPad1"])                              // = iPad
   436                 tmpQuality = 0x00000002;                    // rqBlurryLand
   436                 tmpQuality = 0x00000002;                    // rqBlurryLand