Commit Graph

1142 Commits

Author SHA1 Message Date
techdragon.nguyen@gmail.com
83daafb3bf Issue 537: The initializer for the options needs to be told how many different values are available. 2010-11-29 00:15:01 +00:00
techdragon.nguyen@gmail.com
8fd35ac513 Improved Vertical Scrolling 2010-11-28 23:54:36 +00:00
techdragon.nguyen@gmail.com
3205ebdc8b minor formatting issue 2010-11-28 22:14:20 +00:00
omegablast2002@yahoo.com
9932e81be1 whoops was double vectoring causing names to desync, sorry! this should fix it :) 2010-11-28 21:53:20 +00:00
omegablast2002@yahoo.com
29fc58388d Added 2 new cheats, "Optimize starting hand" and "Unlock all Ai decks"
added new mana display option "No Glitter" acciddently(?) lost "both" options somehow.
the new "no glitter mana display is basically "eye candy without particle effects" on PC created 2000 mana...no FPS drop...on PSP created an EXTREMELY large amount of mana before i noticed an FPS drop of any kind, this is dramatically better then 
what was in previous rev, create 20 mana and crash.

if someone could figure out how i manage to lose the "Both" option, please explain to me why it wasnt showing up, i spent 2 hours trying to get it back.

both "optimize starting hand" and "Unlock all Ai Decks" appear in options under the option to "enable cheats"

optimize gives you decent starting hands, and Unlock all Ai decks is basically just a bypass options for the unlock deck mode varible wololo added.

tweaked abilitygranting Eff in Ai lessons to be divided by the number of cards in hand, this will mean Ai will tend to focus on using mana to cast spells instead of using them to grant abilities, until theres only 1 or less cards in hand, at this point it will go all out. there is a splash of randomness in Ai so it will still often do whatever it freaking wants lol, you should notice a proformence increase from Ai in this aspect. no more giving unblockable to a creature in 2nd main.

please note, one of the recent previous revs broke cheat mode "unlock cards" in deck editor, i filed a bug report. its a probelm i was not able to fix myself so there is no fix included in this rev....i came across the bug while testing cheat mode stuff.
2010-11-28 20:55:04 +00:00
wagic.the.homebrew@gmail.com
36391e271f Erwan
- fix a bug where deck unlocks wouldn't be saved (and reset after quitting the game)
2010-11-28 05:14:47 +00:00
wagic.the.homebrew@gmail.com
1f83f21127 Erwan
- version string update / replaced "beg for donation" text in game end screen
2010-11-28 04:23:30 +00:00
wagic.the.homebrew@gmail.com
52fce24bf8 Erwan
- Added AI Decks unlock system. Please update your graphics folder, and crossing fingers that Ilya B. is still around as I don't have the correct fonts.
2010-11-28 04:15:58 +00:00
omegablast2002@yahoo.com
62e1dfa0d0 last adjustment for today, promise...Ai will now use tappers/untappers religously based on card ranking. 2010-11-27 20:47:34 +00:00
omegablast2002@yahoo.com
0dae942cd0 final adjustment, moved a couple things in the foreach and altered a condiation to suit unknown foreachs, generally its always a good idea to use these cards, since thier effects only get better and better. 2010-11-27 19:56:00 +00:00
omegablast2002@yahoo.com
7c7280a8de forcing eff of ability modifying to 0 if creature already has it. 2010-11-27 19:29:18 +00:00
omegablast2002@yahoo.com
01d46fd0d1 changed the target checking function of lifer in Ai training, sometimes it would return the creature as the target and Ai would refuse to use it. 2010-11-27 18:53:52 +00:00
omegablast2002@yahoo.com
6467ab5aa8 reduced abilitymodify eff slightly increased base eff, added abilitygranted to activated. 2010-11-27 18:28:38 +00:00
omegablast2002@yahoo.com
e23e3d0728 more Ai training: use ability modifiers on creatures that dont already have the ability and prefferedly during first mains, use life altering cards as often as possible, improved foreach a little more, use untappers on card that are tapped that belong to Ai and tappers on cards that are not tapped that belong to player 2010-11-27 18:05:35 +00:00
techdragon.nguyen@gmail.com
76dc9a2379 Issue 533: restoring "glowing" effect of stars in menu items. 2010-11-27 16:57:14 +00:00
omegablast2002@yahoo.com
3151dfd348 Better Ai: Foreach training, reduced Eff on "levelingup" based on cards in hand/maxxed in 2nd main, added a selectAbility() call after lands are played and after all cards were searched if none were found to play. after much playtesting i found that if given the chance to find an ability BEFORE playing cards, Ai does dramatically better during a match, the same goes if its given a chance to find one after it looked for stuff to play.
with this change please try playing a few matchs against vanguards chosen and wraith feast, my 2 most favorate decks to fight now. youre in for a treat :)

keep in mind that even tho ive taught Ai Foreach in a somewhat crude manner it still does not understand how much mana it can gain from a foreach manaproducer, and this does not make it suddenly use dark ritual correctly. however this change was dramatic enough that i wanted it in for 14.1

