project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h
changeset 5156 641abe679bf0
parent 5155 f2165724605c
child 5157 a5a6ffc56141
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h	Sun Apr 17 22:38:24 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h	Mon Apr 18 02:45:51 2011 +0200
@@ -23,6 +23,7 @@
 #import "EngineProtocolNetwork.h"
 
 typedef enum {gtNone, gtLocal, gtSave, gtNet} TGameType;
+typedef enum {gsNone, gsInGame, gsEnded, gsInterrupted} TGameStatus;
 
 @class OverlayViewController;
 
@@ -36,6 +37,7 @@
 
     NSInteger ipcPort;  // Port on which engine will listen
     TGameType gameType;
+    TGameStatus gameStatus;
 }
 
 @property (nonatomic,retain) UIViewController *parentController;
@@ -47,6 +49,7 @@
 
 @property (assign) NSInteger ipcPort;
 @property (assign) TGameType gameType;
+@property (assign) TGameStatus gameStatus;
 
 
 -(id)   initWithController:(id) viewController;