project_files/HedgewarsMobile/Classes/OverlayViewController.m
changeset 3792 dd9345e74b66
parent 3791 98072b3871c1
child 3829 81db3c85784b
equal deleted inserted replaced
3791:98072b3871c1 3792:dd9345e74b66
     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];