equal
deleted
inserted
replaced
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 NSArray *teamsConfig; |
14 NSDictionary *gameConfig; |
15 |
15 |
16 NSInteger ipcPort; |
16 NSInteger ipcPort; |
17 TCPsocket sd, csd; // Socket descriptor, Client socket descriptor |
17 TCPsocket sd, csd; // Socket descriptor, Client socket descriptor |
18 } |
18 } |
19 |
19 |
20 @property (nonatomic, retain) NSDictionary *systemSettings; |
20 @property (nonatomic, retain) NSDictionary *systemSettings; |
21 @property (nonatomic, retain) NSArray *teamsConfig; |
21 @property (nonatomic, retain) NSDictionary *gameConfig; |
22 |
22 |
23 -(void) engineProtocol; |
23 -(void) engineProtocol; |
24 -(void) startThread: (NSString *)selector; |
24 -(void) startThread: (NSString *)selector; |
25 -(int) sendToEngine: (NSString *)string; |
25 -(int) sendToEngine: (NSString *)string; |
26 -(void) sendTeamData:(NSString *)fileName withPlayingHogs:(NSInteger) playingHogs ofColor:(NSNumber *)color; |
26 -(void) sendTeamData:(NSString *)fileName withPlayingHogs:(NSInteger) playingHogs ofColor:(NSNumber *)color; |