project_files/HedgewarsMobile/Classes/GameSetup.h
changeset 3547 02875b1145b7
parent 3546 ccf4854df294
child 3548 4d220ee7c75f
--- a/project_files/HedgewarsMobile/Classes/GameSetup.h	Wed Jun 23 21:49:19 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameSetup.h	Wed Jun 23 22:03:56 2010 +0200
@@ -0,0 +1,32 @@
+//
+//  gameSetup.h
+//  hwengine
+//
+//  Created by Vittorio on 10/01/10.
+//  Copyright 2010 __MyCompanyName__. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "SDL_net.h"
+
+@interface GameSetup : NSObject {
+    NSDictionary *systemSettings;
+    NSDictionary *gameConfig;
+    
+    NSInteger ipcPort;
+    TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
+}
+
+@property (nonatomic, retain) NSDictionary *systemSettings;
+@property (nonatomic, retain) NSDictionary *gameConfig;
+
+-(void) engineProtocol;
+-(void) startThread:(NSString *)selector;
+-(int)  sendToEngine:(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 **)getSettings;
+
+@end