Commits

Swyter committed a387846

*the eternal fight between tabs and spaces, the latter wins

Comments (0)

Files changed (2)

swconquest-helper.c

 
 
 DWORD LaunchGame(){
-	STARTUPINFO Startup = {0};
-	PROCESS_INFORMATION processInformation = {0};
-	
-	int proc = CreateProcess("../../mount&blade.exe",
+  STARTUPINFO Startup = {0};
+  PROCESS_INFORMATION processInformation = {0};
+  
+  int proc = CreateProcess("../../mount&blade.exe",
                            NULL,
                            NULL,
                            NULL,
                            &Startup,
                            &processInformation
                            );
-	
+  
   if(proc){
     WaitForInputIdle(
       processInformation.hProcess,

swconquest-loader.c

 
 main(){
 
-	//checking if the game exists
-	printf("locating mount and blade 1011: ");
-	
+  //checking if the game exists
+  printf("locating mount and blade 1011: ");
+  
   if(!FileExists("../../mount&blade.exe")){
     printf("[not found] ");
     MessageBox(NULL,"Please place the Star Wars Conquest folder into the /Modules subdirectory of your Mount&Blade 1.011 installation.",
     exit(1);
   }
 
-	printf("[found]\n");
+  printf("[found]\n");
   
   
-	//selecting default module
-	printf("selecting '%s' as default module: ", SetActiveMod());
-	printf("[done]\n");
+  //selecting default module
+  printf("selecting '%s' as default module: ", SetActiveMod());
+  printf("[done]\n");
   
   
-	//launching the game
-	printf("launching the game with PID %d: ", LaunchGame());
-	printf("[done]\n");
+  //launching the game
+  printf("launching the game with PID %d: ", LaunchGame());
+  printf("[done]\n");
   
   
-	//injecting paths in memory
-	printf("injecting paths in memory: ");
-	printf("done\n");
-	
-	getchar();
-	return 0;
+  //injecting paths in memory
+  printf("injecting paths in memory: ");
+  printf("done\n");
+  
+  getchar();
+  return 0;
 }