Commit Graph

4087 Commits

Author SHA1 Message Date
techdragon.nguyen@gmail.com
9733444320 adding missing binary for google admob SDK 2011-12-15 17:21:56 +00:00
techdragon.nguyen@gmail.com
cab7a2a09f updated provisioning profile definitions 2011-12-15 11:30:47 +00:00
techdragon.nguyen@gmail.com
a6b2a43188 fixed compile error. sorry, missed this one on last check in 2011-12-15 11:26:26 +00:00
techdragon.nguyen@gmail.com
9c10f47daa adding adNetwork SDKs for AdWhirl and AdMob 2011-12-15 11:18:37 +00:00
techdragon.nguyen@gmail.com
dc7d52c48c added new signature for SendCommand in JGE that takes in a command string and a parameter
added native keyboard handling in iOS
TODO: add same feature for Android tablets/phones
2011-12-15 11:11:08 +00:00
punkeduard@gmail.com
f9016f70ab Fixed some primitives
Updated unsupported.txt
Added the following undergraded cards:

Brutal Nightstalker
Dauthi Mindripper
Disciple of Griselbrand
Disciple of Griselbrand
Dying Wail
Ghost-Lit Stalker
Ghastly Discovery
Haunted Cadaver
Helm of the Ghastlord
Mindstab Thrull
Needle Specter
Sadistic Hypnotist
Shrieking Grotesque
Shrine of Limitless Power
Silent Specter
Soldier of Fortune
Splitting Headache
Trapfinder's Trick
2011-12-14 19:54:16 +00:00
techdragon.nguyen@gmail.com
8550b70e2e fixed issue with crashes on devices that only support openGL 1.1 2011-12-13 22:28:16 +00:00
omegablast2002@yahoo.com
8b7ae968a5 fixed Varchild's Crusader 2011-12-13 20:52:40 +00:00
wagic.the.homebrew
2e3331a0c0 - Speed improvements to the filesystem (partial fix for issue 767)
- minor speed improvement in the shop (removed a locked texture loading that wasn't necessary)
2011-12-13 15:14:47 +00:00
wagic.the.homebrew
54a2f949b7 - Fix case sensitivity issue for some card sounds
- added null checks for "shadow" textures
2011-12-12 13:10:33 +00:00
techdragon.nguyen@gmail.com
db664e2836 added some error handling for downloading core files. app will display a message if an error has occurred while downloading and then retry the download after user dismisses the alert.
TODO;  replace string literals with constants or static NSString objects.
2011-12-12 12:24:12 +00:00
punkeduard@gmail.com
59b1c8167e Fixed some primitives, changed Baru fist of kosa in _cards.dat
Updated the unsupported.txt file to reflect the 2 card afari added some days ago

Added some undergraded cards (crappy as not chosen discard)

Augur of Skulls
Bog Down
Brain Weevil
Cao Cao, Lord of Wei
Compulsive Research
Consult the Necrosages 
Cunning Advisor
Elder Mastery
Esper Charm
Funeral Charm
Mournwhelk
Piracy Charm
Tendrils of Despair
Three Tragedies
Unburden
Unnerve
Voices from the Void
Waking Nightmare
Wit's End
2011-12-12 04:21:22 +00:00
wagic.the.homebrew
c9fd53808f - fix compilation issue on psp
- attempt at reducing loading times on the PSP: I merged a few graphics files together, removed some unused calls from the initialization functions, and moved some other ones to have a more lazy approach. The PSP version remains fairly slow in some parts (especially loading, but also entering the shop, or starting a new game), so I will try to reduce file access as much as possible in the days to come. Not a release blocker IMO though, but I4d sure love if it were faster.
- uppercased "Track1.mp3" to be in line with the actual filename. Most likely this had been broken forever on case-sensitive OSes
- I removed costly calls from the textscroller. I believe it wasn't very useful in its previous state. Now it's only "advertising" for unlockable stuff, which I think is ok (and allows to refresh it every time the menu is loaded)
- As a counterpart, added a "% complete" progress bar in the menu, something I wanted to add a while ago.
2011-12-11 13:48:24 +00:00
techdragon.nguyen@gmail.com
f8f5c24304 reverted accidental change to modrules.xml
added missing appdelegate chagnes for previous changes.(iOS only)
removed system copy of bundled Res folder with app deployment (iOS only)
2011-12-11 10:04:55 +00:00
techdragon.nguyen@gmail.com
e58f96afad fixed iPad splash screen issues. fixed memory leak 2011-12-11 09:12:44 +00:00
techdragon.nguyen@gmail.com
128c60bc2b added download feature for iOS port
required libs: 
    * ZipArchive - Obj-C impl of zip
    * asi-http-request : http request help to assist with asynchoronous downloading of files
    * minizip : support for ZipArchive
    * 
Added default splash screen for iOS app.  (using the Wagic background to keep it neutral to module)

TODO: refine handling for iPad splash screen
    * add selection screen and input screen for location of downloadable content. (ie core files, image files, etc )
    * add support to opt out of backing up to iCloud for core files. Right now iOS will automatically backup all files under Documents folder to iCloud.  Consider only allowing player data to be backed up to iCloud.  All graphics and other assets are considered volatile.
2011-12-11 07:40:22 +00:00
punkeduard@gmail.com
071dca6b0a Added Premium Deck Series: Graveborn _cards.dat in sets 2011-12-11 03:59:45 +00:00
omegablast2002@yahoo.com
a3e101eb9c fix for issue 769, random modes including momir do not have meta data. 2011-12-10 12:56:36 +00:00
punkeduard@gmail.com
83ac157ebd Fixed some primitives related to the latest cards added
thirst for knowledge, baru, trollhide
2011-12-10 02:12:28 +00:00
wagic.the.homebrew
2030d34643 Fix for issue 766 ("cancel" on opponent deck selection goes to the deckeditor) 2011-12-10 01:05:59 +00:00
techdragon.nguyen@gmail.com
fe78345ef7 first draft of ad code for iOS. Not adding admob/adwhirl/adSesnse libs to this commit. You will need to download them to get the port to build under XCode 2011-12-08 20:50:36 +00:00
wagic.the.homebrew
69a0323c86 - Added cache for the count of AI decks, to reduce file access especially on victory screen. This fixes some massive lags on the PSP when winning a game
- bumped version number to 0.17
- removed some dead code in utils.h
2011-12-07 14:34:59 +00:00
solo81@web.de
17e506147e Added the result of the 2nd Grand Card Safari:
After months of research, card coding and testing, i proudly present you this high-end card package.

It contains 163 new cards! I never thought to find such a massive amount of codable cards on the current card-availability level Wagic has reached now.

Some cards look like they were coded in a much too complicated way, but believe me: There is no other way to make them work.

Talking about the card code, I have to thank Zethfox alot for coding the 'transforms((,newability...))" complex, which was very very useful. THANK YOU!

Added several tests to safe the code of the cards for future changes.

I think this is the last time i will be able to add such a huge number of new cards outside of the upcoming of a new set, we have reached the outer limits of what is doable with the current code. Let's hope there will be some new some time in the future, though i have my doubts there will be anything new in that section of Wagic for a long time.

Below, you will find the card list. Some really exciting cards are hitting the Wagic scene!

I need a break...
2011-12-07 00:12:25 +00:00
punkeduard@gmail.com
bf2f7f38f6 Fixed primitives:
life's finale, 
hedron crab,
Army of the Damned

made lotus cobra more user friendly reducing message boxes
2011-12-05 07:19:58 +00:00
wagic.the.homebrew
409d249051 Spanish translation update (including cards) by yomismo 2011-12-04 07:32:02 +00:00
wagic.the.homebrew
70b1879093 - [PSP] Fix for issue 768 : PSP cannot read zipped images from zipped files. This was a lowercase/uppercase issue
- [PSP] added last log message in exception log
2011-12-04 07:14:16 +00:00
punkeduard@gmail.com
524c7486f5 Fixed some cards
Pith Driller
Ruthless Invasion

Added some crappy ones

Ebony dragon
Abyssal Horror
2011-12-04 06:59:26 +00:00
omegablast2002@yahoo.com
c5d0883136 fix @discarded. 2011-12-01 12:11:48 +00:00
Xawotihs
3514476812 - Created a GamePhase type to ease debug.
- Modified the testsuite and gameobserver to be able to replay all the testcases based on the actions logged during the first pass. This allows to test the action logging and replay used during undo. It's only activated in multithreaded mode and it does not work on Momir tests.
-  Modified choice logging and replay to use menuId instead of ability index, as, for some obscur reasons related to Lord, those ability indexes may change.
- Fixed bug in nextphase logging wrongly generating click actions
- Added a "stack" zone to the click ability logging to be able to replay properly interrupt
- Fixed a wonderful bug mixing card names with zone names in the actions execution engine
- Added a "combatok" action logging/execution
- Added a "clone" virtual method to MTGCardInstance and Token to be able to clone correctly the right object type. Used that in MTGGameZones::removeCard
2011-11-29 21:50:16 +00:00
omegablast2002@yahoo.com
104d134c1f wolfbriar elemental added green to the token... 2011-11-29 11:00:05 +00:00
solo81@web.de
e880acda06 Corrected Bloodgift Demon. 2011-11-28 18:52:28 +00:00
omegablast2002@yahoo.com
d01a5531d9 fix for shop crash. in the shop there is no "game" so cards in booster packs are never assigned a observer as no observer is ever created at this point. 2011-11-27 14:25:24 +00:00
wagic.the.homebrew
4c56842cf5 - Fix PSP (and other non-debug) compilation. Yann please review.
- Fix memleak I introduced recently in modrules.cpp
2011-11-27 07:53:37 +00:00
Xawotihs
29132073de - Modified DeckManager class to not use a global instance anymore when used within the game engine
- Modified DuelLayers to not use a global MTGPhaseGame instance anymore
- Moved the reset of currentActionCard out of the ActionLayer render function : that fixes the remaing problematic tests in the multithreaded testsuite
- Added a method in ActionLayer converting a card ability into a menu index
- Used this new method in the game observer to log correctly AI ability actions
- Added a DumpAssert method in the game observer, it can be used to dump the game and assert in order to easy crash reproduction
- Cleaned up TargetList properties access
- Added an optimisation in GuiMana to not compute update code if the rendering is not used (multi-threaded mode)
- Added a deadlock detection in the test AI vs AI multithreaded mode
- Fixed minor bugs in test AI vs AI multithreaded mode
- Added a games/second counter in the test AI vs AI rendering
2011-11-23 19:11:48 +00:00
wagic.the.homebrew
dca6d3ad38 - Fix for issue 762 (render tinyCrops broken) 2011-11-20 13:09:52 +00:00
punkeduard@gmail.com
5d443b9b68 Fixed some primitives
firebolt
Primal Clay
stitchers Aprentice
Typhoid Rats
Vow of Wildness
2011-11-20 02:04:00 +00:00
Xawotihs
fbb92304dd Removed compilation warnings 2011-11-19 15:21:42 +00:00
wagic.the.homebrew
851e1f20f1 - some dangerous casts Player/MTGCardInstance fixed
- removed typeAsTarget function and replaced with dynamic casting
- The test suite passes, but it is possible that I busted some of AI's features :(
2011-11-19 14:07:57 +00:00
solo81@web.de
e9139bedab Readded the new code for Resounding Roar and Resounding Thunder.
Their code was just fine and 100% accurate in concerns with the official rules.

The tests 'cycling2' and 'resounding_roar' occured because of a missing 'choice 0'. Now, the test suite passes.
2011-11-17 18:56:24 +00:00
wagic.the.homebrew
0061e6af01 Revert r4062, which broke the test suite 2011-11-17 13:11:24 +00:00
Xawotihs
bdb55945df Fixed crash happening when loading resources from a .zip in a 64bits system 2011-11-16 22:44:51 +00:00
Xawotihs
8a1606a3c6 Compilation fixes for Android+boost 2011-11-16 20:49:26 +00:00
Xawotihs
ee700623d5 Fixed issue 752. 2011-11-15 22:20:58 +00:00
Xawotihs
ae3d97dbeb Include missing JGE files from my last commit 2011-11-14 18:43:51 +00:00
Xawotihs
f68c106e7e - Modified gameObserver and related classes to be able to work with a precise JGE instance given at construction and not the static global one. That allows to run gameObserver without JGE instance (for example in a worker thread).
- Added an "ACTION_LOGGING_TESTING" mode in the gameObserver. When this is defined, the game reloads itself in every update. I want to use that to track undo problems. Be aware that it kills performances and crashes with the testsuite if you want to activate it.
- Various cleanup/refactor of the game observer.
- Added a gameObserver == operator to compare two games
- Added player mode to the player serialization
- Added a multi-threaded mode to AI_CHANGE_TESTING. For the moment it's only useable with Qt. If you want to use it without, just defined a thread_count higher than 1.
- Refactored random generator class to use list intead of queue
- Defined a specific type for interrupt decision instead of int
2011-11-13 22:36:34 +00:00
omegablast2002@yahoo.com
2240c14f56 only draw red and blue boarders on cards parent/child relationships if the connect rule is active, there is no way it would works correctly otherwise since connect rule is what handles the clean up and adding of cards to these vectors. 2011-11-13 20:05:25 +00:00
solo81@web.de
a821b2752d Fixed issue757. 2011-11-13 19:34:38 +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
fe83b6b4e8 - moved test for i718
- Added macros for Basic landcycling and cycling
2011-11-12 12:48:00 +00:00
wagic.the.homebrew
d654b050df - fix for issue 756 (cycling not working for first 7 drawn cards)
- minor cleanup of MTGGameZones.cpp
2011-11-12 10:14:27 +00:00