equal
deleted
inserted
replaced
21 |
21 |
22 #import <UIKit/UIKit.h> |
22 #import <UIKit/UIKit.h> |
23 #import "MapPreviewButtonView.h" |
23 #import "MapPreviewButtonView.h" |
24 |
24 |
25 @class SchemeWeaponConfigViewController; |
25 @class SchemeWeaponConfigViewController; |
|
26 @class GameConfigViewController; |
26 |
27 |
27 @interface MapConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, MapPreviewViewDelegate> { |
28 @interface MapConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, MapPreviewViewDelegate> { |
28 NSInteger oldValue; // for the slider |
29 NSInteger oldValue; // for the slider |
29 NSInteger oldPage; // for the segmented control |
30 NSInteger oldPage; // for the segmented control |
30 BOOL busy; // for the preview button |
31 BOOL busy; // for the preview button |
51 NSIndexPath *lastIndexPath; |
52 NSIndexPath *lastIndexPath; |
52 NSArray *dataSourceArray; |
53 NSArray *dataSourceArray; |
53 |
54 |
54 // controller for mission state |
55 // controller for mission state |
55 SchemeWeaponConfigViewController *externalController; |
56 SchemeWeaponConfigViewController *externalController; |
|
57 GameConfigViewController *parentController; |
56 } |
58 } |
57 |
59 |
58 |
60 |
59 @property (nonatomic,assign) NSInteger maxHogs; |
61 @property (nonatomic,assign) NSInteger maxHogs; |
60 @property (nonatomic,assign) BOOL busy; |
62 @property (nonatomic,assign) BOOL busy; |
75 |
77 |
76 @property (nonatomic,retain) NSIndexPath *lastIndexPath; |
78 @property (nonatomic,retain) NSIndexPath *lastIndexPath; |
77 @property (nonatomic,retain) NSArray *dataSourceArray; |
79 @property (nonatomic,retain) NSArray *dataSourceArray; |
78 |
80 |
79 @property (nonatomic,assign) SchemeWeaponConfigViewController *externalController; |
81 @property (nonatomic,assign) SchemeWeaponConfigViewController *externalController; |
|
82 @property (nonatomic,assign) GameConfigViewController *parentController; |
80 |
83 |
81 |
84 |
82 -(IBAction) buttonPressed:(id) sender; |
85 -(IBAction) buttonPressed:(id) sender; |
83 |
86 |
84 -(IBAction) mapButtonPressed; |
87 -(IBAction) mapButtonPressed; |