--- a/misc/wrapper.c Sat Jul 31 10:52:43 2010 +0200
+++ b/misc/wrapper.c Sat Jul 31 11:24:53 2010 +0200
@@ -12,9 +12,9 @@
extern void Game (const char **);
int SDL_main (int argc, const char **argv) {
-
+
const char **gameArgs = (const char**) malloc(sizeof(char *) * 9);
-
+
gameArgs[0] = "wrapper"; //UserNick
gameArgs[1] = "0"; //ipcPort
gameArgs[2] = "0"; //isSoundEnabled
@@ -24,9 +24,9 @@
gameArgs[6] = "768"; //cScreenHeight
gameArgs[7] = "1024"; //cScreenHeight
gameArgs[8] = "Save.hws"; //recordFileName
-
+
Game(gameArgs);
free(gameArgs);
-
+
return 0;
}