equal
deleted
inserted
replaced
20 |
20 |
21 |
21 |
22 #import <Foundation/Foundation.h> |
22 #import <Foundation/Foundation.h> |
23 #import "EngineProtocolNetwork.h" |
23 #import "EngineProtocolNetwork.h" |
24 |
24 |
25 typedef enum {gtNone, gtLocal, gtSave, gtNet} TGameType; |
25 typedef enum {gtNone, gtLocal, gtSave, gtMission, gtNet} TGameType; |
26 typedef enum {gsNone, gsInGame, gsEnded, gsInterrupted} TGameStatus; |
26 typedef enum {gsNone, gsInGame, gsEnded, gsInterrupted} TGameStatus; |
27 |
27 |
28 @class OverlayViewController; |
28 @class OverlayViewController; |
29 |
29 |
30 @interface GameInterfaceBridge : NSObject <EngineProtocolDelegate> { |
30 @interface GameInterfaceBridge : NSObject <EngineProtocolDelegate> { |
47 @property (assign) NSInteger ipcPort; |
47 @property (assign) NSInteger ipcPort; |
48 @property (assign) TGameType gameType; |
48 @property (assign) TGameType gameType; |
49 |
49 |
50 |
50 |
51 -(id) initWithController:(id) viewController; |
51 -(id) initWithController:(id) viewController; |
52 -(void) startLocalGame:(NSDictionary *)withDictionary; |
52 -(void) startLocalGame:(NSDictionary *)withOptions; |
53 -(void) startSaveGame:(NSString *)atPath; |
53 -(void) startSaveGame:(NSString *)atPath; |
|
54 -(void) startMissionGame:(NSString *)withScript; |
|
55 |
54 -(void) prepareEngineLaunch; |
56 -(void) prepareEngineLaunch; |
55 -(void) startGameEngine; |
57 -(void) engineLaunch; |
56 -(void) gameHasEndedWithStats:(NSArray *)stats; |
58 -(void) gameHasEndedWithStats:(NSArray *)stats; |
57 |
59 |
58 @end |
60 @end |