49 |
49 |
50 #define UICOLOR_HW_YELLOW_BODER [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xC0/255 blue:0 alpha:1] |
50 #define UICOLOR_HW_YELLOW_BODER [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xC0/255 blue:0 alpha:1] |
51 #define UICOLOR_HW_YELLOW_TEXT [UIColor colorWithRed:(CGFloat)0xF0/255 green:(CGFloat)0xD0/255 blue:0 alpha:1] |
51 #define UICOLOR_HW_YELLOW_TEXT [UIColor colorWithRed:(CGFloat)0xF0/255 green:(CGFloat)0xD0/255 blue:0 alpha:1] |
52 #define UICOLOR_HW_DARKBLUE [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:1] |
52 #define UICOLOR_HW_DARKBLUE [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:1] |
53 |
53 |
|
54 #define IS_DUALHEAD() ([[UIScreen screens] count] > 1) |
|
55 |
|
56 |
54 void createTeamNamed (NSString *nameWithoutExt); |
57 void createTeamNamed (NSString *nameWithoutExt); |
55 void createWeaponNamed (NSString *nameWithoutExt, int type); |
58 void createWeaponNamed (NSString *nameWithoutExt, int type); |
56 void createSchemeNamed (NSString *nameWithoutExt); |
59 void createSchemeNamed (NSString *nameWithoutExt); |
57 void print_free_memory (); |
60 void print_free_memory (void); |
58 void playSound (NSString *snd); |
61 void playSound (NSString *snd); |
59 void popError (const char *title, const char *message); |
62 void popError (const char *title, const char *message); |
60 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation); |
63 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation); |
61 BOOL isApplePhone (); |
64 BOOL isApplePhone (void); |
62 NSInteger randomPort (); |
65 NSInteger randomPort (void); |
63 NSString *modelType (); |
66 NSString *modelType (void); |
64 NSArray *getAvailableColors(void); |
67 NSArray *getAvailableColors (void); |