project_files/HedgewarsMobile/Classes/GameSetup.h
changeset 3514 59dbd31e9953
parent 3479 972ae3ec178a
child 3546 ccf4854df294
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/HedgewarsMobile/Classes/GameSetup.h	Thu Jun 17 20:30:39 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