cocoaTouch/GameSetup.h
author mario.liebisch
Wed, 16 Jun 2010 11:50:45 +0200
changeset 3505 ada9f697eb11
parent 3479 972ae3ec178a
permissions -rw-r--r--
Engine: * Bomb clusters now inherit 20 % of their parent's horizontal velocity (makes it a little bit more realistic without completely changing gameplay IMO - needs testing) Mercurial: * Added EOL rules (requires plugin to be activated) and ignore list

//
//  gameSetup.h
//  hwengine
//
//  Created by Vittorio on 10/01/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SDL_net.h"

@interface GameSetup : NSObject {
	NSDictionary *systemSettings;
    NSDictionary *gameConfig;
    
	NSInteger ipcPort;
	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
}

@property (nonatomic, retain) NSDictionary *systemSettings;
@property (nonatomic, retain) NSDictionary *gameConfig;

-(void) engineProtocol;
-(void) startThread:(NSString *)selector;
-(int)  sendToEngine:(NSString *)string;
-(void) provideTeamData:(NSString *)teamName forHogs:(NSInteger) numberOfPlayingHogs withHealth:(NSInteger) initialHealth ofColor:(NSNumber *)teamColor;
-(void) provideAmmoData:(NSString *)ammostoreName forPlayingTeams:(NSInteger) numberOfTeams;
-(NSInteger) provideScheme:(NSString *)schemeName;

-(const char **)getSettings;

@end