techdragon.nguyen@gmail.com
34bdfab36f
fixed bug with saving brand new AI decks.
2010-10-22 09:22:25 +00:00
wrenczes@gmail.com
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.
2010-10-22 08:41:44 +00:00
techdragon.nguyen@gmail.com
84004c7c7f
added separator to debug output when running test suite. This will visually help
...
with identifying when a test ends and another begins.
2010-10-22 08:29:47 +00:00
techdragon.nguyen@gmail.com
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.
2010-10-22 08:28:52 +00:00
omegablast2002@yahoo.com
3e601a950c
fresh daily builds.
2010-10-21 20:59:03 +00:00
omegablast2002@yahoo.com
4eea325802
opps forgot golem-skin gaunlets
2010-10-21 20:53:05 +00:00
omegablast2002@yahoo.com
f678e52d2f
updated this(equip) to this(gear) in cards that use it.
2010-10-21 20:50:08 +00:00
omegablast2002@yahoo.com
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
2010-10-21 20:48:39 +00:00
solo81@web.de
ab0de05033
Fixed several cards reported in the bug section.
...
Changed the name of all new trigger tests.
Removed some obsolete information in some card_dats.
2010-10-21 20:21:44 +00:00
omegablast2002@yahoo.com
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.
2010-10-21 18:44:01 +00:00
omegablast2002@yahoo.com
42dca6dd88
fixed a line that PSPsdk didnt like.
2010-10-21 16:17:27 +00:00
omegablast2002@yahoo.com
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.
2010-10-21 15:52:04 +00:00
omegablast2002@yahoo.com
f209dd7b89
changed removepoison to alterpoison as it made more sense.
2010-10-21 15:50:00 +00:00
omegablast2002@yahoo.com
aba714f89d
fixed a couple errors with new cards.
...
Gempalm Incinerator
inner-flame acolyte
dwarven berserker
lord of shatterskull pass
goblin piledriver
2010-10-21 09:22:47 +00:00
omegablast2002@yahoo.com
87d501f0ab
removed tangle asp and gauntlet of might from boarderline since its not fully supported.
2010-10-20 20:11:47 +00:00
omegablast2002@yahoo.com
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.
2010-10-20 19:30:17 +00:00
solo81@web.de
e8a44cc375
- Added 242 successfully tested cards based on rev2444 (Card list --> First comment).
...
- Optimized 163 cards (Card list --> First comment).
Most of them profit from the much more detailed combat trigger system and the new types of damage prevention.
- Added 17 tests to save Zethfox's additions for the future.
- Fixed issue182.
2010-10-20 19:13:17 +00:00
wrenczes@gmail.com
7d8eb055e6
Last set of OutputDebugString() -> DebugTrace() conversions.
2010-10-20 04:35:20 +00:00
Xawotihs
a5cb21fb3f
Added dbus support
2010-10-19 22:11:27 +00:00
omegablast2002@yahoo.com
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"
2010-10-19 19:52:57 +00:00
omegablast2002@yahoo.com
037b5c3598
corrected an issue where basicability modifier was not returning the name but "ability instead..did minor correctsions to some Substr values.
2010-10-19 19:26:46 +00:00
wrenczes@gmail.com
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.
...
To download the latest Minimalist SDK, go here:
http://sourceforge.net/projects/minpspw/
2010-10-19 08:45:36 +00:00
wrenczes@gmail.com
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.
...
(I did a cursory check to make sure chinese still displays correctly - at a glance, I'm seeing what looks correct to someone who doesn't read the language :) )
2010-10-19 07:51:32 +00:00
Xawotihs
f64c2b0183
Missing file for the upgrage fix
2010-10-18 20:50:03 +00:00
Xawotihs
ea32581676
Fixed upgrade problem
2010-10-18 20:27:23 +00:00
omegablast2002@yahoo.com
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
2010-10-18 15:56:32 +00:00
wagic.the.homebrew@gmail.com
f5575ac68e
Erwan
...
- Updated fix for Dragon Broodmother
2010-10-18 13:33:54 +00:00
omegablast2002@yahoo.com
d13e8904b5
massive update, additions and changelog in first comment.
2010-10-18 10:46:36 +00:00
wrenczes@gmail.com
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).
2010-10-18 04:01:18 +00:00
wrenczes@gmail.com
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.
...
I'm also noticing that the GetQuad(int) variant never seems to get hit, so I suspect that the ID lookup map is redundant. I left it alone as the JResourceManager base class forces the need for the function; I need to spend more time looking at just how much of JResourceManager we actually use at this point.
2010-10-17 16:54:08 +00:00
omegablast2002@yahoo.com
1071dbf738
2010-10-17 14:03:51 +00:00
omegablast2002@yahoo.com
35fa4d9786
made the fix to color= a fancy loop deal by request of wololo
2010-10-17 13:48:59 +00:00
omegablast2002@yahoo.com
6a81228275
fixed an issue where color= was not setting multiple colors on a card with this line.
...
Issue: 491
2010-10-17 13:17:27 +00:00
wagic.the.homebrew@gmail.com
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
2010-10-17 10:21:08 +00:00
wagic.the.homebrew@gmail.com
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.
2010-10-17 05:37:22 +00:00
wrenczes@gmail.com
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.
...
Also moved some static value definitions used in the drawing code from the class header to a private namespace in the cpp file, as they don't need to be seen by any clients of the class.
2010-10-17 00:20:25 +00:00
wrenczes@gmail.com
0ef555dca9
Minor tweaks to the VS2010 project files, including turning down the code analysis verbosity.
2010-10-16 15:20:27 +00:00
Xawotihs
e082deaddf
Fixed Qt project compile on Windows
2010-10-16 12:17:25 +00:00
Xawotihs
817a666a2f
Fixed Qt compilation on Windows
2010-10-16 12:13:07 +00:00
solo81@web.de
ddc08d6512
Small correction from last revision.
2010-10-15 20:37:28 +00:00
solo81@web.de
98926caaa8
Added 5 tests to safe
...
aslongas + <
aslongas + >
aslongas + trigger
for future code changes.
2010-10-15 20:32:15 +00:00
solo81@web.de
5bff069d6d
Fixed Arcbound Fiend, Sombaer Hoverguard and Proclamation of Rebirth.
2010-10-15 18:46:02 +00:00
omegablast2002@yahoo.com
2f73400cbb
updated _test, and rewrote bug test to safe "aslongas" effects in the future.
2010-10-15 15:21:55 +00:00
omegablast2002@yahoo.com
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
2010-10-15 15:20:45 +00:00
techdragon.nguyen@gmail.com
640a9392f6
fixed typos reported in http://wololo.net/forum/viewtopic.php?f=4&t=2283&p=17578#p17578
2010-10-15 05:20:42 +00:00
solo81@web.de
dde0df9e19
Fixed Plated Seastrider, Decree of Savagery and Proclamation of Rebirth.
2010-10-14 19:47:00 +00:00
techdragon.nguyen@gmail.com
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.
Issue: 488
2010-10-14 16:13:45 +00:00
wrenczes@gmail.com
5d26989f2c
Force the line endings to Unix on this file.
2010-10-14 10:02:16 +00:00
wrenczes@gmail.com
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.
2010-10-14 09:26:27 +00:00
wrenczes@gmail.com
847ec5b7c5
Reinstate the MillExileCost pay variant, as pointed out by Z.
2010-10-14 08:14:49 +00:00