Updated Java settings dialog, added Java-C callbacks, tested on device - it doesn't work properly yet
This commit is contained in:
@@ -10,12 +10,6 @@ class Globals {
|
||||
// Should be zip file
|
||||
public static String DataDownloadUrl = "http://sites.google.com/site/xpelyax/Home/alienblaster110_data.zip?attredirects=0%26d=1|http://sitesproxy.goapk.com/site/xpelyax/Home/alienblaster110_data.zip"; // This string is autogenerated by ChangeAppSettings.sh, do not change spaces amount
|
||||
|
||||
// Set DownloadToSdcard to true if your app data is bigger than 5 megabytes.
|
||||
// It will download app data to /sdcard/alienblaster then,
|
||||
// otherwise it will download it to /data/data/de.schwardtnet.alienblaster/files -
|
||||
// set this dir in jni/Android.mk in SDL_CURDIR_PATH
|
||||
public static boolean DownloadToSdcard = false;
|
||||
|
||||
// Set this value to true if you're planning to render 3D using OpenGL - it eats some GFX resources, so disabled for 2D
|
||||
public static boolean NeedDepthBuffer = false;
|
||||
|
||||
@@ -27,14 +21,20 @@ class Globals {
|
||||
|
||||
public static boolean AppUsesMouse = false;
|
||||
|
||||
// We have to use accelerometer as arrow keys
|
||||
public static boolean AppNeedsArrowKeys = true;
|
||||
|
||||
|
||||
public static boolean AppUsesJoystick = false;
|
||||
|
||||
public static boolean AppUsesMultitouch = false;
|
||||
|
||||
// Phone-specific config
|
||||
// It will download app data to /sdcard/alienblaster if set to true,
|
||||
// otherwise it will download it to /data/data/de.schwardtnet.alienblaster/files
|
||||
public static boolean DownloadToSdcard = false;
|
||||
public static boolean PhoneHasTrackball = false;
|
||||
public static boolean PhoneHasArrowKeys = false;
|
||||
public static boolean UseAccelerometerAsArrowKeys = false;
|
||||
public static boolean UseTouchscreenKeyboard = false;
|
||||
}
|
||||
|
||||
class LoadLibrary {
|
||||
|
||||
Reference in New Issue
Block a user