project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SDLActivity.java
equal
deleted
inserted
replaced
275 |
275 |
276 public void run() { |
276 public void run() { |
277 //Set up the IPC socket server to communicate with the engine |
277 //Set up the IPC socket server to communicate with the engine |
278 EngineProtocolNetwork ipc = new EngineProtocolNetwork(config); |
278 EngineProtocolNetwork ipc = new EngineProtocolNetwork(config); |
279 |
279 |
280 String path = Utils.getDownloadPath(SDLActivity.mSingleton);//This represents the data directory |
280 String path = Utils.getDataPath(SDLActivity.mSingleton);//This represents the data directory |
281 path = path.substring(0, path.length()-1);//remove the trailing '/' |
281 path = path.substring(0, path.length()-1);//remove the trailing '/' |
282 |
282 |
283 |
283 |
284 // Runs SDL_main() with added parameters |
284 // Runs SDL_main() with added parameters |
285 SDLActivity.nativeInit(new String[] { String.valueOf(ipc.port), |
285 SDLActivity.nativeInit(new String[] { String.valueOf(ipc.port), |