project_files/HedgewarsMobile/Classes/CreationChamber.m
changeset 5664 dfc574d7f49e
parent 5662 99083392cd4f
child 5984 6fd40d866342
equal deleted inserted replaced
5662:99083392cd4f 5664:dfc574d7f49e
    27     [settings setObject:[NSNumber numberWithBool:NO] forKey:@"alternate"];
    27     [settings setObject:[NSNumber numberWithBool:NO] forKey:@"alternate"];
    28     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"music"];
    28     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"music"];
    29     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sound"];
    29     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sound"];
    30     [settings setObject:[NSNumber numberWithBool:NO] forKey:@"classic_menu"];
    30     [settings setObject:[NSNumber numberWithBool:NO] forKey:@"classic_menu"];
    31     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sync_ws"];
    31     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sync_ws"];
    32 
       
    33     // limit graphic usage on older devices
       
    34     [settings setObject:[NSNumber numberWithBool:IS_VERY_POWERFUL(getModelType())] forKey:@"enhanced"];
       
    35 
    32 
    36     // don't overwrite these two strings when present
    33     // don't overwrite these two strings when present
    37     if ([settings objectForKey:@"username"] == nil)
    34     if ([settings objectForKey:@"username"] == nil)
    38         [settings setObject:@"" forKey:@"username"];
    35         [settings setObject:@"" forKey:@"username"];
    39     if ([settings objectForKey:@"password"] == nil)
    36     if ([settings objectForKey:@"password"] == nil)