cocoaTouch/GameSetup.h
author koda
Sat, 16 Jan 2010 06:48:56 +0000
changeset 2697 75880595a9f1
parent 2696 41aa7b56c17b
child 2698 90585aba87ad
permissions -rw-r--r--
code cleanup and opengles optimizations

//
//  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 {
	NSString *localeString;
	NSDictionary *systemSettings;
	
	BOOL engineProtocolStarted;
	NSInteger ipcPort;
	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor

}


@property (nonatomic, retain) NSString *localeString;
@property (retain) NSDictionary *systemSettings;

-(void) setArgsForLocalPlay;
-(void) engineProtocol;
-(void) startThread: (NSString *)selector;
-(void) loadSettingsFromFile:(NSString *)fileName forKey:(NSString *)objName;
-(int) sendToEngine: (NSString *)string;
-(void) unloadSettings;
@end