project_files/HedgewarsMobile/Classes/GameSetup.h
changeset 3546 ccf4854df294
parent 3514 59dbd31e9953
child 3547 02875b1145b7
equal deleted inserted replaced
3545:b07ee704f35d 3546:ccf4854df294
     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