equal
deleted
inserted
replaced
83 NSLocalizedString(@"Opt for controlling the team or let the AI lead",@""),nil]; |
83 NSLocalizedString(@"Opt for controlling the team or let the AI lead",@""),nil]; |
84 self.moreSecondaryItems = moreArray; |
84 self.moreSecondaryItems = moreArray; |
85 [moreArray release]; |
85 [moreArray release]; |
86 |
86 |
87 // load the base hog image, drawing will occure in cellForRow... |
87 // load the base hog image, drawing will occure in cellForRow... |
88 NSString *normalHogFile = [[NSString alloc] initWithFormat:@"%@/Hedgehog.png",GRAPHICS_DIRECTORY()]; |
88 NSString *normalHogFile = [[NSString alloc] initWithFormat:@"%@/basehat-hedgehog.png",[[NSBundle mainBundle] resourcePath]]; |
89 UIImage *hogSprite = [[UIImage alloc] initWithContentsOfFile:normalHogFile andCutAt:CGRectMake(96, 0, 32, 32)]; |
89 UIImage *hogSprite = [[UIImage alloc] initWithContentsOfFile:normalHogFile]; |
90 [normalHogFile release]; |
90 [normalHogFile release]; |
91 self.normalHogSprite = hogSprite; |
91 self.normalHogSprite = hogSprite; |
92 [hogSprite release]; |
92 [hogSprite release]; |
93 |
93 |
94 // listen if any childController modifies the plist and write it if needed |
94 // listen if any childController modifies the plist and write it if needed |