cocoaTouch/GameSetup.h
author smxx
Tue, 30 Mar 2010 17:44:02 +0000
changeset 3182 f75d546414c4
parent 3170 1dbf4f8eaac0
child 3189 b2eeae8ca52e
permissions -rw-r--r--
Engine: * Ensure support libs are unloaded properly before trying to call Mix_CloseAudio() - fixes SegFault when running newer versions of SDL_mixer

//
//  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;
	NSArray *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;
-(const char **)getSettings;
@end