project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 3996 eb549fd864a5
parent 3978 9660600e43cb
child 4000 ddc4a09889e7
equal deleted inserted replaced
3995:360332f8785f 3996:eb549fd864a5
   476             tmpQuality = 0x00000002 | 0x00000040;           // rqBlurryLand | rqKillFlakes
   476             tmpQuality = 0x00000002 | 0x00000040;           // rqBlurryLand | rqKillFlakes
   477         else if ([modelId hasPrefix:@"iPad1"])                              // = iPad
   477         else if ([modelId hasPrefix:@"iPad1"])                              // = iPad
   478                 tmpQuality = 0x00000002;                    // rqBlurryLand
   478                 tmpQuality = 0x00000002;                    // rqBlurryLand
   479             else                                                            // = everything else
   479             else                                                            // = everything else
   480                 tmpQuality = 0;                             // full quality
   480                 tmpQuality = 0;                             // full quality
   481     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)             // = disable tooltips on phone
   481     if (IS_IPAD() == NO)             // = disable tooltips on phone
   482         tmpQuality = tmpQuality | 0x00000400;
   482         tmpQuality = tmpQuality | 0x00000400;
   483 
   483 
   484     // prevents using an empty nickname
   484     // prevents using an empty nickname
   485     NSString *username;
   485     NSString *username;
   486     NSString *originalUsername = [self.systemSettings objectForKey:@"username"];
   486     NSString *originalUsername = [self.systemSettings objectForKey:@"username"];