cocoaTouch/GameSetup.h
changeset 3170 1dbf4f8eaac0
parent 2702 48fc46a922fd
child 3189 b2eeae8ca52e
equal deleted inserted replaced
3169:c8c6ac44f51b 3170:1dbf4f8eaac0
     9 #import <Foundation/Foundation.h>
     9 #import <Foundation/Foundation.h>
    10 #import "SDL_net.h"
    10 #import "SDL_net.h"
    11 
    11 
    12 @interface GameSetup : NSObject {
    12 @interface GameSetup : NSObject {
    13 	NSDictionary *systemSettings;
    13 	NSDictionary *systemSettings;
    14 	
    14 	NSArray *teams;
       
    15     
    15 	NSInteger ipcPort;
    16 	NSInteger ipcPort;
    16 	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
    17 	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
    17 }
    18 }
    18 
    19 
    19 @property (nonatomic, retain) NSDictionary *systemSettings;
    20 @property (nonatomic, retain) NSDictionary *systemSettings;
       
    21 @property (nonatomic, retain) NSArray *teams;
    20 
    22 
    21 -(void) engineProtocol;
    23 -(void) engineProtocol;
    22 -(void) startThread: (NSString *)selector;
    24 -(void) startThread: (NSString *)selector;
    23 -(int) sendToEngine: (NSString *)string;
    25 -(int) sendToEngine: (NSString *)string;
       
    26 -(void) sendTeamData:(NSDictionary *)teamData;
    24 -(const char **)getSettings;
    27 -(const char **)getSettings;
    25 @end
    28 @end
    26 
    29