project_files/Android-build/SDL-android-project/src/org/hedgewars/SDLActivity.java
branchhedgeroid
changeset 5387 e67241f4e59a
parent 5371 bb809cd50781
equal deleted inserted replaced
5385:a864a0aeed96 5387:e67241f4e59a
   235 		surfaceHeight = height;
   235 		surfaceHeight = height;
   236 	}
   236 	}
   237 	public void run() {
   237 	public void run() {
   238 		// Runs SDL_main()
   238 		// Runs SDL_main()
   239 		
   239 		
   240 		SDLActivity.nativeInit(new String[]{ "0", String.valueOf(surfaceWidth), String.valueOf(surfaceHeight), "0", "null", "xeli", "1", "1", "1", "0", "/sdcard/bla.hwd", "/sdcard/Data"});
   240 		SDLActivity.nativeInit(new String[]{ "0", String.valueOf(surfaceWidth), String.valueOf(surfaceHeight), "0", "null", "xeli", "1", "1", "1", "0", "/sdcard/Android/data/org.xeli.dataapk/files/Data", "/sdcard/Data"});
   241 
   241 
   242 		//Log.v("SDL", "SDL thread terminated");
   242 		//Log.v("SDL", "SDL thread terminated");
   243 	}
   243 	}
   244 }
   244 }
   245 
   245