diff -r c3dcb80bdb1d -r 156c04c6a3d8 project_files/HedgewarsMobile/Classes/otherSrc/CommodityFunctions.h --- a/project_files/HedgewarsMobile/Classes/otherSrc/CommodityFunctions.h Fri Jun 18 20:45:45 2010 +0200 +++ b/project_files/HedgewarsMobile/Classes/otherSrc/CommodityFunctions.h Sat Jun 19 00:48:47 2010 +0200 @@ -20,6 +20,8 @@ #define TEAMS_DIRECTORY() [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) \ objectAtIndex:0] stringByAppendingString:@"/Teams/"] +#define WEAPONS_DIRECTORY() [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) \ + objectAtIndex:0] stringByAppendingString:@"/Weapons/"] #define SCHEMES_DIRECTORY() [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) \ objectAtIndex:0] stringByAppendingString:@"/Schemes/"] @@ -38,6 +40,7 @@ #define MSG_DIDUNLOAD() DLog(@"did unload"); void createTeamNamed (NSString *nameWithoutExt); +void createWeaponNamed (NSString *nameWithoutExt); void createSchemeNamed (NSString *nameWithoutExt); BOOL rotationManager (UIInterfaceOrientation interfaceOrientation); NSInteger randomPort ();