Forgot to disable debug

This commit is contained in:
pelya
2013-09-09 00:57:56 +03:00
parent 24273d2e8e
commit ab6eb14d16
4 changed files with 11 additions and 6 deletions

View File

@@ -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

View File

@@ -28,6 +28,9 @@ For complete product license refer to LICENSE.TXT file
INCLUDES
******************************************************************************/
#include <string.h>
#ifdef __ANDROID__
#include <SDL_screenkeyboard.h>
#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();

View File

@@ -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