diff -r 851f36579ed4 -r f2165724605c project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h --- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h Sun Apr 17 20:52:56 2011 +0200 +++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h Sun Apr 17 22:38:24 2011 +0200 @@ -20,13 +20,13 @@ #import +#import "EngineProtocolNetwork.h" typedef enum {gtNone, gtLocal, gtSave, gtNet} TGameType; @class OverlayViewController; -@class EngineProtocolNetwork; -@interface GameInterfaceBridge : NSObject { +@interface GameInterfaceBridge : NSObject { UIViewController *parentController; OverlayViewController *overlayController; @@ -49,25 +49,11 @@ @property (assign) TGameType gameType; --(id) initWithController:(id) viewController; +-(id) initWithController:(id) viewController; -(void) startLocalGame:(NSDictionary *)withDictionary; -(void) startSaveGame:(NSString *)atPath; --(const char **)gatherGameSettings; +-(void) prepareEngineLaunch; -(void) startGameEngine; - -/* -@property (nonatomic, retain) NSDictionary *systemSettings; -@property (nonatomic, retain) NSMutableArray *statsArray; -@property (assign) BOOL menuStyle; - --(id) initWithDictionary:(NSDictionary *)gameDictionary; --(void) engineProtocol; --(int) sendToEngine:(NSString *)string; --(int) sendToEngineNoSave:(NSString *)string; --(void) provideTeamData:(NSString *)teamName forHogs:(NSInteger) numberOfPlayingHogs withHealth:(NSInteger) initialHealth ofColor:(NSNumber *)teamColor; --(void) provideAmmoData:(NSString *)ammostoreName forPlayingTeams:(NSInteger) numberOfTeams; --(NSInteger) provideScheme:(NSString *)schemeName; - --(const char **)getGameSettings:(NSString *)recordFile;*/ +-(void) gameHasEndedWithStats:(NSArray *)stats; @end