diff --git a/project/jni/application/biniax2/AndroidAppSettings.cfg b/project/jni/application/biniax2/AndroidAppSettings.cfg index 68404f101..d1bcf5802 100644 --- a/project/jni/application/biniax2/AndroidAppSettings.cfg +++ b/project/jni/application/biniax2/AndroidAppSettings.cfg @@ -140,7 +140,7 @@ RedefinedKeysScreenKbNames="RETURN SPACE" # Redefine gamepad keys to SDL keysyms, button order is: # A B X Y L1 R1 L2 R2 LThumb RThumb -RedefinedKeysGamepad="RETURN ESCAPE" +RedefinedKeysGamepad="RETURN ESCAPE SPACE SPACE" # How long to show startup menu button, in msec, 0 to disable startup menu StartupMenuButtonTimeout=0 @@ -163,10 +163,10 @@ MultiABI=n AppMinimumRAM=0 # Application version code (integer) -AppVersionCode=1401 +AppVersionCode=1403 # Application user-visible version name (string) -AppVersionName="1.4.01" +AppVersionName="1.4.03" # Reset SDL config when updating application to the new version (y) / (n) ResetSdlConfigForThisVersion=n diff --git a/project/jni/application/biniax2/AndroidData/data3.zip b/project/jni/application/biniax2/AndroidData/data3.zip index 5c411634c..229dfbad5 100644 Binary files a/project/jni/application/biniax2/AndroidData/data3.zip and b/project/jni/application/biniax2/AndroidData/data3.zip differ diff --git a/project/jni/application/biniax2/src/hof.c b/project/jni/application/biniax2/src/hof.c index d634d7ddf..d456bd1ab 100644 --- a/project/jni/application/biniax2/src/hof.c +++ b/project/jni/application/biniax2/src/hof.c @@ -28,6 +28,9 @@ For complete product license refer to LICENSE.TXT file INCLUDES ******************************************************************************/ #include +#ifdef __ANDROID__ +#include +#endif #include "inc.h" @@ -222,6 +225,10 @@ BNX_BOOL hofEnter( BNX_GAME *game ) strcpy( recEntry->name, " " ); recEntry->score = game->score[ cPlayer1 ]; inpInit(); +#ifdef __ANDROID__ + SDL_ANDROID_SetScreenKeyboardHintMesage("Enter your name"); + SDL_ANDROID_ToggleScreenKeyboardTextInput(""); +#endif do { startTime = sysGetTime(); diff --git a/project/jni/sdl-1.2/src/video/android/SDL_video.c b/project/jni/sdl-1.2/src/video/android/SDL_video.c index 8c243c185..be2e95e5b 100644 --- a/project/jni/sdl-1.2/src/video/android/SDL_video.c +++ b/project/jni/sdl-1.2/src/video/android/SDL_video.c @@ -2787,7 +2787,6 @@ SDL_RenderCopy(SDL_Texture * texture, const SDL_Rect * srcrect, return 0; } } - __android_log_print(ANDROID_LOG_INFO, "libSDL", "SDL_RenderCopy src %d:%d+%d+%d ", (int)real_srcrect.x, (int)real_srcrect.y, (int)real_srcrect.w, (int)real_srcrect.h); real_dstrect.x = 0; real_dstrect.y = 0; @@ -2815,7 +2814,6 @@ SDL_RenderCopy(SDL_Texture * texture, const SDL_Rect * srcrect, } #if SDL_VIDEO_RENDER_RESIZE - __android_log_print(ANDROID_LOG_INFO, "libSDL", "SDL_RenderCopy src %d:%d+%d+%d dst %d:%d+%d+%d screen %d:%d", (int)real_srcrect.x, (int)real_srcrect.y, (int)real_srcrect.w, (int)real_srcrect.h, (int)real_dstrect.x, (int)real_dstrect.y, (int)real_dstrect.w, (int)real_dstrect.h, (int)window->display->desktop_mode.w, (int)window->display->desktop_mode.h); realW = window->display->desktop_mode.w - renderer->window->x; realH = window->display->desktop_mode.h - renderer->window->y; fakeW = window->w; @@ -2834,7 +2832,7 @@ SDL_RenderCopy(SDL_Texture * texture, const SDL_Rect * srcrect, real_dstrect.y += renderer->window->y; real_dstrect.w -= renderer->window->x; real_dstrect.h -= renderer->window->y; - __android_log_print(ANDROID_LOG_INFO, "libSDL", "SDL_RenderCopy dst %d:%d+%d+%d realWH %d:%d", (int)real_dstrect.x, (int)real_dstrect.y, (int)real_dstrect.w, (int)real_dstrect.h, (int)realW, (int)realH); + //__android_log_print(ANDROID_LOG_INFO, "libSDL", "SDL_RenderCopy dst %d:%d+%d+%d realWH %d:%d", (int)real_dstrect.x, (int)real_dstrect.y, (int)real_dstrect.w, (int)real_dstrect.h, (int)realW, (int)realH); } #endif