wrenczes@gmail.com
eef54c259b
Fixed a compile warning treated as an error on psp - switched an int loop var to size_t.
2010-11-02 07:05:04 +00:00
wrenczes@gmail.com
8cb0cf1dae
Fixed a crash in the vertical text scroller. Mike, pls review.
2010-11-02 05:50:07 +00:00
wrenczes@gmail.com
4288e7c236
Normalizing line endings to Unix style, per coding guidelines.
2010-11-02 05:29:20 +00:00
wrenczes@gmail.com
2d30dece25
Sigh - revert out changes relating to my boost::shared_ptr experiments. (Did I mention I hate AnkhSvn? Why does it auto-select files in other changelists?? )
2010-11-02 04:31:10 +00:00
wrenczes@gmail.com
1325fff26b
Fixed the vs2010 solution - included newly added files to the project.
2010-11-02 04:28:32 +00:00
wrenczes
858950fb9d
Incremental fix on my Navigator work - switched out global to JGE vars actualWidth/Height to be real accessible members of the JRenderer instance, so that we can actually access what the real display width is from within the MTG project. This makes the fix for enchantment zone targetting work when the window is resized on Win32.
2010-11-02 04:07:25 +00:00
techdragon.nguyen@gmail.com
f472c48a8a
fixed avatar image issue when selecting ai decks outside of the default 100 ai decks.
...
installed a horizontal text scroller for the deck selection screens in normal play
TODO:-> Need to make it smoother transition. It currently just replaces the text with the new text.
2010-11-02 02:20:44 +00:00
Xawotihs
afe52d883a
Added recent new sources and headers
2010-11-01 23:18:55 +00:00
wagic.laurent
a666b8cc14
Laurent - daily build
...
Just built this one to test new deck selection screen... very nice....
2010-11-01 21:41:16 +00:00
techdragon.nguyen@gmail.com
a458da051d
refactored how manaredux coding works
...
replaced literals with constants in some places.
migrated some abilities out of headers and into implementation files.
2010-11-01 13:04:06 +00:00
techdragon.nguyen@gmail.com
f0d3072091
updated VS 2008 solution file with the latest DeckMenu classes
2010-11-01 11:32:37 +00:00
techdragon.nguyen@gmail.com
911189da3d
added DeckMenu and DeckMenuItem to the object list.
2010-11-01 11:01:08 +00:00
techdragon.nguyen@gmail.com
149b9efd9f
fixed rename bug. rename state was not initialized.
2010-11-01 10:56:20 +00:00
techdragon.nguyen@gmail.com
6c1497bbd5
Revamped Deck Selection Screen using abrasax's design as a template.
...
TODO:
change literals to use constants,
refactor the rendering code for the menu to have be leaner.
add text scroller to list all the tasks.
* 1st implementation will list all the tasks.dat
* 2nd round will try to get the scroller to only display relevant tasks to ai
Special thanks to wololo and MootPoint for helping me hammer this out. To abrasax, for the initial design of the layout.
2010-11-01 08:22:55 +00:00
omegablast2002@yahoo.com
63eca8ebfe
fresh EBOOT.PBP
2010-10-31 19:02:33 +00:00
omegablast2002@yahoo.com
2640fc8280
fixed a bug where affinity was not counting when cards were being bounced back to your hand.
2010-10-31 17:24:49 +00:00
omegablast2002@yahoo.com
e463be5ad0
updated level up creatures to remove level= and replace with auto=maxlevel:number
2010-10-31 17:22:37 +00:00
omegablast2002@yahoo.com
150c5f4c99
turned the "ai hint" for level up creatures into an MTGAbility.
...
this fixes a bug(?) that had high priority and maintains same effect as before. removed all traces of the "bugged(?) hint" from CardPrimitive.
Issue: 498
2010-10-31 17:19:20 +00:00
omegablast2002@yahoo.com
777098f763
fixed a bug where CHANGELING was not giving all creature subtypes. Changelings now set creature types in MTGCardInstance::initMTGCI
...
moved removed it from the setType function of cardprimitive.
Issue: 501
2010-10-31 16:55:05 +00:00
techdragon.nguyen@gmail.com
4cfb266d14
code cleanup: removed commented out code.
2010-10-31 10:12:20 +00:00
guzhenjie1@gmail.com
d125c245b3
Fixed following cards reported in the bug section:
...
Chainer, Dementia Master, Corpsehatch, Golem Artisan, Imps' Taunt, Samurai of the Pale Curtain, Summoning Station
Add missing text of following duel land:
Blackcleave Cliffs, Copperline Gorge, Darkslick Shores, Razorverge Thicket, Seachrome Coast
2010-10-31 10:11:33 +00:00
wagic.the.homebrew@gmail.com
6fbbb22e96
Erwan
...
- adding missing CardSelectorSingleton files in VC2008 Project. Fixes compilation in VC2008
2010-10-31 09:36:20 +00:00
wrenczes@gmail.com
5a1e8e6ffe
More reorganization work around CardSelector and the singleton pattern. Broke the source for the singleton into its own separate source file, to keep things clean. Also broke apart a circular header dependency: CardSelector defines and uses a SelectorZone, which is a member inside of CardView. CardView in turn is used heavily by CardSelector. Instead SelectorZone is now defined within CardView (where it's set & controlled anyway).
...
I've also added my current work on the zone navigation system (class Navigator) - it's currently turned off for now (the override for this is inside of CardSelectorSingleton's Instance() call, simply comment out the NEW CardSelector and uncomment out the NEW Navigator line.) It's functional, but I want to do more testing before considering wiring it into the game options or something similar. (Also, note that it currently doesn't support the mouse functionality added by DJardin.)
Lastly, there's a bug crash fix in ActionStack that I tripped across while testing - basically, an illegal index value would have us walk off the bounds of a vector.
2010-10-31 07:50:53 +00:00
jean.chalard
dfb9d76829
J :
...
* Fix a broken argument
2010-10-31 07:12:04 +00:00
wagic.the.homebrew@gmail.com
f847bff1d4
Erwan
...
- adding a test for issue 501 (changeling creatures do not get correct creature types)
2010-10-31 03:19:25 +00:00
techdragon.nguyen@gmail.com
ab37002fd7
modified text for "Save as AI deck" option
...
added descriptions for editor menu items
code clean up.
2010-10-30 06:46:58 +00:00
wrenczes@gmail.com
a88ea7cb54
Removed some redundant #ifdef win32 includes. (This should have been part of my previous precompiled header changes.)
2010-10-30 05:40:52 +00:00
wrenczes
fadd36c0c4
More type conversion warning cleanup; some minor refactoring in the phase bar while I was cleaning up the warnings.
2010-10-28 06:57:34 +00:00
techdragon.nguyen@gmail.com
98627d96ba
fixed minor bug with Ai deck saving routine.
...
fixed psp compilation, changed use of char* to ostringstream for menu text.
2010-10-27 17:26:32 +00:00
omegablast2002@yahoo.com
7a13f562c7
fixed "ink-eyes,servent of oni" coding.
2010-10-27 15:17:17 +00:00
techdragon.nguyen@gmail.com
cd3ad9b9fd
fixed menu size and text information for when saving deck as an AI deck.
2010-10-27 11:24:49 +00:00
techdragon.nguyen@gmail.com
28d3b9b9a9
fixes ai deck saving bug pointed out by Zethfox.
...
TODO: fix text to the right of the box when saving ai deck.
2010-10-27 03:00:39 +00:00
omegablast2002@yahoo.com
56ba37feec
fixed errors reported by 840126 http://wololo.net/forum/viewtopic.php?f=4&p=17769&sid=b5337dd78cbad56a7c4ec93ccf4a3b71#p17769
...
thank you!
2010-10-25 17:33:58 +00:00
omegablast2002@yahoo.com
de01d5216d
fresh eboot.
2010-10-25 14:44:54 +00:00
omegablast2002@yahoo.com
73b7e8d361
adding a test to insure that a <1 aslongas actually remains on the field if the considiation is false.
2010-10-25 14:42:53 +00:00
omegablast2002@yahoo.com
fbd5cffbbd
taught told Ai bushido is a good thing. laid ground for Foreach lesson for Ai :) fixed yet another reported bug with aslongas. gave becomes( a better menu name system for the manlands to use.
...
it will now say "becomes [types]"
2010-10-25 14:41:09 +00:00
omegablast2002@yahoo.com
142dfab57c
changed 3 creatures that were incorrectly using "clone" instead of "token(thier id number)"
2010-10-25 14:37:16 +00:00
techdragon.nguyen@gmail.com
d358f14eed
reverting change. thought the card was a black permenant.
2010-10-24 19:14:42 +00:00
techdragon.nguyen@gmail.com
219fdbf4f8
test broke due to omission of response to second counter request, if the test is for 1 counter, it needs to cancel the other counter request. So please test each change individually as well as part of the entire suite. If there are differences, than there is something fundamentally wrong with the suite.
2010-10-24 19:00:56 +00:00
omegablast2002@yahoo.com
4e6cd4309c
changed bloodhall ooze test BACK to the way it was, please read cards before commiting a test change, also, re-run test suite when you make changes to test.
2010-10-24 18:36:13 +00:00
techdragon.nguyen@gmail.com
ddc07a4e40
removed duplicate tests. these were prefixed with trigger_ instead of @
2010-10-24 17:25:02 +00:00
techdragon.nguyen@gmail.com
ad4543b968
fixed test. missing an assignment of a counter and end condition was incorrect. life should be 17 not 18 since ooze gets two counters it is a 3/3 monster not 2/2. The test was stalling on the interrupt screen for the second counter.
2010-10-24 17:23:19 +00:00
linshier
60ef07a025
Added basic Japanese font support.
2010-10-24 07:56:28 +00:00
linshier
0ce36747a7
Fixed a compiling error for GCC-4.4.5
2010-10-24 07:34:12 +00:00
linshier
eb043eba5d
Fixed Makefile for Linux
2010-10-24 07:20:52 +00:00
wrenczes@gmail.com
e74c0fcc7c
Moved a few more common shared includes into the precompiled header.
2010-10-24 06:55:40 +00:00
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