project_files/HedgewarsMobile/Classes/HWUtils.h
changeset 6247 6dfad55fd71c
parent 6246 6b2d19ed521a
child 6353 d8f62c805619
--- 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;