# HG changeset patch # User koda # Date 1316032037 -7200 # Node ID cba92708277b6d0aeabfff2b878845b7d848bdcd # Parent 36cf87a4f6ae4790a1aa2eeea3bc7a01113ecfe8 disable ios screenshooting for now diff -r 36cf87a4f6ae -r cba92708277b project_files/HedgewarsMobile/Classes/InGameMenuViewController.m --- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Wed Sep 14 22:07:03 2011 +0200 +++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Wed Sep 14 22:27:17 2011 +0200 @@ -45,7 +45,7 @@ NSArray *array = [[NSArray alloc] initWithObjects: NSLocalizedString(@"Show Help", @""), NSLocalizedString(@"Tag", @""), - NSLocalizedString(@"Snapshot",@""), +// NSLocalizedString(@"Snapshot",@""), NSLocalizedString(@"End Game", @""), nil]; self.menuList = array; @@ -117,7 +117,8 @@ } -(NSInteger) tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { - return 4; + return 3; +// return 4; } -(UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { @@ -151,6 +152,7 @@ break; case 2: +/* alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Going to take a screenshot",@"") message:NSLocalizedString(@"The game snapshot will be placed in your Photo Album and it will be taken as soon as the pause menu is dismissed",@"") delegate:nil @@ -162,6 +164,7 @@ break; case 3: +*/ actionSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"Are you reeeeeally sure?", @"") delegate:self cancelButtonTitle:NSLocalizedString(@"Well, maybe not...", @"")