# HG changeset patch # User koda # Date 1288913910 -3600 # Node ID 222b8016c7733c76e7e154c301b39392ca91578b # Parent b4c31cea013ed50d48a018295f1a3794dd065044 make the support page more portable fix the respondsToSelector calls and update modes diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/AboutViewController.m --- a/project_files/HedgewarsMobile/Classes/AboutViewController.m Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/AboutViewController.m Fri Nov 05 00:38:30 2010 +0100 @@ -30,7 +30,7 @@ } -(void) viewDidLoad { - if ([UITableView respondsToSelector:@selector(setBackgroundView:)]) + if ([self.tableView respondsToSelector:@selector(setBackgroundView:)]) self.tableView.backgroundView = nil; self.tableView.allowsSelection = NO; diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/CommodityFunctions.h --- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.h Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.h Fri Nov 05 00:38:30 2010 +0100 @@ -53,7 +53,7 @@ #define UICOLOR_HW_DARKBLUE [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:1] #define UICOLOR_HW_ALPHABLUE [UIColor colorWithRed:(CGFloat)0x0F/255 green:0 blue:(CGFloat)0x42/255 alpha:0.58f] -#define IS_DUALHEAD() ([UIScreen respondsToSelector:@selector(screens)] && [[UIScreen screens] count] > 1) +#define IS_DUALHEAD() ([[UIScreen class] respondsToSelector:@selector(screens)] && [[UIScreen screens] count] > 1) #define IS_IPAD() (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) #define IS_NOT_POWERFUL() ([modelType() hasPrefix:@"iPhone1"] || [modelType() hasPrefix:@"iPod1,1"] || [modelType() hasPrefix:@"iPod2,1"]) diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/CommodityFunctions.m --- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.m Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.m Fri Nov 05 00:38:30 2010 +0100 @@ -157,7 +157,7 @@ [NSNumber numberWithBool:NO], //lowgravity [NSNumber numberWithBool:NO], //lasersight [NSNumber numberWithBool:NO], //invulnerable - [NSNumber numberWithBool:YES], //addmines + [NSNumber numberWithBool:NO], //resethealth [NSNumber numberWithBool:NO], //vampirism [NSNumber numberWithBool:NO], //karma [NSNumber numberWithBool:NO], //artillery @@ -168,6 +168,9 @@ [NSNumber numberWithBool:NO], //disablegirders [NSNumber numberWithBool:NO], //disablelandobjects [NSNumber numberWithBool:NO], //aisurvival + [NSNumber numberWithBool:NO], //infattack + [NSNumber numberWithBool:NO], //resetweaps + [NSNumber numberWithBool:NO], //perhogammo nil]; NSMutableDictionary *theScheme = [[NSMutableDictionary alloc] initWithObjectsAndKeys: diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/MapConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Fri Nov 05 00:38:30 2010 +0100 @@ -353,7 +353,7 @@ self.missionCommand = mission; // nice animation for updating the table when appropriate (on iphone) - if (IS_IPAD()) + if (IS_IPAD() == NO) if (((oldPage == 0 || oldPage == 2) && (newPage == 1 || newPage == 3)) || ((oldPage == 1 || oldPage == 3) && (newPage == 0 || newPage == 2)) || ((oldPage == 1 && newPage == 3) || (oldPage == 3 || newPage == 1))) { @@ -425,7 +425,7 @@ self.missionCommand = @""; if (IS_IPAD()) { - if ([UITableView respondsToSelector:@selector(setBackgroundView:)]) + if ([self.tableView respondsToSelector:@selector(setBackgroundView:)]) [self.tableView setBackgroundView:nil]; self.view.backgroundColor = [UIColor clearColor]; self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER; diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/MasterViewController.m --- a/project_files/HedgewarsMobile/Classes/MasterViewController.m Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/MasterViewController.m Fri Nov 05 00:38:30 2010 +0100 @@ -153,7 +153,7 @@ break; case 4: if (nil == supportViewController) - supportViewController = [[SupportViewController alloc] initWithNibName:@"SupportViewController" bundle:nil]; + supportViewController = [[SupportViewController alloc] initWithStyle:UITableViewStyleGrouped]; nextController = supportViewController; break; } diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/SavedGamesViewController.m --- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m Fri Nov 05 00:38:30 2010 +0100 @@ -40,7 +40,7 @@ } -(void) viewDidLoad { - if ([UITableView respondsToSelector:@selector(setBackgroundView:)]) + if ([self.tableView respondsToSelector:@selector(setBackgroundView:)]) self.tableView.backgroundView = nil; NSString *imgName; @@ -165,7 +165,7 @@ footer.backgroundColor = [UIColor clearColor]; UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width*80/100, 100)]; - label.center = CGPointMake(self.tableView.frame.size.width/2,70); + label.center = CGPointMake(self.tableView.frame.size.width/2, 70); label.textAlignment = UITextAlignmentCenter; label.font = [UIFont systemFontOfSize:16]; label.textColor = [UIColor lightGrayColor]; @@ -178,6 +178,10 @@ return [footer autorelease]; } +-(CGFloat) tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section { + return 125; +} + -(void) tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { NSUInteger row = [indexPath row]; [(EditableCellView *)[self.tableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:row inSection:0]] save:nil]; diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m Fri Nov 05 00:38:30 2010 +0100 @@ -41,8 +41,8 @@ self.selectedScheme = nil; self.selectedWeapon = nil; - if ([UITableView respondsToSelector:@selector(setBackgroundView:)]) - [self.tableView setBackgroundView:nil]; + if ([self.tableView respondsToSelector:@selector(setBackgroundView:)]) + [self.tableView setBackgroundView:nil]; self.view.backgroundColor = [UIColor clearColor]; self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER; self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone; diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/SupportViewController.h --- a/project_files/HedgewarsMobile/Classes/SupportViewController.h Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/SupportViewController.h Fri Nov 05 00:38:30 2010 +0100 @@ -21,10 +21,10 @@ #import -@interface SupportViewController : UIViewController { - +@interface SupportViewController : UITableViewController { + NSArray *waysToSupport; } --(IBAction) buttonPressed:(id) sender; +@property (nonatomic, retain) NSArray *waysToSupport; @end diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/SupportViewController.m --- a/project_files/HedgewarsMobile/Classes/SupportViewController.m Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/SupportViewController.m Fri Nov 05 00:38:30 2010 +0100 @@ -23,30 +23,150 @@ #import "CommodityFunctions.h" @implementation SupportViewController +@synthesize waysToSupport; --(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { +-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return rotationManager(interfaceOrientation); } --(void) didReceiveMemoryWarning { - // Releases the view if it doesn't have a superview. +#pragma mark - +#pragma mark View lifecycle +-(void) viewDidLoad { + [super viewDidLoad]; + + NSArray *array = [[NSArray alloc] initWithObjects: + NSLocalizedString(@"Leave a positive review on iTunes!",@""), + NSLocalizedString(@"Join us on Facebook",@""), + NSLocalizedString(@"Follow on Twitter",@""), + NSLocalizedString(@"Visit website",@""), + nil]; + self.waysToSupport = array; + [array release]; + + self.tableView.rowHeight = 50; +} + +#pragma mark - +#pragma mark Table view data source +-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { + return 2; +} + +-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { + if (section == 0) + return 1; + else + return [self.waysToSupport count] - 1; +} + +-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { + static NSString *CellIdentifier = @"Cell"; + NSInteger row = [indexPath row]; + NSInteger section = [indexPath section]; + + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; + if (cell == nil) + cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; + + NSString *rowString = [self.waysToSupport objectAtIndex:(row + section)]; + cell.textLabel.text = rowString; + + if (section == 0) { + cell.textLabel.textAlignment = UITextAlignmentCenter; + cell.imageView.image = nil; + } else { + cell.textLabel.textAlignment = UITextAlignmentLeft; + NSString *imgString = nil; + switch (row) { + case 0: + imgString = @"fb.png"; + break; + case 1: + imgString = @"tw.png"; + break; + case 2: + imgString = @"Icon-Small.png"; + break; + default: + DLog(@"No way"); + break; + } + + UIImage *img = [[UIImage alloc] initWithContentsOfFile:imgString]; + cell.imageView.image = img; + [img release]; + } + + return cell; +} + +#pragma mark - +#pragma mark Table view delegate +-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { + NSString *urlString = nil; + if ([indexPath section] == 0) + urlString = @"http://itunes.apple.com/us/app/hedgewars/id391234866?affC=QQABAAAAHgAFasEiWjVwUGZOc3k1VGctQkRJazlacXhUclpBTVpiU2xteVdfUQ%3D%3D#&mt=8"; + else + switch ([indexPath row]) { + case 0: + urlString = @"http://www.facebook.com/Hedgewars"; + break; + case 1: + urlString = @"http://twitter.com/hedgewars"; + break; + case 2: + urlString = @"http://www.hedgewars.org"; + break; + default: + DLog(@"No way"); + break; + } + [[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]]; +} + +-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger) section { + if (section == 1) { + UIView *footer = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 240)]; + UIImage *img = [[UIImage alloc] initWithContentsOfFile:@"surprise.png"]; + UIImageView *imgView = [[UIImageView alloc] initWithImage:img]; + [img release]; + imgView.center = CGPointMake(self.tableView.frame.size.width/2, 120); + [footer addSubview:imgView]; + [imgView release]; + + UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 20)]; + label.textAlignment = UITextAlignmentCenter; + label.text = @" ♥ THANK YOU ♥ "; + label.backgroundColor = [UIColor clearColor]; + label.center = CGPointMake(self.tableView.frame.size.width/2, 250); + [footer addSubview:label]; + [label release]; + + return [footer autorelease]; + } else + return nil; +} + +-(CGFloat) tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section { + // image height + label height + return 265; +} + +#pragma mark - +#pragma mark Memory management +-(void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; - // Release any cached data, images, etc that aren't in use. } -(void) viewDidUnload { + self.waysToSupport = nil; + MSG_DIDUNLOAD(); [super viewDidUnload]; - // Release any retained subviews of the main view. - // e.g. self.myOutlet = nil; } -(void) dealloc { + [self.waysToSupport release]; [super dealloc]; } --(IBAction) buttonPressed:(id) sender { - NSString *reviewURL = @"http://itunes.apple.com/us/app/hedgewars/id391234866?affC=QQABAAAAHgAFasEiWjVwUGZOc3k1VGctQkRJazlacXhUclpBTVpiU2xteVdfUQ%3D%3D#&mt=8"; - [[UIApplication sharedApplication] openURL:[NSURL URLWithString:reviewURL]]; -} - @end diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Classes/TeamConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m Fri Nov 05 00:38:30 2010 +0100 @@ -39,7 +39,7 @@ CGSize screenSize = [[UIScreen mainScreen] bounds].size; self.view.frame = CGRectMake(0, 0, screenSize.height, screenSize.width - 44); - if ([UITableView respondsToSelector:@selector(setBackgroundView:)]) + if ([self.tableView respondsToSelector:@selector(setBackgroundView:)]) [self.tableView setBackgroundView:nil]; self.view.backgroundColor = [UIColor clearColor]; self.tableView.separatorColor = UICOLOR_HW_YELLOW_BODER; diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj --- a/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Thu Nov 04 18:19:28 2010 -0400 +++ b/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Fri Nov 05 00:38:30 2010 +0100 @@ -135,8 +135,7 @@ 6199E81612463EA800DADF8C /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6199E81512463EA800DADF8C /* CFNetwork.framework */; }; 6199E81A12463EC400DADF8C /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6199E81912463EC400DADF8C /* SystemConfiguration.framework */; }; 6199E839124647DE00DADF8C /* SupportViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6199E837124647DE00DADF8C /* SupportViewController.m */; }; - 6199E83A124647DE00DADF8C /* SupportViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6199E838124647DE00DADF8C /* SupportViewController.xib */; }; - 6199E86D12464A8E00DADF8C /* surpise.png in Resources */ = {isa = PBXBuildFile; fileRef = 6199E86C12464A8E00DADF8C /* surpise.png */; }; + 6199E86D12464A8E00DADF8C /* surprise.png in Resources */ = {isa = PBXBuildFile; fileRef = 6199E86C12464A8E00DADF8C /* surprise.png */; }; 619C5ACF124F7DE200D041AE /* libLua.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 619C5ACE124F7DDF00D041AE /* libLua.a */; }; 619C5AF4124F7E3100D041AE /* LuaPas.pas in Sources */ = {isa = PBXBuildFile; fileRef = 619C5AF3124F7E3100D041AE /* LuaPas.pas */; }; 619C5BA2124FA59000D041AE /* MapPreviewButtonView.m in Sources */ = {isa = PBXBuildFile; fileRef = 619C5BA1124FA59000D041AE /* MapPreviewButtonView.m */; }; @@ -155,6 +154,8 @@ 61D205A1127CDD1100ABD83E /* ObjcExports.m in Sources */ = {isa = PBXBuildFile; fileRef = 61D205A0127CDD1100ABD83E /* ObjcExports.m */; }; 61DE8F221257EB1100B80214 /* AmmoMenuViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 61DE8F211257EB1100B80214 /* AmmoMenuViewController.m */; }; 61E1F4F811D004240016A5AA /* adler32.pas in Sources */ = {isa = PBXBuildFile; fileRef = 61E1F4F711D004240016A5AA /* adler32.pas */; }; + 61E2F7441283752C00E12521 /* fb.png in Resources */ = {isa = PBXBuildFile; fileRef = 61E2F7421283752C00E12521 /* fb.png */; }; + 61E2F7451283752C00E12521 /* tw.png in Resources */ = {isa = PBXBuildFile; fileRef = 61E2F7431283752C00E12521 /* tw.png */; }; 61EBA62A11DFF2BC0048B68A /* title.png in Resources */ = {isa = PBXBuildFile; fileRef = 61EBA62811DFF2BC0048B68A /* title.png */; }; 61EBA62D11DFF3310048B68A /* backgroundAndTitle.png in Resources */ = {isa = PBXBuildFile; fileRef = 61EBA62C11DFF3310048B68A /* backgroundAndTitle.png */; }; 61EF920E11DF57AC003441C4 /* arrowDown.png in Resources */ = {isa = PBXBuildFile; fileRef = 61EF920511DF57AC003441C4 /* arrowDown.png */; }; @@ -882,8 +883,7 @@ 6199E81912463EC400DADF8C /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; 6199E836124647DE00DADF8C /* SupportViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SupportViewController.h; sourceTree = ""; }; 6199E837124647DE00DADF8C /* SupportViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SupportViewController.m; sourceTree = ""; }; - 6199E838124647DE00DADF8C /* SupportViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = SupportViewController.xib; path = ../Resources/SupportViewController.xib; sourceTree = ""; }; - 6199E86C12464A8E00DADF8C /* surpise.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = surpise.png; path = Resources/surpise.png; sourceTree = ""; }; + 6199E86C12464A8E00DADF8C /* surprise.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = surprise.png; path = Resources/surprise.png; sourceTree = ""; }; 619C09E911E8B8D600F1DF16 /* title_small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = title_small.png; path = "Resources/Frontend-iPhone/title_small.png"; sourceTree = ""; }; 619C5AC0124F7DDF00D041AE /* Lua.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Lua.xcodeproj; path = ../../../Library/Lua/Lua.xcodeproj; sourceTree = SOURCE_ROOT; }; 619C5AF3124F7E3100D041AE /* LuaPas.pas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.pascal; name = LuaPas.pas; path = ../../hedgewars/LuaPas.pas; sourceTree = SOURCE_ROOT; }; @@ -897,6 +897,8 @@ 61DE8F201257EB1100B80214 /* AmmoMenuViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AmmoMenuViewController.h; sourceTree = ""; }; 61DE8F211257EB1100B80214 /* AmmoMenuViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AmmoMenuViewController.m; sourceTree = ""; }; 61E1F4F711D004240016A5AA /* adler32.pas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.pascal; name = adler32.pas; path = ../../hedgewars/adler32.pas; sourceTree = SOURCE_ROOT; }; + 61E2F7421283752C00E12521 /* fb.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = fb.png; path = Resources/Icons/fb.png; sourceTree = ""; }; + 61E2F7431283752C00E12521 /* tw.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = tw.png; path = Resources/Icons/tw.png; sourceTree = ""; }; 61EBA62811DFF2BC0048B68A /* title.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = title.png; path = "Resources/Frontend-iPad/title.png"; sourceTree = ""; }; 61EBA62C11DFF3310048B68A /* backgroundAndTitle.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = backgroundAndTitle.png; path = "Resources/Frontend-iPad/backgroundAndTitle.png"; sourceTree = ""; }; 61EF920511DF57AC003441C4 /* arrowDown.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = arrowDown.png; path = Resources/Overlay/arrowDown.png; sourceTree = ""; }; @@ -1031,7 +1033,7 @@ isa = PBXGroup; children = ( 6147DAD21253DCDE0010357E /* savesButton.png */, - 6199E86C12464A8E00DADF8C /* surpise.png */, + 6199E86C12464A8E00DADF8C /* surprise.png */, 611EEBC0122B34A800DF6938 /* helpingame.png */, 611EEC30122B54D700DF6938 /* helpplain.png */, 611EEBC2122B355700DF6938 /* helpbottom.png */, @@ -1225,7 +1227,6 @@ 616591FB11CA9BA200D6E256 /* SchemeSettingsViewController.m */, 6199E836124647DE00DADF8C /* SupportViewController.h */, 6199E837124647DE00DADF8C /* SupportViewController.m */, - 6199E838124647DE00DADF8C /* SupportViewController.xib */, ); name = "First Level"; sourceTree = ""; @@ -1379,6 +1380,8 @@ 61F7A42811E2905C0040BA66 /* Icons */ = { isa = PBXGroup; children = ( + 61E2F7421283752C00E12521 /* fb.png */, + 61E2F7431283752C00E12521 /* tw.png */, 6183D83C11E2BCE200A88903 /* LI-ipad-Landscape.png */, 6183D83D11E2BCE200A88903 /* Default.png */, 61F7A43111E290650040BA66 /* Icon-72.png */, @@ -2142,8 +2145,7 @@ 61842B24122B619D0096E335 /* HelpPageInGameViewController.xib in Resources */, 61842B3E122B65BD0096E335 /* helpabove.png in Resources */, 61842B40122B66280096E335 /* helpleft.png in Resources */, - 6199E83A124647DE00DADF8C /* SupportViewController.xib in Resources */, - 6199E86D12464A8E00DADF8C /* surpise.png in Resources */, + 6199E86D12464A8E00DADF8C /* surprise.png in Resources */, 611D9BFC12497E9800008271 /* SavedGamesViewController.xib in Resources */, 611DA031124E2BC500008271 /* mediumBackground~ipad.png in Resources */, 611DA1D0124E5C6300008271 /* plus.png in Resources */, @@ -2160,6 +2162,8 @@ 61A6710612747E4000B06CE7 /* backgroundCenter.png in Resources */, 614AE65D127D090A0070BF5F /* smallerBackground~ipad.png in Resources */, 614AE65E127D090A0070BF5F /* smallerBackground~iphone.png in Resources */, + 61E2F7441283752C00E12521 /* fb.png in Resources */, + 61E2F7451283752C00E12521 /* tw.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Resources/Icons/fb.png Binary file project_files/HedgewarsMobile/Resources/Icons/fb.png has changed diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Resources/Icons/tw.png Binary file project_files/HedgewarsMobile/Resources/Icons/tw.png has changed diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Resources/SupportViewController.xib --- a/project_files/HedgewarsMobile/Resources/SupportViewController.xib Thu Nov 04 18:19:28 2010 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,561 +0,0 @@ - - - - 1024 - 10F569 - 788 - 1038.29 - 461.00 - - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - 117 - - - YES - - - - YES - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - YES - - YES - - - YES - - - - YES - - IBFilesOwner - IBIPadFramework - - - IBFirstResponder - IBIPadFramework - - - - 292 - - YES - - - 292 - {{94, 214}, {514, 21}} - - NO - YES - 7 - NO - IBIPadFramework - If you like this app, please leave a positive review on the AppStore! - - 1 - MCAwIDAAA - - - 1 - 10 - 1 - - - - 292 - {{231, 20}, {240, 160}} - - NO - NO - IBIPadFramework - - NSImage - denied.png - - - - - 292 - {{191, 363}, {320, 240}} - - NO - NO - IBIPadFramework - - NSImage - surpise.png - - - - - 292 - {{293, 269}, {116, 37}} - - NO - IBIPadFramework - 0 - 0 - - Helvetica-Bold - 15 - 16 - - 1 - Open iTunes - - 3 - MQA - - - 1 - MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA - - - 3 - MC41AA - - - - - 292 - {{274, 611}, {153, 37}} - - NO - YES - 7 - NO - IBIPadFramework - ♥ THANK YOU ♥ - - Helvetica-Bold - 17 - 16 - - - - 1 - 10 - 1 - - - {703, 724} - - - 3 - MQA - - 2 - - - NO - - NO - - - 3 - - - IBUISplitViewController - - IBUISplitViewControllerContentSizeLocation - IBUISplitViewControllerContentSizeLocationDetail - - IBIPadFramework - Detail - - IBIPadFramework - - - - - YES - - - view - - - - 3 - - - - buttonPressed: - - - 7 - - 11 - - - - - YES - - 0 - - - - - - -1 - - - File's Owner - - - -2 - - - - - 2 - - - YES - - - - - - - - - - 4 - - - - - 5 - - - - - 6 - - - - - 7 - - - - - 12 - - - - - - - YES - - YES - -1.CustomClassName - -2.CustomClassName - 12.IBPluginDependency - 2.IBEditorWindowLastContentRect - 2.IBPluginDependency - 4.IBPluginDependency - 5.IBPluginDependency - 6.IBPluginDependency - 7.IBPluginDependency - - - YES - SupportViewController - UIResponder - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - {{562, 125}, {703, 768}} - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 12 - - - - YES - - SupportViewController - UIViewController - - buttonPressed: - id - - - buttonPressed: - - buttonPressed: - id - - - - IBProjectSource - Classes/SupportViewController.h - - - - - YES - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - QuartzCore.framework/Headers/CAAnimation.h - - - - NSObject - - IBFrameworkSource - QuartzCore.framework/Headers/CALayer.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIAccessibility.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UINibLoading.h - - - - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UIResponder.h - - - - UIButton - UIControl - - IBFrameworkSource - UIKit.framework/Headers/UIButton.h - - - - UIControl - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIControl.h - - - - UIImageView - UIView - - IBFrameworkSource - UIKit.framework/Headers/UIImageView.h - - - - UILabel - UIView - - IBFrameworkSource - UIKit.framework/Headers/UILabel.h - - - - UIResponder - NSObject - - - - UISearchBar - UIView - - IBFrameworkSource - UIKit.framework/Headers/UISearchBar.h - - - - UISearchDisplayController - NSObject - - IBFrameworkSource - UIKit.framework/Headers/UISearchDisplayController.h - - - - UIView - - IBFrameworkSource - UIKit.framework/Headers/UITextField.h - - - - UIView - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIView.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UINavigationController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UIPopoverController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UISplitViewController.h - - - - UIViewController - - IBFrameworkSource - UIKit.framework/Headers/UITabBarController.h - - - - UIViewController - UIResponder - - IBFrameworkSource - UIKit.framework/Headers/UIViewController.h - - - - - 0 - IBIPadFramework - - com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS - - - - com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 - - - YES - ../Hedgewars.xcodeproj - 3 - - YES - - YES - denied.png - surpise.png - - - YES - {240, 160} - {320, 240} - - - 117 - - diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Resources/surpise.png Binary file project_files/HedgewarsMobile/Resources/surpise.png has changed diff -r b4c31cea013e -r 222b8016c773 project_files/HedgewarsMobile/Resources/surprise.png Binary file project_files/HedgewarsMobile/Resources/surprise.png has changed