Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef __GAME_CONFIG_H
00009 #define __GAME_CONFIG_H
00010
00011
00012
00013
00014
00015
00016
00017 #define kGameAutorotationNone 0
00018 #define kGameAutorotationCCDirector 1
00019 #define kGameAutorotationUIViewController 2
00020
00021
00022
00023
00024
00025
00026
00027
00028 #if defined(__ARM_NEON__) || TARGET_IPHONE_SIMULATOR
00029 #define GAME_AUTOROTATION kGameAutorotationUIViewController
00030
00031
00032 #elif __arm__
00033 #define GAME_AUTOROTATION kGameAutorotationNone
00034
00035
00036
00037 #elif defined(__MAC_OS_X_VERSION_MAX_ALLOWED)
00038
00039 #else
00040 #error(unknown architecture)
00041 #endif
00042
00043 #endif // __GAME_CONFIG_H