project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
branchios-revival
changeset 11094 595b5700ebac
parent 10108 c68cf030eded
child 11116 102684240fe8
equal deleted inserted replaced
11093:daad16c01ed7 11094:595b5700ebac
   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);