50 |
50 |
51 #pragma mark - |
51 #pragma mark - |
52 #pragma mark View lifecycle |
52 #pragma mark View lifecycle |
53 -(void) viewDidLoad { |
53 -(void) viewDidLoad { |
54 [super viewDidLoad]; |
54 [super viewDidLoad]; |
55 NSString *path = nil; |
|
56 |
55 |
57 // title, description, image name (+btn) |
56 // title, description, image name (+btn) |
58 path = [NSString stringWithFormat:@"%@/gameFlags_en.plist",IFRONTEND_DIRECTORY()]; |
57 NSArray *mods = [[NSArray alloc] initWithContentsOfFile:GAMEMODS_FILE()]; |
59 NSArray *mods = [[NSArray alloc] initWithContentsOfFile:path]; |
|
60 self.gameModifierArray = mods; |
58 self.gameModifierArray = mods; |
61 [mods release]; |
59 [mods release]; |
62 |
60 |
63 // title, image name (+icon), default value, max value, min value |
61 // title, image name (+icon), default value, max value, min value |
64 path = [NSString stringWithFormat:@"%@/basicFlags_en.plist",IFRONTEND_DIRECTORY()]; |
62 NSArray *basicSettings = [[NSArray alloc] initWithContentsOfFile:BASICFLAGS_FILE()]; |
65 NSArray *basicSettings = [[NSArray alloc] initWithContentsOfFile:path]; |
|
66 self.basicSettingList = basicSettings; |
63 self.basicSettingList = basicSettings; |
67 [basicSettings release]; |
64 [basicSettings release]; |
68 |
65 |
69 self.title = NSLocalizedString(@"Edit scheme preferences",@""); |
66 self.title = NSLocalizedString(@"Edit scheme preferences",@""); |
70 } |
67 } |