--- a/cocoaTouch/GameSetup.m Wed Mar 31 22:02:12 2010 +0000
+++ b/cocoaTouch/GameSetup.m Wed Mar 31 22:54:28 2010 +0000
@@ -14,6 +14,7 @@
#include <sys/sysctl.h>
#define BUFFER_SIZE 256
+#define debug(format, ...) CFShow([NSString stringWithFormat:format, ## __VA_ARGS__]);
@implementation GameSetup
@@ -31,6 +32,10 @@
return nil;
}
+-(NSString *)description {
+ return [NSString stringWithFormat:@"ipcport: %d\nsockets: %d,%d\n teams: %@\n systemSettings: %@",ipcPort,sd,csd,teams,systemSettings];
+}
+
-(void) dealloc {
[teams release];
[systemSettings release];