--- a/project_files/HedgewarsMobile/Classes/HWUtils.h Mon Oct 31 01:44:32 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/HWUtils.h Mon Oct 31 03:08:16 2011 +0100
@@ -21,10 +21,20 @@
#import <Foundation/Foundation.h>
+typedef enum {gtNone, gtLocal, gtSave, gtMission, gtNet} TGameType;
+typedef enum {gsNone, gsLoading, gsInGame, gsEnded} TGameStatus;
+
@interface HWUtils : NSObject {
}
++(TGameType) gameType;
++(void) setGameType:(TGameType) type;
++(TGameStatus) gameStatus;
++(void) setGameStatus:(TGameStatus) status;
++(BOOL) isGameLaunched;
++(BOOL) isGameRunning;
+
+(NSString *)modelType;
+(NSArray *)teamColors;
+(NSInteger) randomPort;