wrenczes@gmail.com
8f7e4850ba
Apply the same precompiler modifications to the VS2010 solution. Also turned off the C++ code analysis entirely for the debug target. Old build time: 5 minutes. New build time: 30 seconds. (note that the VS2010 code analysis slows things down considerably - but it also shows that one major bottleneck is AllAbilities.h, as it's included multiple times. That file should be refactored asap.)
2010-10-24 06:29:20 +00:00
wrenczes
d5f3e4cfea
Enabled precompiled headers for the build. This cuts the win compile time in debug by at least half on my laptop; on the psp compile, it shaves it down by ~ 45 seconds. I only did a cursory inspection of what to add to PrecompiledHeader.h, there's probably more that we can throw in there for more incremental speed improvements.
...
Also fixed the project includes so that we don't need to always use the indirect include path, ie:
#include "../include/foo.h" -> #include "foo.h"
I'm don't know much about make files - if I busted the linux build, mea culpa, but I think we're okay on that front too. For future reference, here's the most straightforward link on the topic of adding pch support to make files:
http://www.mercs-eng.com/~hulud/index.php?2008/06/13/6-writing-a-good-makefile-for-a-c-project
2010-10-24 05:55:24 +00:00
omegablast2002@yahoo.com
c83a4b8d19
fresh eboot. sorry about the other one.
2010-10-23 23:57:01 +00:00
omegablast2002@yahoo.com
8cb1f0cc7c
moved the level varible from MTGcard to MTGprimitive.
2010-10-23 23:48:02 +00:00
omegablast2002@yahoo.com
d7f58285f4
missed a couple levelup creatures
2010-10-23 22:52:25 +00:00
omegablast2002@yahoo.com
5ee1a695ae
fresh daily
2010-10-23 22:36:20 +00:00
omegablast2002@yahoo.com
34f63056dd
updated level up creatures to include a hint to ai when it should stop investing.
2010-10-23 22:34:51 +00:00
omegablast2002@yahoo.com
a9e4c58af2
taught Ai how to use levelup creatures, taught Ai how to use Equip, taught Ai how to use prevent the cleric ability.
...
this is by no means absolutely perfect, i like it tho, and makes for some real good times with level up deck built with equips.
you will notice i added a level=number...to the level up creatures, this has no effect on players, this is just a small hint to the Ai as to when it should stop investing mana in that creature. the chances are a little over half that ai will want to level a creature, increased ever so slightly with each level up.
for equipment, the Ai will now want to equip its best Creature(determined by power+toughness+convertedcost+how many abilities it has) and will want to equip these "better" cards atleast 2 times before it is reduced. same system for prevent damage, it will want to save its "better creature" more then a 1/1 token.
for both tho i added slight bonuses...
to equip, there is a higher chance that the ai will want to target a white creature, with an extra bonus if the creature is a 1/1 and nontoken. this is to encourage Ai to equip in white weenie decks
in prevent, there is a slight bonus if the creature is a 1/1 and the blocker/blockee has a power of 1.
currently prevent damage treated this way is not coded for direct damage spell, sorry ! but for combat you will notice ai taking a stand and fighting back hard.
2010-10-23 22:34:07 +00:00
omegablast2002@yahoo.com
ba590395b1
fresh EBOOT.PBP
2010-10-22 21:26:35 +00:00
omegablast2002@yahoo.com
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
2010-10-22 21:23:47 +00:00
omegablast2002@yahoo.com
1ac488b959
fresh daily Eboot
2010-10-22 20:33:13 +00:00
omegablast2002@yahoo.com
165d9df5c9
added a string support to transforms(...cards can now transforms(allsubtypes) or transforms(removesubtypes)
2010-10-22 20:29:55 +00:00
solo81@web.de
04efd4f78f
Added 37 cards based on rev2444 and rev2479. (Card list -> First comment)
...
Fixed Sun Titan and some other reported card bugs.
2010-10-22 19:37:43 +00:00
omegablast2002@yahoo.com
3032393a9c
fresh EBOOT
2010-10-22 18:13:44 +00:00
omegablast2002@yahoo.com
32cc74bd93
just a couple comments to say what "basicabilities[55]" is to make it clear.
2010-10-22 17:58:25 +00:00
omegablast2002@yahoo.com
90fb03aba7
finally fixed Changeling abilities= keyword.
2010-10-22 17:45:56 +00:00
omegablast2002@yahoo.com
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"
2010-10-22 14:53:39 +00:00
omegablast2002@yahoo.com
e6bc59fa97
goblin piledriver change.
2010-10-22 13:08:19 +00:00
omegablast2002@yahoo.com
b4d9a0cbd0
forgot the taps.
2010-10-22 10:37:40 +00:00
omegablast2002@yahoo.com
7b065b5076
recoded Primeval Titan.
2010-10-22 10:35:20 +00:00
techdragon.nguyen@gmail.com
1652308bfe
added missing file.
2010-10-22 09:33:55 +00:00
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