project_files/HedgewarsMobile/Classes/CommodityFunctions.h
changeset 3996 eb549fd864a5
parent 3983 aa24192417a8
child 4000 ddc4a09889e7
equal deleted inserted replaced
3995:360332f8785f 3996:eb549fd864a5
    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 #define UICOLOR_HW_ALPHABLUE    [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:0.58f]
    53 #define UICOLOR_HW_ALPHABLUE    [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:0.58f]
    54 
    54 
    55 #define IS_DUALHEAD()           ([[UIScreen screens] count] > 1)
    55 #define IS_DUALHEAD()           ([[UIScreen screens] count] > 1)
       
    56 #define IS_IPAD()               (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
    56 
    57 
    57 #define DEFAULT_NETGAME_PORT    46631
    58 #define DEFAULT_NETGAME_PORT    46631
    58 
    59 
    59 
    60 
    60 void createTeamNamed (NSString *nameWithoutExt);
    61 void createTeamNamed (NSString *nameWithoutExt);