equal
deleted
inserted
replaced
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 |