project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3898 0a9c3735a713
parent 3895 e7c202c08ac1
child 3922 44804043b691
equal deleted inserted replaced
3897:27e115fa1143 3898:0a9c3735a713
    79 
    79 
    80 // main routine for calling the actual game engine
    80 // main routine for calling the actual game engine
    81 -(void) startSDLgame:(NSDictionary *)gameDictionary {
    81 -(void) startSDLgame:(NSDictionary *)gameDictionary {
    82     UIWindow *aWin = [[[UIApplication sharedApplication] windows] objectAtIndex:0];
    82     UIWindow *aWin = [[[UIApplication sharedApplication] windows] objectAtIndex:0];
    83 
    83 
    84     UIView *blackView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, aWin.frame.size.height, aWin.frame.size.width)];
    84     UIView *blackView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, aWin.frame.size.width, aWin.frame.size.height)];
    85     blackView.opaque = YES;
    85     blackView.opaque = YES;
    86     blackView.backgroundColor = [UIColor blackColor];
    86     blackView.backgroundColor = [UIColor blackColor];
    87     [aWin addSubview:blackView];
    87     [aWin addSubview:blackView];
    88 
    88 
    89     // pull out useful configuration info from various files
    89     // pull out useful configuration info from various files