equal
deleted
inserted
replaced
7 // |
7 // |
8 |
8 |
9 #import "OverlayViewController.h" |
9 #import "OverlayViewController.h" |
10 #import "SDL_uikitappdelegate.h" |
10 #import "SDL_uikitappdelegate.h" |
11 #import "InGameMenuViewController.h" |
11 #import "InGameMenuViewController.h" |
12 #import "HelpPageLobbyViewController.h" |
12 #import "HelpPageViewController.h" |
13 #import "PascalImports.h" |
13 #import "PascalImports.h" |
14 #import "CommodityFunctions.h" |
14 #import "CommodityFunctions.h" |
15 #import "CGPointUtils.h" |
15 #import "CGPointUtils.h" |
16 #import "SDL_config_iphoneos.h" |
16 #import "SDL_config_iphoneos.h" |
17 #import "SDL_mouse.h" |
17 #import "SDL_mouse.h" |
143 sdlwindow = display->windows; |
143 sdlwindow = display->windows; |
144 } |
144 } |
145 |
145 |
146 -(void) showHelp:(id) sender { |
146 -(void) showHelp:(id) sender { |
147 if (self.helpPage == nil) |
147 if (self.helpPage == nil) |
148 self.helpPage = [[HelpPageLobbyViewController alloc] initWithNibName:@"HelpPageLobbyViewController" bundle:nil]; |
148 self.helpPage = [[HelpPageViewController alloc] initWithNibName:@"HelpPageInGameViewController" bundle:nil]; |
149 self.helpPage.view.alpha = 0; |
149 self.helpPage.view.alpha = 0; |
150 [self.view addSubview:helpPage.view]; |
150 [self.view addSubview:helpPage.view]; |
151 [UIView beginAnimations:@"helpingame" context:NULL]; |
151 [UIView beginAnimations:@"helpingame" context:NULL]; |
152 self.helpPage.view.alpha = 1; |
152 self.helpPage.view.alpha = 1; |
153 [UIView commitAnimations]; |
153 [UIView commitAnimations]; |