project_files/HedgewarsMobile/Classes/GameSetup.h
changeset 3891 f8f0d0ceb19c
parent 3829 81db3c85784b
child 3893 568bfd083465
equal deleted inserted replaced
3889:f7d6834a54fe 3891:f8f0d0ceb19c
    26     NSDictionary *systemSettings;
    26     NSDictionary *systemSettings;
    27     NSDictionary *gameConfig;
    27     NSDictionary *gameConfig;
    28 
    28 
    29     NSInteger ipcPort;  // Port on which engine will listen
    29     NSInteger ipcPort;  // Port on which engine will listen
    30     TCPsocket csd;      // Client socket descriptor
    30     TCPsocket csd;      // Client socket descriptor
       
    31     
       
    32     NSString *savePath;
    31 }
    33 }
    32 
    34 
    33 @property (nonatomic, retain) NSDictionary *systemSettings;
    35 @property (nonatomic, retain) NSDictionary *systemSettings;
    34 @property (nonatomic, retain) NSDictionary *gameConfig;
    36 @property (nonatomic, retain) NSDictionary *gameConfig;
       
    37 @property (nonatomic, retain) NSString *savePath;
    35 
    38 
    36 -(id) initWithDictionary:(NSDictionary *)gameDictionary;
    39 -(id) initWithDictionary:(NSDictionary *)gameDictionary;
    37 -(void) engineProtocol;
    40 -(void) engineProtocol;
    38 -(void) startThread:(NSString *)selector;
    41 -(void) startThread:(NSString *)selector;
    39 -(int)  sendToEngine:(NSString *)string;
    42 -(int)  sendToEngine:(NSString *)string;
       
    43 -(int)  sendToEngineNoSave:(NSString *)string;
    40 -(void) provideTeamData:(NSString *)teamName forHogs:(NSInteger) numberOfPlayingHogs withHealth:(NSInteger) initialHealth ofColor:(NSNumber *)teamColor;
    44 -(void) provideTeamData:(NSString *)teamName forHogs:(NSInteger) numberOfPlayingHogs withHealth:(NSInteger) initialHealth ofColor:(NSNumber *)teamColor;
    41 -(void) provideAmmoData:(NSString *)ammostoreName forPlayingTeams:(NSInteger) numberOfTeams;
    45 -(void) provideAmmoData:(NSString *)ammostoreName forPlayingTeams:(NSInteger) numberOfTeams;
    42 -(NSInteger) provideScheme:(NSString *)schemeName;
    46 -(NSInteger) provideScheme:(NSString *)schemeName;
    43 
    47 
    44 -(const char **)getSettings;
    48 -(const char **)getSettings;