project_files/HedgewarsMobile/Classes/MapConfigViewController.h
changeset 4349 8efa91f98274
parent 3930 8b00b4f93242
child 4362 8dae325dc625
--- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.h	Tue Nov 16 20:04:20 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.h	Sun Nov 21 04:10:39 2010 +0100
@@ -22,10 +22,12 @@
 #import <UIKit/UIKit.h>
 #import "MapPreviewButtonView.h"
 
+@class SchemeWeaponConfigViewController;
+
 @interface MapConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, MapPreviewViewDelegate> {
-    NSInteger oldValue;  //slider
-    NSInteger oldPage;   //segmented control
-    BOOL busy;
+    NSInteger oldValue;     // for the slider
+    NSInteger oldPage;      // for the segmented control
+    BOOL busy;              // for the preview button
 
     // objects read (mostly) by parent view
     NSInteger maxHogs;
@@ -48,6 +50,9 @@
     // internal objects
     NSIndexPath *lastIndexPath;
     NSArray *dataSourceArray;
+
+    // controller for mission state
+    SchemeWeaponConfigViewController *externalController;
 }
 
 
@@ -71,6 +76,9 @@
 @property (nonatomic,retain) NSIndexPath *lastIndexPath;
 @property (nonatomic,retain) NSArray *dataSourceArray;
 
+@property (nonatomic,assign) SchemeWeaponConfigViewController *externalController;
+
+
 -(IBAction) buttonPressed:(id) sender;
 
 -(IBAction) mapButtonPressed;