equal
deleted
inserted
replaced
174 for (int i = 0; i < argc; i++) |
174 for (int i = 0; i < argc; i++) |
175 argv[i] = strdup([[gameParameters objectAtIndex:i] UTF8String]); |
175 argv[i] = strdup([[gameParameters objectAtIndex:i] UTF8String]); |
176 [gameParameters release]; |
176 [gameParameters release]; |
177 |
177 |
178 // this is the pascal function that starts the game |
178 // this is the pascal function that starts the game |
179 Game(argc, argv); |
179 RunEngine(argc, argv); |
180 |
180 |
181 // cleanup |
181 // cleanup |
182 for (int i = 0; i < argc; i++) |
182 for (int i = 0; i < argc; i++) |
183 free((void *)argv[i]); |
183 free((void *)argv[i]); |
184 free(argv); |
184 free(argv); |