Commit Graph

57 Commits

Author SHA1 Message Date
rolzad73@gmail.com
a400cabfc7 - code foramtting only mostly of whitespace for readability of a few Android files 2013-06-01 16:02:10 +00:00
rolzad73@gmail.com
4f8d5b3300 globalized version number for Android project. 2013-05-13 02:18:27 +00:00
rolzad73@gmail.com
0908c76434 -Added Android release keystore (both passwords are 'password')
- updated ant.properties to reference new release keystore
2013-05-12 19:47:12 +00:00
wagic.the.homebrew@gmail.com
0c8f1e1573 Increase version number to 0.19.0. I did it manually, not sure how to run the build scripts :/ 2013-05-06 05:10:19 +00:00
rolzad73@gmail.com
6d4e677711 * Stopped Android version from completely destroying/recreating SDLActivity when the device is locked.
Fixes multiple identical issue entries in tracker:
issue 696 (was marked fixed then restarted)
issue 876, issue 886, issue 894
2012-08-19 16:19:56 +00:00
techdragon.nguyen@gmail.com
e2a0fef600 * updated release version to 0.18.6
* updated build tools to have core files zip naming scheme be based on version information contained in build.number.properties
* added new python library to allow reading java property files, remember to add the library to your PYTHONPATH before executing the python script otherwise the script will fail.

