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 *teams; |
14 NSMutableArray *teams; |
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 |
21 @property (nonatomic, retain) NSArray *teams; |
21 @property (nonatomic, retain) NSArray *teams; |
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:(NSDictionary *)teamData; |
26 -(void) sendTeamData:(NSDictionary *)teamData withPlayingHogs:(int) playingHogs; |
|
27 -(void) initTeam:(NSArray *)teamLists; |
|
28 |
27 -(const char **)getSettings; |
29 -(const char **)getSettings; |
|
30 |
28 @end |
31 @end |
29 |
|