cocoaTouch/GameSetup.h
changeset 3514 59dbd31e9953
parent 3513 f589230fa21b
child 3515 3e8635f43972
equal deleted inserted replaced
3513:f589230fa21b 3514:59dbd31e9953
     1 //
       
     2 //  gameSetup.h
       
     3 //  hwengine
       
     4 //
       
     5 //  Created by Vittorio on 10/01/10.
       
     6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
       
     7 //
       
     8 
       
     9 #import <Foundation/Foundation.h>
       
    10 #import "SDL_net.h"
       
    11 
       
    12 @interface GameSetup : NSObject {
       
    13 	NSDictionary *systemSettings;
       
    14     NSDictionary *gameConfig;
       
    15     
       
    16 	NSInteger ipcPort;
       
    17 	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
       
    18 }
       
    19 
       
    20 @property (nonatomic, retain) NSDictionary *systemSettings;
       
    21 @property (nonatomic, retain) NSDictionary *gameConfig;
       
    22 
       
    23 -(void) engineProtocol;
       
    24 -(void) startThread:(NSString *)selector;
       
    25 -(int)  sendToEngine:(NSString *)string;
       
    26 -(void) provideTeamData:(NSString *)teamName forHogs:(NSInteger) numberOfPlayingHogs withHealth:(NSInteger) initialHealth ofColor:(NSNumber *)teamColor;
       
    27 -(void) provideAmmoData:(NSString *)ammostoreName forPlayingTeams:(NSInteger) numberOfTeams;
       
    28 -(NSInteger) provideScheme:(NSString *)schemeName;
       
    29 
       
    30 -(const char **)getSettings;
       
    31 
       
    32 @end