this is also still under massive play testing, however no issues were found so far with it as it is presented here.
2010-11-26 22:10:43 +00:00
techdragon.nguyen@gmail.com
5bb435d525 restoring rendering of stars 2010-11-26 11:22:05 +00:00
techdragon.nguyen@gmail.com
29805852c8 changed vertical scroller as per wololo's suggestion. Scroll speed is a function of the
dt value gathered from Update() instead of ticks.
2010-11-25 16:39:22 +00:00
techdragon.nguyen@gmail.com
22b743ccdf restoring scroller on main page to normal speed 2010-11-25 13:52:36 +00:00
techdragon.nguyen@gmail.com
77cfdf4571 implemented wrapping horizontal scrolling for deck selection screens 2010-11-25 11:32:18 +00:00
techdragon.nguyen@gmail.com
e4c8469490 implemented vertical scrolling.
created new class VerticalTextScroller to handle task display in deck selection screens
modified detailed popup placement on deck selection screen to compensate for lack of border
2010-11-24 16:12:18 +00:00
omegablast2002@yahoo.com
2aa47cd68b reverted the change i made, found specail cases where this cause bugs. 2010-11-24 14:40:06 +00:00
omegablast2002@yahoo.com
d1577ef35e corrected an issue where the player was being offered interupt 2 times for "combat damage" not closing the ticket until i can get some help verifying that it covers all cases where it might be true. 2010-11-24 13:46:27 +00:00
techdragon.nguyen@gmail.com
de60166440 disabled popup border until solution can be made to work on PSP in an acceptable manner. 2010-11-24 00:35:57 +00:00
Xawotihs
7e37e68755 more iOS port fix 2010-11-23 23:35:40 +00:00
techdragon.nguyen@gmail.com
ba027c9f8e addresses r2659
http://code.google.com/p/wagic/source/detail?r=2659
2010-11-23 22:26:16 +00:00
omegablast2002@yahoo.com
bce5b9e54b Ai training: some Foreach training, optimizted the equip training to have Ai better use equipment, it should no longer leave equipment sitting around, enticed Ai into paying upcost on cards YAY! no more summon now and lose it next turn! :) enjoy. 2010-11-23 16:52:46 +00:00
techdragon.nguyen@gmail.com
e39c94756b added border to extra details popup as per design at
http://wololo.net/forum/viewtopic.php?f=37&t=2380
and
http://wololo.net/forum/viewtopic.php?f=37&t=2382
2010-11-23 14:02:02 +00:00
techdragon.nguyen@gmail.com
064dad3085 reverted ability/color parser for AATokenCreator.
fixed color parsing error for Transformer classes
2010-11-22 09:51:36 +00:00
Xawotihs
fcd2f61c39 Fixed psp warning 2010-11-21 08:51:05 +00:00
wrenczes
e2659b63f1 Fixed a couple of sprintfs that wouldn't compile on Linux. 2010-11-21 04:11:23 +00:00
Xawotihs
2b6469e391 Mouse support in deck editor 2010-11-20 21:30:15 +00:00
techdragon.nguyen@gmail.com
f1a4f26c79 fixed unsigned vs signed int comparison for vector iteration. 2010-11-20 19:50:06 +00:00
techdragon.nguyen@gmail.com
7e55039b0a * added hashmap for all basic abilities.
* created three new utility functions that return a vector of matching abilities, colors and types
* migrated all activated ability impl into AllAbilities.cpp.  Perhaps we could break AllAbilities up into separate impl files for manageability?
    One for Activated abilities, another for triggers,etc
2010-11-20 19:41:26 +00:00
Xawotihs
048ecb3324 Mouse support in Shop 2010-11-20 17:46:53 +00:00
techdragon.nguyen@gmail.com
510b91935f modified phase error statement to be more descriptive. Added phase name to message. It was previously showing only the index number which is unhelpful. 2010-11-20 11:49:28 +00:00
techdragon.nguyen@gmail.com
36d25441e2 * fixed some boundary conditions for menu initialization
* changed # victories to be calculated value
* removed nbVictories accessor
2010-11-20 10:11:06 +00:00
Xawotihs
3725958fc3 Fix mouse support in menus and first screen 2010-11-20 00:33:37 +00:00
Xawotihs
58abfaa8e6 Fixed crash on Linux introduced with the iOS patch 2010-11-19 23:38:56 +00:00
Xawotihs
8339cdd3b3 iOS compilation fixes 2010-11-19 23:16:31 +00:00
techdragon.nguyen@gmail.com
6d855e6cda fixed unsigned int comparison issue. Replaced int with size_t 2010-11-19 23:03:16 +00:00
techdragon.nguyen@gmail.com
5f70d1cff1 * Renamed AManaRedux to AAlterCost since the latter is more representative of the effect
* moved more implementations from AllAbilities header file into the impl file.
2010-11-19 14:55:29 +00:00
techdragon.nguyen@gmail.com
e553d83098 added SAFE_DELETE 2010-11-19 11:33:00 +00:00
techdragon.nguyen@gmail.com
badbc1c040 more reformatting 2010-11-19 11:30:23 +00:00
techdragon.nguyen@gmail.com
6958411f4d Issue 525: fixed NPE for ABecomes
Reformatted AllAbilities.h
2010-11-19 11:11:22 +00:00
techdragon.nguyen@gmail.com
e0da1b2565 added override to enable details view for Player deck selection screen. 2010-11-19 06:48:51 +00:00
techdragon.nguyen@gmail.com
f684795810 refactored menu classes
fixed some layout issues with detailed info popup
changed requirements for detailed info popup button to be determined by the number of wins aginst AI deck instead of just the number of games.
2010-11-19 04:19:03 +00:00
techdragon.nguyen@gmail.com
4aaa93439a code clean up. removed unneeded methods for stats generation
synced stats info for mana curve on detailed display on deck selection screen so only up to
   Constants::STATS_MAX_MANA_COST+1 is used instead of the currently hard coded 15.
2010-11-19 03:18:48 +00:00
wrenczes
c3f99786fc Don't draw counter text when the draw mode is kHidden; removed two unused member functions. 2010-11-19 01:30:00 +00:00
techdragon.nguyen@gmail.com
2a8f8074e6 New descriptive text popup feature for deck selection
http://wololo.net/forum/viewtopic.php?f=13&t=2423
2010-11-18 15:48:48 +00:00