equal
deleted
inserted
replaced
84 NSString *horizontalSize = [[NSString alloc] initWithFormat:@"%d", width]; |
84 NSString *horizontalSize = [[NSString alloc] initWithFormat:@"%d", width]; |
85 NSString *verticalSize = [[NSString alloc] initWithFormat:@"%d", height]; |
85 NSString *verticalSize = [[NSString alloc] initWithFormat:@"%d", height]; |
86 NSString *rotation = [[NSString alloc] initWithFormat:@"%d", orientation]; |
86 NSString *rotation = [[NSString alloc] initWithFormat:@"%d", orientation]; |
87 BOOL enhanced = [[settings objectForKey:@"enhanced"] boolValue]; |
87 BOOL enhanced = [[settings objectForKey:@"enhanced"] boolValue]; |
88 |
88 |
89 NSString *modelId = modelType(); |
89 NSString *modelId = getModelType(); |
90 NSInteger tmpQuality; |
90 NSInteger tmpQuality; |
91 if ([modelId hasPrefix:@"iPhone1"] || [modelId hasPrefix:@"iPod1,1"] || [modelId hasPrefix:@"iPod2,1"]) // = iPhone and iPhone 3G or iPod Touch or iPod Touch 2G |
91 if ([modelId hasPrefix:@"iPhone1"] || [modelId hasPrefix:@"iPod1,1"] || [modelId hasPrefix:@"iPod2,1"]) // = iPhone and iPhone 3G or iPod Touch or iPod Touch 2G |
92 tmpQuality = 0x00000001 | 0x00000002 | 0x00000008 | 0x00000040; // rqLowRes | rqBlurryLand | rqSimpleRope | rqKillFlakes |
92 tmpQuality = 0x00000001 | 0x00000002 | 0x00000008 | 0x00000040; // rqLowRes | rqBlurryLand | rqSimpleRope | rqKillFlakes |
93 else if ([modelId hasPrefix:@"iPhone2"] || [modelId hasPrefix:@"iPod3"]) // = iPhone 3GS or iPod Touch 3G |
93 else if ([modelId hasPrefix:@"iPhone2"] || [modelId hasPrefix:@"iPod3"]) // = iPhone 3GS or iPod Touch 3G |
94 tmpQuality = 0x00000002 | 0x00000040; // rqBlurryLand | rqKillFlakes |
94 tmpQuality = 0x00000002 | 0x00000040; // rqBlurryLand | rqKillFlakes |