34f63056dd
updated level up creatures to include a hint to ai when it should stop investing.
omegablast2002@yahoo.com
2010-10-23 22:34:51 +00:00
a9e4c58af2
taught Ai how to use levelup creatures, taught Ai how to use Equip, taught Ai how to use prevent the cleric ability.
omegablast2002@yahoo.com
2010-10-23 22:34:07 +00:00
d5ca6b0207
added a few subtypes to exclude from changeling, noticed subtypes that are not true MTG subtypes. in the future can we please try to refrain from making up fake subtypes, for exsample "level" and "levelup" are NOT MTG subtypes
omegablast2002@yahoo.com
2010-10-22 21:23:47 +00:00
165d9df5c9
added a string support to transforms(...cards can now transforms(allsubtypes) or transforms(removesubtypes)
omegablast2002@yahoo.com
2010-10-22 20:29:55 +00:00
04efd4f78f
Added 37 cards based on rev2444 and rev2479. (Card list -> First comment)
solo81@web.de
2010-10-22 19:37:43 +00:00
f3449592de
Fixed a bug where "Maxglee" cheat was adding token workaround cards to the collection. also, removed subtype search "nothing" from the Wfilters...before anyone jumps on me, there are over 18000s MTG cards, NOT a single ones of those cards have subtype="nothing" or any variations of "nothing"
omegablast2002@yahoo.com
2010-10-22 14:53:39 +00:00
34bdfab36f
fixed bug with saving brand new AI decks.
techdragon.nguyen@gmail.com
2010-10-22 09:22:25 +00:00
e2de03d987
Some organisational prep work before I start working on a new navigation method (ie replacement for CardSelector). The current design was to allocate a CardSelector and pass in its pointer to a variety of classes via their constructors. To simplify things, now we use a singleton style pattern with an Instance() function - this means that when I implement a new class to replace CardSelector, I only need to modify what's returned by the singleton callback - as long as the new pointer class supports the same function calls, it'll be a straight drop-in.
wrenczes@gmail.com
2010-10-22 08:41:44 +00:00
84004c7c7f
added separator to debug output when running test suite. This will visually help with identifying when a test ends and another begins.
techdragon.nguyen@gmail.com
2010-10-22 08:29:47 +00:00
34335ba2aa
added option to save deck in editor as an AI deck. No option to delete or edit the AI deck once it has been created. The deck gets saved as the canonical form of the deck to match other AI deck formats.
techdragon.nguyen@gmail.com
2010-10-22 08:28:52 +00:00
f678e52d2f
updated this(equip) to this(gear) in cards that use it.
omegablast2002@yahoo.com
2010-10-21 20:50:08 +00:00
5e34cce734
changed This(equip) to ThisAttacked(gear) and changed varible name also, there was a discovered conflict using these as equip, with the MTGAbility equip
omegablast2002@yahoo.com
2010-10-21 20:48:39 +00:00
ab0de05033
Fixed several cards reported in the bug section.
solo81@web.de
2010-10-21 20:21:44 +00:00
34580856d3
untaught Ai how to use prevent until someone with more knowledge then i can look at why the enum list wont allow for it to be listed. its commented out for now, and it works on PC just fine, not perfect but atleast Ai actually trys to keep all their creatures with atleast 1-3 prevent point on them during combat. the probelm it has is with compiling to PSPSDK, it doesnt like having STANDARD_PREVENT = 13, If someone could look into why it would dramatically help Ai using clerics.
omegablast2002@yahoo.com
2010-10-21 18:44:01 +00:00
42dca6dd88
fixed a line that PSPsdk didnt like.
omegablast2002@yahoo.com
2010-10-21 16:17:27 +00:00
18ff503bd9
fixed Ai not using regenerate during combat, taught Ai a little about prevent:number, changed "removepoison" mtgability to "alterpoison" as it made more sense.
omegablast2002@yahoo.com
2010-10-21 15:52:04 +00:00
f209dd7b89
changed removepoison to alterpoison as it made more sense.
omegablast2002@yahoo.com
2010-10-21 15:50:00 +00:00
aba714f89d
fixed a couple errors with new cards. Gempalm Incinerator inner-flame acolyte dwarven berserker lord of shatterskull pass goblin piledriver
omegablast2002@yahoo.com
2010-10-21 09:22:47 +00:00
87d501f0ab
removed tangle asp and gauntlet of might from boarderline since its not fully supported.
omegablast2002@yahoo.com
2010-10-20 20:11:47 +00:00
306fd5e4f7
changed twist to "swap" cause it made more sense, added a couple more menutext returns, change enumerator exilebury to match its const char, this was causing massive confusion amongst the crowd.
omegablast2002@yahoo.com
2010-10-20 19:30:17 +00:00
e8a44cc375
- Added 242 successfully tested cards based on rev2444 (Card list --> First comment).
solo81@web.de
2010-10-20 19:13:17 +00:00
7d8eb055e6
Last set of OutputDebugString() -> DebugTrace() conversions.
wrenczes@gmail.com
2010-10-20 04:35:20 +00:00
a5cb21fb3f
Added dbus support
Xawotihs
2010-10-19 22:11:27 +00:00
44e097e88c
reduced framerate to 30 fps, stopped refreshing the UI when the window is hidden or when the screen is off.
Xawotihs
2010-10-19 22:09:16 +00:00
c9e5aaa2c5
added getMenuText() functions to lord, aslongas, foreach, and thisforeach, to return correct names for the ability in cases where theyre being used in instants, activated abilities with "&&", "choice" and "may"
omegablast2002@yahoo.com
2010-10-19 19:52:57 +00:00
037b5c3598
corrected an issue where basicability modifier was not returning the name but "ability instead..did minor correctsions to some Substr values.
omegablast2002@yahoo.com
2010-10-19 19:26:46 +00:00
d35367503d
Modifications required to build against the latest (0.10.0) PSPSDK. Note that this is a breaking change, these mods are not backwards compatible with the 0.8.9 version of the PSPSDK.
wrenczes@gmail.com
2010-10-19 08:45:36 +00:00
5aa3dc6fd3
Refactoring of some of the font management in WResourceManager. This change looks bigger than it actually is - most of the touched files are simply renaming of some font enums that I moved out of MTGDefinitions into the resource manager header files. The main points of this change: collapsing the font containers into a single map, eliminating duplicated functions, and migrating the font building logic into the resource manager class. GameApp doesn't need to know anything about the fonts it uses, and likewise, font users don't need to know what the name of their chosen font is, just the FONT_TYPE enum.
wrenczes@gmail.com
2010-10-19 07:51:32 +00:00
f64c2b0183
Missing file for the upgrage fix
Xawotihs
2010-10-18 20:50:03 +00:00
ea32581676
Fixed upgrade problem
Xawotihs
2010-10-18 20:27:23 +00:00
98e34c4eca
changed some of the ability names as requested, autoformatted ability.cpp as it was getting pretty messy. added @attackedalone( trigger. added "removefromcombat" mtgability. im going on vacation, whoosh :P
omegablast2002@yahoo.com
2010-10-18 15:56:32 +00:00
d13e8904b5
massive update, additions and changelog in first comment.
omegablast2002@yahoo.com
2010-10-18 10:46:36 +00:00
211deca011
I'm still planning on a more ambitious navigation mod, but this is a simple interim change to the existing navigation model that allows you to use the up/down keys to navigate directly to an avatar. This means that if you open your card hand & need to cast a spell that targets the enemy avatar, you can simply hit the up key a couple of times instead of navigating left (through potentially a huge number of cards if you're in a long, drawn out match).
wrenczes@gmail.com
2010-10-18 04:01:18 +00:00
832f11c153
Switched the managed JQuad container implementation from a vector to a map. This speeds up the cache lookup time from O(n) to O(log n). Hard to see a noticeable difference on win, but it definitely feels snappier on my psp, for instance, when browsing your library for a card, or your graveyard, etc.
wrenczes@gmail.com
2010-10-17 16:54:08 +00:00
35fa4d9786
made the fix to color= a fancy loop deal by request of wololo
omegablast2002@yahoo.com
2010-10-17 13:48:59 +00:00
6a81228275
fixed an issue where color= was not setting multiple colors on a card with this line. Issue: 491
omegablast2002@yahoo.com
2010-10-17 13:17:27 +00:00
8fdb64e9ce
Erwan - adding tests for issue 489 and issue 491 - check for null pointers in Credits.cpp - Test suite can now select tokens by their name - Fixed Dragon Broodmothere's token name
wagic.the.homebrew@gmail.com
2010-10-17 10:21:08 +00:00
d9f5b1586c
Erwan - fixing buggy test for kicker introduced in r2414 - removed old translation tool scripts (not needed anymore) - simplified "borderline.txt" using the global "borderline" grade.
wagic.the.homebrew@gmail.com
2010-10-17 05:37:22 +00:00
a7ffe4990b
Cleaned up the SimpleMenu drawing routines. I was seeing intermittently weird edge lines on the spades of the menu system, as well as gaps. The code was doing a lot of hacky +/- of arbitrary pixel values for the positioning, so I fixed it up to do everything relative to the widths of the pole & the actual spade graphic's size. Also cleaned up the pngs themselves, as they had no need for a transparent pixel rim.
wrenczes@gmail.com
2010-10-17 00:20:25 +00:00
7e780e18c1
For the windows version, if running with fullscreen disabled, center the main window instead of creating it top-left all the time.
wrenczes@gmail.com
2010-10-16 15:28:41 +00:00
0ef555dca9
Minor tweaks to the VS2010 project files, including turning down the code analysis verbosity.
wrenczes@gmail.com
2010-10-16 15:20:27 +00:00
0abe60542a
Fixed Qt project on windows
Xawotihs
2010-10-16 12:19:44 +00:00
e082deaddf
Fixed Qt project compile on Windows
Xawotihs
2010-10-16 12:17:25 +00:00
817a666a2f
Fixed Qt compilation on Windows
Xawotihs
2010-10-16 12:13:07 +00:00
ddc08d6512
Small correction from last revision.
solo81@web.de
2010-10-15 20:37:28 +00:00
98926caaa8
Added 5 tests to safe
solo81@web.de
2010-10-15 20:32:15 +00:00
5bff069d6d
Fixed Arcbound Fiend, Sombaer Hoverguard and Proclamation of Rebirth.
solo81@web.de
2010-10-15 18:46:02 +00:00
2f73400cbb
updated _test, and rewrote bug test to safe "aslongas" effects in the future.
omegablast2002@yahoo.com
2010-10-15 15:21:55 +00:00
b8a5e7512a
fixed bug with aslongas not triggering correctly for "<" and removing to soon for ">". please note: generic kicker test was broken before this rev. Issue: 483
omegablast2002@yahoo.com
2010-10-15 15:20:45 +00:00
dde0df9e19
Fixed Plated Seastrider, Decree of Savagery and Proclamation of Rebirth.
solo81@web.de
2010-10-14 19:47:00 +00:00
da4ab477ae
The Test Suite was incorrectly updating and writing player save data. ( ie task list was being updated, set information being evaluated, etc ) put a guard around the endgame stat update process to only update when non-testsuite games are played.
techdragon.nguyen@gmail.com
2010-10-14 16:13:45 +00:00
5d26989f2c
Force the line endings to Unix on this file.
wrenczes@gmail.com
2010-10-14 10:02:16 +00:00
80edf7279c
Fixed a problem with the release target - it wasn't inheriting correctly the property sheet I had recently added. Thanks to Mike for catching this.
wrenczes@gmail.com
2010-10-14 09:26:27 +00:00
847ec5b7c5
Reinstate the MillExileCost pay variant, as pointed out by Z.
wrenczes@gmail.com
2010-10-14 08:14:49 +00:00
f7361fb030
More type conversion warning fixes, with some minor refactoring thrown in.
wrenczes@gmail.com
2010-10-14 07:39:00 +00:00
3ca5a7261d
More warning conversion cleanup.
wrenczes@gmail.com
2010-10-14 05:05:37 +00:00
356ce1b8ba
Giant refactor of all the ExtraCost variants. Reduced the .cpp code by literally half (~350 lines!)
wrenczes@gmail.com
2010-10-14 04:45:10 +00:00
25cb9dde54
Cleaned up some compile warnings (double to float/ int to float conversions).
wrenczes@gmail.com
2010-10-13 23:34:36 +00:00
e8ecd74361
Mouse support in graveyards an library browsing during battle
Xawotihs
2010-10-13 22:28:19 +00:00
4a0331cbb9
corrected kicker test end conditions.
techdragon.nguyen@gmail.com
2010-10-13 21:24:50 +00:00
5005f69a69
added current AI deck name to "start" menu while dueling
techdragon.nguyen@gmail.com
2010-10-13 15:24:52 +00:00
bb6267bbe4
Fixed possible deadlock added in the mouse support code
Xawotihs
2010-10-12 21:53:41 +00:00
ce934123b0
Added a test for issue483.
solo81@web.de
2010-10-12 15:05:52 +00:00
93b1656f13
Added left mouse click support for menu, submenu and battle
Xawotihs
2010-10-10 21:59:18 +00:00
e342103204
Added support for left mouse click and zoom buttons
Xawotihs
2010-10-10 21:58:02 +00:00
75b8a0c328
Added support for left mouse click
Xawotihs
2010-10-10 21:57:27 +00:00
0a484237b2
Fixed several card bugs.
solo81@web.de
2010-10-10 19:47:07 +00:00
93fe22d282
added a small fix to further reduce attacker phase exploiting. explaination in comments.
omegablast2002@yahoo.com
2010-10-10 15:11:30 +00:00
a08217ba53
Sorry, I keep modifying this line accidentally since I'm building with the newer pspsdk version.
wrenczes@gmail.com
2010-10-10 07:38:17 +00:00
810069f0a6
Added an SVN ignore rule on MS performance analysis projects, MS .filter files (a VS2010 sidecar file), Intel Amplifier sidecar files.
wrenczes@gmail.com
2010-10-10 07:34:43 +00:00
33e45c9635
More incremental work of converting code to use DebugTrace().
wrenczes@gmail.com
2010-10-10 07:30:18 +00:00
2d86e86603
Follow up on this comment from Xawotihs:
wrenczes@gmail.com
2010-10-10 05:10:25 +00:00
7cfd9d981a
Fixed several card bugs reported in the bug section of the forum.
solo81@web.de
2010-10-09 17:48:10 +00:00
318aee5aec
Work around issue 457, not fully fixed.
Xawotihs
2010-10-09 10:37:47 +00:00
7439d81454
Work around issue 457, not fully fixed.
Xawotihs
2010-10-09 10:36:42 +00:00
fcb8aeaa28
Added error handling and moved glEnable(GL_TEXTURE_2D) to fix issue 484
Xawotihs
2010-10-09 10:18:59 +00:00
977257aee3
moved glEnable(GL_TEXTURE_2D) to fix issue 484
Xawotihs
2010-10-09 10:08:59 +00:00
62e0a789eb
Fix for the Snap card not triggering the 2nd untap. Basically, stole the method from GrimmHatter's post:
wrenczes@gmail.com
2010-10-09 04:07:31 +00:00
d331b93e66
Removed X dependency when compiled with Qt
Xawotihs
2010-10-07 21:44:04 +00:00