project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SDLActivity.java
equal
deleted
inserted
replaced
412 /** |
412 /** |
413 Simple nativeInit() runnable |
413 Simple nativeInit() runnable |
414 */ |
414 */ |
415 class SDLMain implements Runnable { |
415 class SDLMain implements Runnable { |
416 |
416 |
417 private int surfaceWidth, surfaceHeight; |
417 private final int surfaceWidth, surfaceHeight; |
418 private GameConfig config; |
418 private final GameConfig config; |
419 |
419 |
420 public SDLMain(int width, int height, GameConfig _config) { |
420 public SDLMain(int width, int height, GameConfig _config) { |
421 config = _config; |
421 config = _config; |
422 surfaceWidth = width; |
422 surfaceWidth = width; |
423 surfaceHeight = height; |
423 surfaceHeight = height; |