diff -r ccf4854df294 -r 02875b1145b7 project_files/HedgewarsMobile/Classes/GameSetup.h --- 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 +#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