project_files/HedgewarsMobile/Classes/CreationChamber.m
changeset 5451 e359a79e3d08
parent 5376 ea8a74951948
child 5662 99083392cd4f
equal deleted inserted replaced
5449:a03d0acd7f06 5451:e359a79e3d08
    26     NSUserDefaults *settings = [NSUserDefaults standardUserDefaults];
    26     NSUserDefaults *settings = [NSUserDefaults standardUserDefaults];
    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:@"enhanced"];
       
    32     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"multitasking"];
    31     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"multitasking"];
       
    32     [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sync_ws"];
       
    33 
       
    34     // limit graphic usage on older devices
       
    35     [settings setObject:[NSNumber numberWithBool:IS_VERY_POWERFUL(getModelType())] forKey:@"enhanced"];
    33 
    36 
    34     // don't overwrite these two strings when present
    37     // don't overwrite these two strings when present
    35     if ([settings objectForKey:@"username"] == nil)
    38     if ([settings objectForKey:@"username"] == nil)
    36         [settings setObject:@"" forKey:@"username"];
    39         [settings setObject:@"" forKey:@"username"];
    37     if ([settings objectForKey:@"password"] == nil)
    40     if ([settings objectForKey:@"password"] == nil)