equal
deleted
inserted
replaced
459 UIDeviceOrientation orientation = (UIDeviceOrientation) [[self.gameConfig objectForKey:@"orientation"] intValue]; |
459 UIDeviceOrientation orientation = (UIDeviceOrientation) [[self.gameConfig objectForKey:@"orientation"] intValue]; |
460 if (orientation == UIDeviceOrientationLandscapeLeft) |
460 if (orientation == UIDeviceOrientationLandscapeLeft) |
461 rotation = @"-90"; |
461 rotation = @"-90"; |
462 else |
462 else |
463 rotation = @"90"; |
463 rotation = @"90"; |
464 |
|
465 } |
464 } |
466 |
465 |
467 NSString *horizontalSize = [[NSString alloc] initWithFormat:@"%d", width]; |
466 NSString *horizontalSize = [[NSString alloc] initWithFormat:@"%d", width]; |
468 NSString *verticalSize = [[NSString alloc] initWithFormat:@"%d", height]; |
467 NSString *verticalSize = [[NSString alloc] initWithFormat:@"%d", height]; |
469 const char **gameArgs = (const char**) malloc(sizeof(char *) * 10); |
468 const char **gameArgs = (const char**) malloc(sizeof(char *) * 10); |