cocoaTouch/MainMenuViewController.m
changeset 2687 28b8330b8af1
parent 2685 0ba746be5d59
child 2694 dcd248e04f3d
--- a/cocoaTouch/MainMenuViewController.m	Fri Jan 08 01:29:28 2010 +0000
+++ b/cocoaTouch/MainMenuViewController.m	Fri Jan 08 03:38:01 2010 +0000
@@ -25,12 +25,11 @@
 
 
 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
-- (void)viewDidLoad {
-	self.versionLabel = @"Hedgewar version 0.9.13-dev";
+-(void) viewDidLoad {
+	self.versionLabel = @"Hedgewars version 0.9.13-dev";
     [super viewDidLoad];
 }
 
-
 /*
 // Override to allow orientations other than the default portrait orientation.
 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
@@ -48,7 +47,6 @@
 
 - (void)viewDidUnload {
 	// Release any retained subviews of the main view.
-	// e.g. self.myOutlet = nil;
 	self.passandplayButton = nil;
 	self.netplayButton = nil;
 	self.storeButton = nil;
@@ -64,6 +62,19 @@
 }
 
 -(IBAction) startPlaying {
+	// TODO: support IPC and start a thread
+	
 	[[SDLUIKitDelegate sharedAppDelegate] startSDLgame];
 }
+
+-(IBAction) notYetImplemented {
+	UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Not Yet Implemented"
+									message:@"Sorry, this feature is not yet implemented"
+									delegate:nil
+									cancelButtonTitle:@"Well, don't worry"
+									otherButtonTitles:nil];
+	[alert show];
+	[alert release];
+}
+
 @end