project_files/HedgewarsMobile/Classes/CommodityFunctions.h
changeset 5166 d1eb1560b4d5
parent 4574 e26ef1eca20a
child 5185 7607a64e1853
--- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.h	Tue Apr 19 15:34:21 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.h	Wed Apr 20 05:26:47 2011 +0200
@@ -59,6 +59,7 @@
 #define IS_IPAD()               (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
 #define IS_NOT_POWERFUL()       ([modelType() hasPrefix:@"iPhone1"] || [modelType() hasPrefix:@"iPod1,1"] || [modelType() hasPrefix:@"iPod2,1"])
 #define IS_NOT_VERY_POWERFUL()  ([modelType() hasPrefix:@"iPad1"] || [modelType() hasPrefix:@"iPhone2"] || [modelType() hasPrefix:@"iPod3"] || [modelType() hasPrefix:@"iPod4"] )
+#define IS_VERY_POWERFUL()      (IS_NOT_POWERFUL() == NO && IS_NOT_VERY_POWERFUL() == NO)
 
 #define DEFAULT_NETGAME_PORT    46631