Is it possible to divine the hardware device in GameConfig.h, so that 1G devices can be set to kGameAutorotationNone, and later devices to kGameAutorotationUIViewController? I find a performance and bitmap sharpness boost with these settings during testing on a 1G iPod and 4G ipod compared.
My game code for example using the CCDeviceHardware classes for is:
CCDeviceHardware *hardware = [[[CCDeviceHardware alloc] init] autorelease];
NSString *platformString = [hardware platformString];
// check device
if ([platformString isEqualToString:@"iPhone 1G"]
|| [platformString isEqualToString:@"iPod Touch 1G"])
{ ...
} else {
}
But this is not usable in the GameConfig.h. Can autorotation defines be set later or is there a recommended way to sort that out in GameConfig?