equal
deleted
inserted
replaced
61 #define IS_IPAD() (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) |
61 #define IS_IPAD() (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) |
62 #define IS_NOT_POWERFUL() ([modelType() hasPrefix:@"iPhone1"] || [modelType() hasPrefix:@"iPod1,1"] || [modelType() hasPrefix:@"iPod2,1"]) |
62 #define IS_NOT_POWERFUL() ([modelType() hasPrefix:@"iPhone1"] || [modelType() hasPrefix:@"iPod1,1"] || [modelType() hasPrefix:@"iPod2,1"]) |
63 #define IS_NOT_VERY_POWERFUL() ([modelType() hasPrefix:@"iPad1"] || [modelType() hasPrefix:@"iPhone2"] || [modelType() hasPrefix:@"iPod3"] || [modelType() hasPrefix:@"iPod4"] ) |
63 #define IS_NOT_VERY_POWERFUL() ([modelType() hasPrefix:@"iPad1"] || [modelType() hasPrefix:@"iPhone2"] || [modelType() hasPrefix:@"iPod3"] || [modelType() hasPrefix:@"iPod4"] ) |
64 #define IS_VERY_POWERFUL() (IS_NOT_POWERFUL() == NO && IS_NOT_VERY_POWERFUL() == NO) |
64 #define IS_VERY_POWERFUL() (IS_NOT_POWERFUL() == NO && IS_NOT_VERY_POWERFUL() == NO) |
65 |
65 |
66 #define DEFAULT_NETGAME_PORT 46631 |
|
67 |
|
68 |
66 |
69 void print_free_memory (void); |
67 void print_free_memory (void); |
70 void playSound (NSString *snd); |
68 void playSound (NSString *snd); |
71 void popError (const char *title, const char *message); |
69 void popError (const char *title, const char *message); |
72 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation); |
70 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation); |