cocoaTouch/GameSetup.h
author sheepluva
Sat, 03 Apr 2010 10:26:24 +0000
changeset 3284 7ffd0e20ad08
parent 3199 1a9938a27677
child 3364 e5403e2bf02c
permissions -rw-r--r--
Palewolf: * SniperRifle.lua: convert spaces to tabs * Update spanish translation sheepluva: translations: * ran sed -i 's/ type="[^"]*"//' on .ts files as requested by Smaxx and Palewolf * ran lupdate and lrelease frontend: * reduce min window-size a bit * make option page scale down better engine: * replacing Smaxx' latest commit with a TryDo()

//
//  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;
	NSMutableArray *teams;
    
	NSInteger ipcPort;
	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
}

@property (nonatomic, retain) NSDictionary *systemSettings;
@property (nonatomic, retain) NSArray *teams;

-(void) engineProtocol;
-(void) startThread: (NSString *)selector;
-(int)  sendToEngine: (NSString *)string;
-(void) sendTeamData:(NSDictionary *)teamData withPlayingHogs:(int) playingHogs;
-(void) initTeam:(NSArray *)teamLists;

-(const char **)getSettings;

@end