Fixed some timeout coefficients, updated fheroes2 project, updated todo
This commit is contained in:
@@ -5,7 +5,7 @@ AppName="Free Heroes 2"
|
|||||||
AppFullName=net.sourceforge.fheroes2
|
AppFullName=net.sourceforge.fheroes2
|
||||||
ScreenOrientation=h
|
ScreenOrientation=h
|
||||||
InhibitSuspend=n
|
InhibitSuspend=n
|
||||||
AppDataDownloadUrl="Game data|data7.zip^Heroes 2 DEMO data files (45 Mb)|http://downloads.pcworld.com/pub/new/fun_and_games/adventure_strategy/h2demo.zip|http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/h2demo.zip/download^MIDI music support (18 Mb)|http://sourceforge.net/projects/libsdl-android/files/timidity.zip/download^Essential map pack (9 Mb)|http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/EssentialMapPack.zip/download^Additional map pack (95 Mb)|http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/AdditionalMapPack.zip/download^Mega map pack (280 Mb)|http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/MegaMapPack.zip/download^Russian translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-ru.cfg/download^Czech translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-cs.cfg/download^Spanish translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-es.cfg/download^French translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-fr.cfg/download^Hungarian translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-hu.cfg/download^Polish translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-pl.cfg/download^Portugese translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-pt.cfg/download^Swedish translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-sv.cfg/download"
|
AppDataDownloadUrl="Game data|data8.zip^Heroes 2 DEMO data files (45 Mb)|http://downloads.pcworld.com/pub/new/fun_and_games/adventure_strategy/h2demo.zip|http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/h2demo.zip/download^MIDI music support (18 Mb)|http://sourceforge.net/projects/libsdl-android/files/timidity.zip/download^Essential map pack (9 Mb)|http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/EssentialMapPack.zip/download^Additional map pack (95 Mb)|http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/AdditionalMapPack.zip/download^Mega map pack (280 Mb)|http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/MegaMapPack.zip/download^Russian translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-ru.cfg/download^Czech translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-cs.cfg/download^Spanish translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-es.cfg/download^French translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-fr.cfg/download^Hungarian translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-hu.cfg/download^Polish translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-pl.cfg/download^Portugese translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-pt.cfg/download^Swedish translation|:fheroes2.cfg:http://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/lang/fheroes2-sv.cfg/download"
|
||||||
SdlVideoResize=y
|
SdlVideoResize=y
|
||||||
SdlVideoResizeKeepAspect=n
|
SdlVideoResizeKeepAspect=n
|
||||||
NeedDepthBuffer=n
|
NeedDepthBuffer=n
|
||||||
@@ -22,8 +22,8 @@ AppTouchscreenKeyboardKeysAmount=0
|
|||||||
AppTouchscreenKeyboardKeysAmountAutoFire=0
|
AppTouchscreenKeyboardKeysAmountAutoFire=0
|
||||||
RedefinedKeysScreenKb="LCTRL M T H E C SPACE C S L"
|
RedefinedKeysScreenKb="LCTRL M T H E C SPACE C S L"
|
||||||
MultiABI=n
|
MultiABI=n
|
||||||
AppVersionCode=224812
|
AppVersionCode=225012
|
||||||
AppVersionName="2248.12"
|
AppVersionName="2250.12"
|
||||||
CompiledLibraries="sdl_net sdl_mixer sdl_image sdl_ttf png intl"
|
CompiledLibraries="sdl_net sdl_mixer sdl_image sdl_ttf png intl"
|
||||||
CustomBuildScript=n
|
CustomBuildScript=n
|
||||||
AppCflags='-finline-functions -O2 -DWITH_ZLIB -DWITH_MIXER -DWITH_XML -DWITH_IMAGE -DWITH_TTF -DWITH_AI=simple'
|
AppCflags='-finline-functions -O2 -DWITH_ZLIB -DWITH_MIXER -DWITH_XML -DWITH_IMAGE -DWITH_TTF -DWITH_AI=simple'
|
||||||
|
|||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
ballfield
|
fheroes2
|
||||||
@@ -399,7 +399,6 @@ JAVA_EXPORT_NAME(DemoGLSurfaceView_nativeMouse) ( JNIEnv* env, jobject thiz, j
|
|||||||
y += diffY;
|
y += diffY;
|
||||||
relativeMovementX += diffX;
|
relativeMovementX += diffX;
|
||||||
relativeMovementY += diffY;
|
relativeMovementY += diffY;
|
||||||
__android_log_print(ANDROID_LOG_INFO, "libSDL", "x %d y %d relX %d relY %d diffX %d diffY %d", x, y, relativeMovementX, relativeMovementY, diffX, diffY);
|
|
||||||
|
|
||||||
diffX = x;
|
diffX = x;
|
||||||
diffY = y;
|
diffY = y;
|
||||||
@@ -418,9 +417,9 @@ JAVA_EXPORT_NAME(DemoGLSurfaceView_nativeMouse) ( JNIEnv* env, jobject thiz, j
|
|||||||
{
|
{
|
||||||
if( mouseInitialX >= 0 && mouseInitialY >= 0 && (
|
if( mouseInitialX >= 0 && mouseInitialY >= 0 && (
|
||||||
leftClickMethod == LEFT_CLICK_WITH_TAP || leftClickMethod == LEFT_CLICK_WITH_TAP_OR_TIMEOUT ) &&
|
leftClickMethod == LEFT_CLICK_WITH_TAP || leftClickMethod == LEFT_CLICK_WITH_TAP_OR_TIMEOUT ) &&
|
||||||
abs(mouseInitialX - x) < SDL_ANDROID_sFakeWindowHeight / 6 &&
|
abs(mouseInitialX - x) < SDL_ANDROID_sFakeWindowHeight / 8 &&
|
||||||
abs(mouseInitialY - y) < SDL_ANDROID_sFakeWindowHeight / 6 &&
|
abs(mouseInitialY - y) < SDL_ANDROID_sFakeWindowHeight / 8 &&
|
||||||
SDL_GetTicks() - mouseInitialTime < 300 )
|
SDL_GetTicks() - mouseInitialTime < 700 )
|
||||||
{
|
{
|
||||||
SDL_ANDROID_MainThreadPushMouseMotion(mouseInitialX, mouseInitialY);
|
SDL_ANDROID_MainThreadPushMouseMotion(mouseInitialX, mouseInitialY);
|
||||||
SDL_ANDROID_MainThreadPushMouseButton( SDL_PRESSED, SDL_BUTTON_LEFT );
|
SDL_ANDROID_MainThreadPushMouseButton( SDL_PRESSED, SDL_BUTTON_LEFT );
|
||||||
|
|||||||
6
todo.txt
6
todo.txt
@@ -11,16 +11,10 @@ Bugs to fix
|
|||||||
|
|
||||||
- Show/hide screen controls with longpress on Text Edit button.
|
- Show/hide screen controls with longpress on Text Edit button.
|
||||||
|
|
||||||
- Right click by longpress.
|
|
||||||
|
|
||||||
- Option for touch screen to act like laptop touchpad.
|
|
||||||
|
|
||||||
- With 4:3 screen aspect ratio the on-screen buttons are not shown on the inactive part of screen.
|
- With 4:3 screen aspect ratio the on-screen buttons are not shown on the inactive part of screen.
|
||||||
|
|
||||||
- Calling SDL_SetVideoMode() with SDL 1.3 several times makes it crash.
|
- Calling SDL_SetVideoMode() with SDL 1.3 several times makes it crash.
|
||||||
|
|
||||||
- Support for NDK r5b, when it's released.
|
|
||||||
|
|
||||||
- Support of libjnigraphics (it will disable on-screen keyboard)
|
- Support of libjnigraphics (it will disable on-screen keyboard)
|
||||||
|
|
||||||
And that's all, I won't be doing any more development or fix other bugs (see bugs.txt for details).
|
And that's all, I won't be doing any more development or fix other bugs (see bugs.txt for details).
|
||||||
|
|||||||
Reference in New Issue
Block a user