techdragon.nguyen@gmail.com
0b6756164a
fixed bug in booster display where swiping right or pressing JGE_BTN_PRI (Square) would bring up a new set of cards to buy from.
2012-02-28 14:17:19 +00:00
techdragon.nguyen@gmail.com
42cdd27e0b
fixed music bug for Momir and Random game types. The functions that determined if a file existed did not handle errors properly. Instead it would return an empty string which when appended to the base path would always return true. Thus a non-existent file would always be treated as if it existed. The guards I put in test for empty strings before continuing evaluation. I may have been a little judicious in the places where I put the gaurds in. We can remove the guards if it turns out we don't need them in all the places.
2012-02-23 02:11:14 +00:00
techdragon.nguyen@gmail.com
c55632a19b
allowed for overwriting of existing zip files. The existing file needs to be removed before copying new file to existing location. Otherwise an exception is flagged and nothing is done.
2012-02-22 08:37:43 +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
techdragon.nguyen@gmail.com
2e65fe02fe
fixed some memory leaks found in the analyzer
2012-02-16 06:49:31 +00:00
techdragon.nguyen@gmail.com
d343b8e159
added some debug statements for JSfx.cpp
...
minor correction to handling download delegate removal
changed constant literals to use constant labels. Not sure why this was changed in the first place as it didn't need to be.
2012-02-05 23:32:55 +00:00
techdragon.nguyen@gmail.com
dc16ba2adb
i think this should fix the psp builds. Thanks to Zeth for the help on this one.
2012-02-05 17:31:04 +00:00
techdragon.nguyen@gmail.com
37566d148d
followup fixes to psp version JSFx.cpp .
...
Added psp JSfx.cpp to iOS project.
2012-02-05 12:30:53 +00:00
techdragon.nguyen@gmail.com
5c3baedf83
moved Wagic Version macros into a new header file so that iOS can use it.
...
updated iOS port to use wagic versioning macros.
2012-02-05 11:16:43 +00:00
techdragon.nguyen@gmail.com
5c293e2fbb
added new method to JSoundSystem to pause music. Previously, "pause" meant kill the music and "resume" effectively restarted the music. iOS will now pause and resume appropriately
...
modified pc and android impls to ensure new calls are made. These still have the same effective outcome (kill and start) until the equivalent is coded on these platforms to pause and resume the music.
fixed bug with iOS sound effects not playing. Forgot to assign the key to the associated music sample
2012-02-05 08:21:06 +00:00
techdragon.nguyen@gmail.com
78c08af9f5
first run through for sound on iOS platforms. Currently works only for simulator unless the music files are extracted from the zip file onto the filesystem.
2012-02-03 11:23:27 +00:00
techdragon.nguyen@gmail.com
8241295712
this seems to resolve the trophy room loop on touch/click interfaces when you exit the deck editor and other parts of the game
2012-01-31 14:07:23 +00:00
Xawotihs@gmail.com
4762ffea87
- Fixed compilation warning in GameStateShop.cpp
...
- Added a call to input reset after each update in the Qt frontends to avoid strange auto-keypress
- Removed tutorial display in AI vs AI (test AI mode)
- Commit Qt project with latest buttons files
- Added a small isHuman method to the Player class
2012-01-30 21:16:33 +00:00
techdragon.nguyen@gmail.com
c42ba32ae7
added new buttons for shop for New Cards and displaying the card list.
2012-01-30 18:02:26 +00:00
techdragon.nguyen@gmail.com
fb43b9012b
sync swipe motion in deck viewer act accordingly to a swipe/pan on corresponding platform (iOS vs everything else)
2012-01-30 10:23:40 +00:00
Xawotihs@gmail.com
28be95b401
Updated Qt frontend to latest Scroll interface
2012-01-29 22:34:55 +00:00
techdragon.nguyen@gmail.com
efd72b8fd2
udpate to scroll signature from previous commit.
2012-01-28 02:46:13 +00:00
techdragon.nguyen@gmail.com
9faf2ffc72
reverted changes to the Scroll/OnScroll method signatures.
2012-01-27 23:47:02 +00:00
Xawotihs@gmail.com
b9a52ab447
Fixed compilation of the Qt frontend with latest scroll changes
...
fixed Qt project compilation with Mingw on Windows
2012-01-26 23:17:40 +00:00
techdragon.nguyen@gmail.com
a438c9135e
vs 2010 update for deck editor changes as well as SDL update
2012-01-26 14:54:17 +00:00
techdragon.nguyen@gmail.com
a2179017d4
Extended Scroll() and OnScroll() to also take in magnitude as one of its parameters. magnitude is currently used in the deck editor to figure out how many cards to rotate around per swipe as function of velocity and the number of cards displayed on the screen.
...
fixed a compiler warning in SimplePopup in the constructor declaration
===DECK Editor changes ===
Added two touch buttons , one for "Sell Card", the other to switch between Deck and Collection.
changed swipe Left/Right to rotate card collection; removing the previous action which was to swap between deck/collection viewing
Note: GameStateDeckViewer isn't a JGuiController so can't leverage off the mButtons vector. Thus, the buttons have to be handled by this class separately. (setButtonState, userPressedButton)
2012-01-26 13:53:03 +00:00
techdragon.nguyen@gmail.com
dda048c616
forgot to check in the JGE changes from previous commit
2012-01-25 22:31:58 +00:00
Xawotihs@gmail.com
186e0aec6b
Fixed offline mode handling in file downloader with the QWidget based interface
2012-01-24 22:57:07 +00:00
Xawotihs@gmail.com
4faaf371af
Compilation fix for Meego
2012-01-22 22:58:05 +00:00
Xawotihs@gmail.com
14962385b6
Maemo application cleanup and final merge
2012-01-22 10:39:16 +00:00
Xawotihs@gmail.com
595f0b5690
Fixed issue 786. It was a complex one. Basically, the comparison function used to sort the filename map was buggy and was not returning always the same result depending if the compared elements contained uppercases or not. I just removed the uppercase part and it now works fine.
2012-01-20 22:10:32 +00:00
techdragon.nguyen@gmail.com
8dd5fe535e
modified resource packager to create the modrules.xml file for iOS port
...
updated app delegate to download both the core and core_ios file. Still have the version number hard coded into the app.
2012-01-19 03:38:07 +00:00
Xawotihs
12a431ff8c
- Merged QWidget and QML Qt frontends, just define QT_WIDGET to select the QWidget one
...
- Coded a resource package download GUI based on QWidget
- Removed compilation warning on unused variable
- Updated Maemo desktop file to start directly the binary
- Updated .pro file
- Updated version macros to be able to compose the resource package file
- Updated QML interface for Android
- Updated QML interface to not contain the name of the resource package
- Updated the file downloader class to be able to get the resource package hash from the google code server
- Updated the file downloaded class to verify the resource package hash from the remote server at each startup to be able to perform automatic update
- Defined several JGE operation as static to clean up the wagic wrapper
2012-01-15 18:50:38 +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
d50039bb1a
Added wheel mouse support to the QML app.
2012-01-10 22:18:50 +00:00
techdragon.nguyen@gmail.com
adc3e4b689
final change for 0.17 to sync up with other platforms. focused targeted touch of ui objects to deck menus.
2012-01-10 19:53:10 +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
techdragon.nguyen@gmail.com
5ff2ac3123
removed the automatic 'OK' action after a pan and move event. I misunderstood what the Android port was doing
2012-01-08 13:49:40 +00:00
Xawotihs
26738af904
- implemented the swipe and touch logic in QML
...
- Added a SHA1 hash verification of the downloaded resource file
- Fixed the activation/deactivation of the QML UI to avoid burning the battery
2012-01-07 20:41:43 +00:00
techdragon.nguyen@gmail.com
436f95dfec
fixed some click issues found with iOS port.
2012-01-07 16:35:39 +00:00
Xawotihs
d9625ed034
- Moved the resource URL inside the QML app
...
- Updated local path for all the platforms
- Fixed local path creation problem on Linux
2012-01-06 23:54:57 +00:00
Xawotihs
1f3aedcd3f
- Reworked Qt frontend to be fully based on QML (Qtmain.cpp still contains most of the old code as I need to perform additional tests on Maemo/Meego and Linux)
...
- Modified the download of resources to happen on every platform
- Resources are now stored based on the home directory
2012-01-06 21:45:08 +00:00
techdragon.nguyen@gmail.com
6d5342c02b
fixed a memory leaks in app delegate
...
* adjusted the touch sensitivity of the iOS port for deck menu selection. Decks were being selected even though the selection was touched. It was highlighted but as soon as you let go it would instantly select (OK button) select the selected deck. This isn't a problem on Android as the SDL already handles this as far as I can tell. I limited this to only iOS so I don't accidentally mess up the other ports.
2012-01-06 19:13:43 +00:00
techdragon.nguyen@gmail.com
29009902b0
finishing up some file system handling functions for iOS. This should make updates and file management easier for iOS users.
2012-01-05 09:29:53 +00:00
techdragon.nguyen@gmail.com
f09ce07b06
modified to create a Manifest file before game loads. This is for iOS only as the file handling will be difficult, I am doing this as a way to identify what is already loaded onto the device.
2012-01-05 01:11:49 +00:00
techdragon.nguyen@gmail.com
b03449cbf6
Implemented directional controls on Filters so that you can now navigate the Filters menu on Touch interfaces for the Deck Editor and Shop screens. It's not the best implementation but it at least works across all platforms. swipe will now move the highlighted cursor to the correct direction.
...
in release builds, test suite will now be disabled
2012-01-03 17:53:51 +00:00
techdragon.nguyen@gmail.com
51d1873872
removed nonstandard handling to use JGE::Scroll method. This removes the filter screen support that was added as part of the previous check in.
2012-01-03 14:29:46 +00:00
techdragon.nguyen@gmail.com
6adffc12f0
Issue 565: This fixes the issue with the MENU not popping up ingame. The bug was caused when user canceled out of a deck selection screen to either go back to the Player Deck Selection or Main Menu. The buffer was not cleared properly. added call to reset buffer in GameStateDuel to follow pattern used in GameStateDeckViewer.
2012-01-03 14:05:43 +00:00
techdragon.nguyen@gmail.com
4674f34246
attempt to add swipe up/down/left/right for movement in deck editor and other screens. still causes some bugs on shop and filter screens.
2012-01-03 12:51:09 +00:00
techdragon.nguyen@gmail.com
8f5ebc8109
Modified system path defaults to utilize the User vs Res architecture. After reading some comments of the forum I realized I had implemented this all according to 0.16's design and not the new split architecture. All 'core_' zip files are now placed under 'Res' as before, but any other zip file will be put under the 'User' directory
2012-01-02 05:32:22 +00:00
techdragon.nguyen@gmail.com
c515837172
On iOS the user only has access to the Documents directory via iTunes. Our folder structure is setup as such to read from the Res directory. This change allows users to drop in zip files into the Documents folder and the game will automatically move the zip file into the Res folder on app startup. Note, this is only done on app startup. If the game is running in the background, the user will need to quit the app ( kill it via the multithreaded task bar) and restart it.
...
Jailbroken devices have full access to the filesystem and don't have this restriction. although I do recommend that they do drop zip files into the Documents directory to reduce the risk of causing any undefined behavior with updating the config files while the game runs.
2011-12-31 15:02:37 +00:00
techdragon.nguyen@gmail.com
dfa007cecb
implemented platform independant clickable OK button on gui combat window when selecting blocker order. removed iOS specific coding.
2011-12-31 08:21:00 +00:00
techdragon.nguyen@gmail.com
e102d3f369
enabled OK button on GuiCombat screen when choosing defenders/attackers. iOS solution only currently. To implement in Android, we need to create a mask/invisible button above the OK button coordinates and add a listener to activate when a user touches the appropriate area. Not ideal, but it works for now.
...
TODO: translate functionality into core of engine.
2011-12-30 16:04:21 +00:00
Xawotihs
e17b75cf34
Updated Qt frontend to download resource package directly from google code and cleaned up the transition between the QML and Wagic interfaces
2011-12-29 23:42:20 +00:00
wagic.the.homebrew
506952e2da
- made Filedescriptors pool a compile-time option. This should fix some issues found in previous revision
2011-12-29 13:15:44 +00:00