project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 3825 fd6c20cd90e3
parent 3803 e4a8a4e378de
child 3829 81db3c85784b
equal deleted inserted replaced
3823:cca9bfb88a24 3825:fd6c20cd90e3
   400 
   400 
   401     gameArgs[ 0] = [ipcString UTF8String];                                                       //ipcPort
   401     gameArgs[ 0] = [ipcString UTF8String];                                                       //ipcPort
   402     gameArgs[ 1] = [wSize UTF8String];                                                           //cScreenHeight
   402     gameArgs[ 1] = [wSize UTF8String];                                                           //cScreenHeight
   403     gameArgs[ 2] = [hSize UTF8String];                                                           //cScreenWidth
   403     gameArgs[ 2] = [hSize UTF8String];                                                           //cScreenWidth
   404     gameArgs[ 3] = [[[NSNumber numberWithInteger:tmpQuality] stringValue] UTF8String];           //quality
   404     gameArgs[ 3] = [[[NSNumber numberWithInteger:tmpQuality] stringValue] UTF8String];           //quality
   405     gameArgs[ 4] = [localeString UTF8String];                                                    //cLocaleFName
   405     gameArgs[ 4] = "en.txt";//[localeString UTF8String];                                                    //cLocaleFName
   406     gameArgs[ 5] = [username UTF8String];                                                        //UserNick
   406     gameArgs[ 5] = [username UTF8String];                                                        //UserNick
   407     gameArgs[ 6] = [[[self.systemSettings objectForKey:@"sound"] stringValue] UTF8String];       //isSoundEnabled
   407     gameArgs[ 6] = [[[self.systemSettings objectForKey:@"sound"] stringValue] UTF8String];       //isSoundEnabled
   408     gameArgs[ 7] = [[[self.systemSettings objectForKey:@"music"] stringValue] UTF8String];       //isMusicEnabled
   408     gameArgs[ 7] = [[[self.systemSettings objectForKey:@"music"] stringValue] UTF8String];       //isMusicEnabled
   409     gameArgs[ 8] = [[[self.systemSettings objectForKey:@"alternate"] stringValue] UTF8String];   //cAltDamage
   409     gameArgs[ 8] = [[[self.systemSettings objectForKey:@"alternate"] stringValue] UTF8String];   //cAltDamage
   410     gameArgs[ 9] = NULL;                                                                         //unused
   410     gameArgs[ 9] = NULL;                                                                         //unused