`
2012-05-07 05:09:12 +00:00
techdragon.nguyen@gmail.com
9edfdef1c8 marking build to 0.18.5 for any bug fixes to 0.18.4 2012-04-20 07:55:13 +00:00
techdragon.nguyen@gmail.com
41e5dfe68a added new build scripts to handle changing of the build version. ant script will now generate Wagic_Version.h and update AndroidManifest.xml 2012-04-19 07:03:05 +00:00
techdragon.nguyen@gmail.com
e447a9c48d tied core file name to applicationCode value stored in AndroidManifest.xml 2012-04-18 14:45:05 +00:00
techdragon.nguyen@gmail.com
bd9dc97ee0 updated build number to 0.18.4 2012-04-17 11:25:50 +00:00
techdragon.nguyen@gmail.com
f80127dff3 modified Android build to allow between a DEBUG vs RELEASE build of the native code. When doing an ndk build run the following to do a release build 'DEBUG=RELEASE ndk-build' 2012-04-17 11:24:02 +00:00
techdragon.nguyen@gmail.com
7711badc39 changed logging statements to debug instead of verbose. This should reduce the number of messages coming to the screen 2012-04-17 04:16:15 +00:00
techdragon.nguyen@gmail.com
8090d98dd0 adding other required files for latest sdk ant builds 2012-04-15 14:24:18 +00:00
techdragon.nguyen@gmail.com
190b5b82c1 deprecating need for build.properties in favor of ant.properties 2012-04-15 14:22:28 +00:00
techdragon.nguyen@gmail.com
f75314394f updating version to 0.18.3 2012-04-15 14:13:08 +00:00
Xawotihs@gmail.com
817fb21171 Removed SDL binding on volume keys so that hardware volume keys can be used to configure the volume. 2012-04-14 18:10:33 +00:00
Xawotihs@gmail.com
ec50690a3b Removed exception on string index when strings have never been set. 2012-04-14 17:20:20 +00:00
techdragon.nguyen@gmail.com
473e8cd356 making target and min sdk equal 2012-04-13 01:07:26 +00:00
techdragon.nguyen@gmail.com
34ee0a82ac fixed issues 832 and 774 2012-04-12 11:07:31 +00:00
techdragon.nguyen@gmail.com
d4e4e3b251 fixed a logic error in determining the default location of user/system folders. 2012-04-12 02:28:18 +00:00
techdragon.nguyen@gmail.com
0db0cb15f9 added a default value for mount points 2012-04-11 22:31:19 +00:00
techdragon.nguyen@gmail.com
8f11b6ec45 updated core file to 0182 for Android build 2012-04-11 10:59:03 +00:00
techdragon.nguyen@gmail.com
b90b4ae50b updated core file download name 2012-04-11 10:10:01 +00:00
techdragon.nguyen@gmail.com
e8427452cd incremented build number to 0.18.2 2012-04-09 14:37:24 +00:00
wagic.the.homebrew
2ddf1d36da - bump android to 0.18.1
- Fix Android compilation issues:
-- Fix Android API level to 9 (was incorrectly set to 11)
-- remove incorrect "@override" flag
2012-03-20 12:18:07 +00:00
techdragon.nguyen@gmail.com
7482fa811c reverted default card path to /mnt/sdcard/Wagic 2012-03-01 03:41:51 +00:00
techdragon.nguyen@gmail.com
15b99acdfb fixed some character encoding warnings 2012-03-01 03:38:12 +00:00
techdragon.nguyen@gmail.com
6124280f24 added a prefernces screen to handle media card selection on Android devices. Contains actual fix for 4297.
Added a place marker to allow volume change during app.  Right now it's either loud or off.  There isn't a way to allow the volume to gradually go up and odwn based on the values set in settings.
2012-03-01 03:24:34 +00:00
techdragon.nguyen@gmail.com
cecf5f8060 fixed Android issues with new onscreen buttons.
fixed some stability issue with the deck viewer.
2012-02-21 12:53:11 +00:00
wagic.the.homebrew
f0ab139c1e Fix android compilation 2012-02-04 15:22:21 +00:00
wagic.the.homebrew
b0532b8059 - Bump version number to 0.18
- Fix issue introduced in 0.17 with Immortal task
2012-02-04 14:28:07 +00:00
techdragon.nguyen@gmail.com
9faf2ffc72 reverted changes to the Scroll/OnScroll method signatures. 2012-01-27 23:47:02 +00:00
wagic.the.homebrew
87a332e3f1 - temporarily remove undo feature
- bump up version number to 0.17.1 in PSP/Windows/android
2012-01-14 08:42:03 +00:00
Xawotihs
9161136797 Revert android build file, wasn't intended to be part of the previous commit 2012-01-09 23:44:29 +00:00
Xawotihs
b4c33cb3e1 Finally got issue 777
I was wrong, the recursion was not due to weird call order of WGuiList and WGuiMenu at all. It was due to two different problems:
1) there is some code in WGuiMenu to handle keys previously held. I guess it's to be able to go through the options very quickly on PSP.
2) Each PSP generated keys stays held if the corresponding code for release is not called...

=> Each time we generate some PSP keys press from gesture in the core or in a frontend, we absolutely need to generate the release code corresponding or the core might think that some keys are still held ... That's precisely what was not done by the code handling swipe in filters =).
2012-01-09 23:35:50 +00:00
wagic.the.homebrew
f93246c75c - Android version now downloads the googlecode file 2011-12-31 03:39:37 +00:00
wagic.the.homebrew
3ed822f33b - Automated download of resource files for Android
-- There's still lots of things to figure out: scalability of the server (can we host the files someplace else? Can we have several servers in case one of them fails?), versioning, possibility to download several mods, etc... but this is the basic functionality and should be enough for the first version.
-- The Java file should probably be split...it's close to 1000 lines now :/
2011-11-13 08:43:07 +00:00
wagic.the.homebrew
6825082d6d - Add a simple macro system for auto lines (the goal is to help mostly with repetitive card auto lines such as the ones we have in MotD mod) Check the MotD mod for examples.
-- I added an AbilityParser.cpp file, mid term goal is to move AbilityFactory there, so that MTGAbility.cpp becomes a bit less big.
-- I tried to add the file reference in Makefiles, but only tested windows compilation so far
- Fixed bugs related to "castRestriction" variables in MTGAbility. these variables were declared in both the parent and children classes, leading to bugs and duplicate code/content

The test suite passes
2011-10-15 16:19:29 +00:00
wagic.the.homebrew
101f2d9ece Adding Google Ads library 2011-10-15 02:06:29 +00:00
wagic.the.homebrew
2bfe76e124 - Android: landscape only ( issue 668 )
- Android:  changed application package name ( issue 730 ) - also changed the publisherID to avoid confusion with the alpha, which is 3tied3 to org.libsdl.app
2011-10-09 04:53:21 +00:00
wagic.the.homebrew
3decbe7f1d - Fix Android compilation issues
- Added a "cachesize" option (not available from the menu, but can be manually edited in players/options.txt, for example cachesize=200 means 200MB of cache). The hardcoded cache on windows/linux is 20MB, which is not enough for Hi Res cards (60 is better, 200 is great)
2011-10-02 09:05:39 +00:00
wagic.the.homebrew
fbfac78b09 - Split AIPlayer and AIPlayerBaka in 2 files. Moved all "AI" specific code into AIPlayerBaka, as much as possible.
-- This is a copy/paste and shouldn't have any impact on the logic. I just moved some functions from AIPlayer to AIPlayerBaka
- Added back the possibility to select a different Resource folder with file Res.txt
- Fix a crash when a token id does not exist
2011-09-20 03:06:06 +00:00
Xawotihs
9bdb8e7e66 Added my tablet as test device 2011-09-04 14:18:08 +00:00
Xawotihs
507552133d Android sound support using openSL ES. Now depends on SDK version 9. 2011-09-04 13:52:39 +00:00
wagic.the.homebrew
33691d1f13 - Added ads support for Android
- basic "message" system between JGE and java through jni 
- Fixed pause/resume on android/sdl
2011-09-04 02:45:18 +00:00
techdragon.nguyen@gmail.com
6c9558a58d updating project for iOS compatibility. 2011-08-25 00:51:18 +00:00
wagic.the.homebrew
e27cf56fa2 - Support for Zip Filesystem. It is now possible to zip the entire Res folder ("store" method preferred, zip so that the root of the zip has ai, player, etc...) in one single file for read only. Write access is done in another folder (hardcoded to be User/ for now, can be updated depending on platforms, etc...
-- zipFS has several limitations...
--- in a general way, seekg doesn't work... so getting a file's size needs to be done through JFileSystem.
--- getLine on files open with zipFS doesn't work so great. Not sure if it is a normal issue because files are open in binary or not... JFileSystem therefore offers a "readIntoString" function that needs to be used instead of the usual "getline" technique. However getLine can then be used on a stream connected to the string.

-- tested on Windows and PSP, I also made sure android still works, but haven't tested zip support on Android.
-- I tried to maintain backwards compatibility, but this might break on some platforms, if I broke some platforms and you can't find a way to fix them, please contact me and we'll figure something out
-- This removes wagic::ifstream. I didn't reimplement the securities that were involved in this, apologies for that. Might be useful to reimplement such securities in JFileSystem
-- I haven't tested options/profiles in a deep way, it is possible I broke that.
2011-08-21 09:04:59 +00:00
wagic.the.homebrew
52b83a135c - Added TutorialMessage ability
-- Tutorial Messages are an ability like any other, except it can only be displayed once. Subsequent calls are ignored, the ability is removed from the game as soon as it is added
-- This allows to add event triggered messages ingame. Messages are either text, or images (I don't have an image sample, but rules/classic.txt has a few examples that might help)
-- only tested on Windows, although I made sure the PSP version compiles. Hopefully I also made the necessary for it to work in the touch version (touching the screen should be enough to close the tuto message)
-- Room for improvement: possibility to choose a title in text mode, possibility to have some messages depending on others (e.g.: don't show message X until message Y has been shown), improve some of the abilities and triggers to give more flexibility, add events outside of game, to allow tuto messages in deck creator, etc...
2011-07-03 08:47:51 +00:00
wrenczes@gmail.com
9e6154076b Added the concept of a 'flick' gesture. This uses the VelocityTracker object in Android and passes the velocity info down as an SDL joystick trackball event. We can then reinterpret this event in whatever way we like, such as up/down swipes in the deck editor (that was my initial thought, at any rate).
TBD:  right now every up finger generates this event.  We probably want to throttle it to only be an event if the velocity exceeds some arbitrary threshold;  similarly, if we generate a flick event, we probably don't want to simultaneously generate a finger up action (ie JGE_BTN_OK).
2011-06-11 10:30:38 +00:00
wrenczes@gmail.com
b2eaa3cb8d Multiple finger events now translate correctly into an SDL_MULTIGESTURE. I still haven't mapped this into anything meaningful, but all least the wiring is now present. 2011-06-11 09:03:21 +00:00