a77e550bff
Fixed compilation on Linux and a resizing issue
Xawotihs
2010-12-30 02:17:22 +00:00
434d527833
leungclj - correction of last submission
leungclj@googlemail.com
2010-12-29 13:06:51 +00:00
0311cfd1eb
leungclj - Added test for indestructible, also submitted issue for indestructible bug. Please refer to "indestructible_2_i569.txt"
leungclj@googlemail.com
2010-12-29 12:55:44 +00:00
11b65fe006
Added default options.txt for both settings and player. They are named options.orig.txt.
Xawotihs
2010-12-28 23:29:31 +00:00
dc0c7afd20
Updated dependencies of maemo package control
Xawotihs
2010-12-28 23:17:19 +00:00
961d6191dc
Out of paranoia (since I haven't compiled against Linux), switch out min() for our defined version of MIN.
wrenczes@gmail.com
2010-12-28 06:37:35 +00:00
2cb95076a0
Revert unwanted additions from Intel Amplifier profiling to the VS 2010 project files. AnkhSVN strikes again!
wrenczes@gmail.com
2010-12-28 06:34:33 +00:00
9005fd7af7
Fixed a problem I noticed after adding Z's 6 new decks to my res folder: if the number of AI decks wasn't a multiple of 10, the game would slow to a crawl, since there was a check that compared the number of actual decks against the number of unlocked AI decks (which is always incremented by 10 when new decks are unlocked) to determine whether the list of AI deck names should be refreshed or not. This was a pointless check, since we can load all the names once, and simply use the unlocked AI count value when determining what decks to allow to be used during random match playing.
wrenczes@gmail.com
2010-12-28 06:31:50 +00:00
39e6d4f2b5
Reworked some fixes submitted to us by ittobaal. Several fclose calls he suggested had no bearing (if fopen fails, calling fclose on a null pointer is pointless), but the (missing) array deletions were definitely valid bugs. The fix for CreateTexture() was a little loose, so I cleaned it up somewhat. Issue: 566
wrenczes
2010-12-27 20:00:33 +00:00
814993ac1c
tools for generating supported card list
techdragon.nguyen@gmail.com
2010-12-27 09:22:52 +00:00
6cf5212bab
fixed definition for Acid Web Spider. Card states "may destroy", definition forced destruction.
techdragon.nguyen@gmail.com
2010-12-25 01:10:06 +00:00
df14ae3b85
Fixed following cards according Zethfox's reminding:
guzhenjie1@gmail.com
2010-12-24 13:19:33 +00:00
53c68f4104
Replaced double left click support for desktop version by simple left click. Maemo still uses double click.
Xawotihs
2010-12-24 03:19:26 +00:00
b3fb8022a0
Deactivated the QImage code as it causes problems on win7 and vista. This implies that the Qt version still depends on libjpeg, libpng and libgif
Xawotihs
2010-12-23 07:57:50 +00:00
093d229c50
Basic check of GL versions supported before starting.
Xawotihs
2010-12-23 00:51:38 +00:00
7a0bf2c78c
Changed the Qt images to load in buffers using dimensions multiple of power 2. Simplified the memory management as well.
Xawotihs
2010-12-22 22:20:20 +00:00
a5c5a9d60b
Fix resize management for the mac version
Xawotihs
2010-12-21 16:05:59 +00:00
6fde01fe03
not defined => !defined
Xawotihs
2010-12-21 11:19:42 +00:00
164b9837d9
Merged the iOS resizing/selecting code into the Qt frontend. It works perfectly with OpenGL 2.0, it's buggy with OpenGl 1.1.
Xawotihs
2010-12-21 01:10:01 +00:00
ad348b2466
Bumped version to 0.14.1 in the Qt project
Xawotihs
2010-12-20 21:58:47 +00:00
840e6e078f
initialized stats information so that PSP can render it properly when keypress is too quick on the player deck selection screen.
techdragon.nguyen@gmail.com
2010-12-20 01:53:39 +00:00
d8d4977e5b
fixed a rare crash when more then one creature had either treason or unearth in the battlefield at the same turn...they would be put in graveyard and the z->nbcards would change in value, meaning that the incrementer was now able to accidently step out of the vector and hit an invalid pointer. now once it hits the bottom of each pass if the number of cards changed in the field start the cycle over.
omegablast2002@yahoo.com
2010-12-19 21:20:30 +00:00
9d68164132
Erwan - Adding Zethfox's AI decks - bumping version to 0.14.1
wagic.the.homebrew@gmail.com
2010-12-19 08:37:26 +00:00
3459a04d2a
Final fix for maemo dependency and fix the release of keys in the Qt frontend
Xawotihs
2010-12-18 19:37:16 +00:00
9ea61766cd
At the risk of being mildly obnoxious, inserting my handle into the dev list. (Anybody else missing from the credits?)
wrenczes@gmail.com
2010-12-18 06:04:02 +00:00
62fa860da4
Split out a different keybindings string if QT_CONFIG is defined. This should prevent key collisions between the different Win32 builds.
wrenczes@gmail.com
2010-12-18 05:55:03 +00:00
ba975d1b37
When I consolidated the two duplicate lord string sets, the ordering of 'prelords' wasn't the same as 'lords'. I didn't realize that it mattered when I picked the first set of the two. Reinstated the 'lords' ordering, so far all the cases that broke are working again. I've left in the 'prelords' variant in, stubbed out, in case we encounter a reason why this is still required.
wrenczes@gmail.com
2010-12-18 04:01:13 +00:00
c7666a933a
Revert changes to CardSelector. This wasn't meant to be part of my previous check in, another case of AnkhSVN selecting a file automatically for submission when it was in a different changelist. Sorry!
wrenczes@gmail.com
2010-12-18 03:47:52 +00:00
64eefeb0f4
Fix Genju of the Fields and Grand Arbiter Augustin IV.
guzhenjie1@gmail.com
2010-12-18 03:38:38 +00:00
e4dd50766f
Reverting/reworking Mike's change on thises/prelords. Zeth says that this is crashing on psp - while sizeof(string) shouldn't eval to 0, I don't fully trust this to evaluate correctly on psp, so I'm reverting out the change. Since these are staticly sized arrays, there's no point in trying to calculate their size programatically. (If they were true dynamic containers, then it would make more sense, but then you'd simply call size() on them anyway.)
wrenczes@gmail.com
2010-12-18 01:59:07 +00:00
d2a96e69df
few small items, first since card view are now correctly null'ed, i ran into a few cases while watching demo mode where the game would trigger a stop on the battle hint that uses card views, apon checking the card view would be null at the time. so added a condiational check to prevent the game from trying to alter a null'ed pointer.
omegablast2002@yahoo.com
2010-12-17 20:59:08 +00:00
681f4ddc0e
recommiting this, some of my testing stuff snuck in last commit.
omegablast2002@yahoo.com
2010-12-16 22:23:44 +00:00
60078c34c7
Additional fix to go along with r2834 - the previous fix revealed an ugly interdependency between CardView and MTGCardInstance. Neither object owns the other, but they each have a pointer reference to each other, which is a recipe for disaster if not managed correctly. I had fixed half of the problem, where the status of a CardView being destroyed wasn't reflected in the MTGCardInstance; meanwhile, it introduced another problem where if the MTGCardInstance was destroyed first, the CardView would crash when trying to do the cleanup.
wrenczes@gmail.com
2010-12-16 21:17:18 +00:00
eaeb9cc2a6
Fixed for issue 564. Now we do nothing if we use the "menu key" in the language selection menu.
Xawotihs
2010-12-16 18:36:07 +00:00
ae9ae7783b
gcc does not like iomanip stuff without namespace around
Xawotihs
2010-12-16 18:24:39 +00:00
4458e61b75
2 things, moved poison count wingame to the top with the life, there were cases where it wasnt respecting "cantlose" cards. and 2nd gave Ai *some* direction as to what to do with poison counters. i saw him place poison counters on himself to death in a single round...its was embarrassing.
omegablast2002@yahoo.com
2010-12-16 16:09:35 +00:00
84e4213615
fixed sizing issue. I keep forgetting array size calculation in C++ isn't just a property like in other languages. Sorry guys.
techdragon.nguyen@gmail.com
2010-12-16 14:13:09 +00:00
e600c34852
changed ints to size_t for psp compilation warnings.
techdragon.nguyen@gmail.com
2010-12-16 13:47:39 +00:00
afdeae6901
fixed some formatting issues. changed conditional for lord and thises evaluation from hardcoded value to length of the array being evaluated. This doesn't change current functionality, but minimizes code change if these arrays were ever to change in size.
techdragon.nguyen@gmail.com
2010-12-16 12:53:48 +00:00
038fef7742
issue 561 initialized deck stats number. The value wasn't being initialized correctly and thus retained the last set of values for a given deck.
techdragon.nguyen@gmail.com
2010-12-16 12:50:01 +00:00
1cc516193e
Sidecar fix to the CardView change: running the test suite revealed a few other places where bad assumptions were being made that an event's card view pointer was legitimate. Now they properly evaluate whether the view is null and adjust accordingly.
wrenczes@gmail.com
2010-12-16 09:41:14 +00:00
87909bed08
Fix for issue 550, heap crashed game in turn 6.
wrenczes@gmail.com
2010-12-16 09:32:42 +00:00
6c06544838
fixed 562 special lands not sending tap events. activatedability was over riding the reacttoclick of manaproducer...therefore not sending out the tapformana event. Issue: 562
omegablast2002@yahoo.com
2010-12-15 19:29:30 +00:00
99266ebae4
corrected mikes ABSOLUTE fail attempt at a test. yes, im pissed off. RUN YOUR TEST IN SLOW MOTION PLEASE!!!! THANKS!
omegablast2002@yahoo.com
2010-12-15 19:26:22 +00:00
7682af893b
fixed plummets mana cost, it was incorrectly {g} and should have been {g}{1} <---look mike.....
omegablast2002@yahoo.com
2010-12-15 19:24:53 +00:00
6c9d2db493
Erwand -adding tests for issue 562 and issue 563
wagic.the.homebrew@gmail.com
2010-12-15 13:36:11 +00:00
5778fa7ba2
Fixed a reported crash with 'Throat Slitter' per this response on the public beta post:
wrenczes@gmail.com
2010-12-15 07:57:51 +00:00
eab131f8be
[iOS] Fixed icon and targets in xcode project
Xawotihs
2010-12-14 17:01:07 +00:00
61011b8924
No code changes. * removed extraneous braces for case statements. * changed tabs to spaces.
techdragon.nguyen@gmail.com
2010-12-14 11:37:32 +00:00
b247a7e83c
just a brace moved, in cases of all(this) the 2nd statement would overide the first one which checks if its an attacker or blocker.
omegablast2002@yahoo.com
2010-12-14 11:25:01 +00:00
91347b38d9
sorry had to add this too, aparently simply putting BLAH_GOOD/BLAH_BAD without actually comparing it to the suggestion from af always returns true...
omegablast2002@yahoo.com
2010-12-14 11:02:49 +00:00
cf8cb213cc
pump granting needed to be a little more specific, it is not enough to simply tell the Ai if it is "good" it has to also know if its the controller of the creature. otherwise i witnessned it pump opponents creature. small change no huge impact except correcting the use of ai good effects on human player creatures.
omegablast2002@yahoo.com
2010-12-13 18:54:41 +00:00
2fdf538014
Added another test for 559 to verify cards like Halcyon Glaze works as specified. Note this particular aspect of the "becomes" ability was not broken prior to the fix for 559. This is a sanity check as it has nothing to do with color change. but tests ability changes due to "becomes" ability.
techdragon.nguyen@gmail.com
2010-12-13 16:58:37 +00:00
448099825a
just moved a bracket in ai STANDARD_LEVELUP. the 3 condiational was outside of the bracket, causing it to over ride previous. it should ALWAYS consider the "maxlevel" hint.
omegablast2002@yahoo.com
2010-12-13 14:58:24 +00:00
1046ffac02
Erwan - fix for issue 559 based on Mike's suggestions. The test suite passes
wagic.the.homebrew@gmail.com
2010-12-13 13:59:07 +00:00
19fe04b882
Erwan - fix for issue 558 (compilation issues in release mode on most platforms)
wagic.the.homebrew@gmail.com
2010-12-13 13:16:01 +00:00
64af4470e4
further improved "prevent" training on ai, while polishing off a Ai deck based on cleric i noticed it was using WAY too much prevent on a creature...sometimes 6 points or more then it should have been using...we only ever want to use *just* enough to survive. this way we can spread the love to the other creatures.
omegablast2002@yahoo.com
2010-12-13 12:33:35 +00:00
3c0ac6b3f5
this one didnt work. sorry!
omegablast2002@yahoo.com
2010-12-13 01:26:54 +00:00
a46596672b
bug fix for something reported in the forums, becomes( and transforms( were not correctly giving creatures abilities...this is just because of a small overlooked issue, the string would read "flying)" instead of "flying" and was there for rejected by mikes new abilities hash. same with transforms( it would read ",flying" and reject it...just had to correct the "ends" and "begins" of those strings...mike you told me you tested this change when we got into it...shame on you!
omegablast2002@yahoo.com
2010-12-12 17:02:41 +00:00
6ea7eb2b87
Erwan - fix for issue 292 . This fixes the classical theme, which had been broken by the initial fix for the final Saga glitch
wagic.the.homebrew@gmail.com
2010-12-11 16:00:59 +00:00
f894056e74
Fixed the order of initializers to make the psp warnings go away. (Stupid gcc, I don't understand why it cares about the order of initializers in the first place...)
wrenczes@gmail.com
2010-12-10 10:25:35 +00:00
4ac3c01cb0
Fixed the include guards. This had disabled the _CrtSetDbgFlag() call, so we were no longer detecting memory leaks in debug under Win32 when exiting the app. Ouch!
wrenczes@gmail.com
2010-12-10 09:18:29 +00:00
4fd67bd1fd
line endings -> Unix. No code changes here.
wrenczes@gmail.com
2010-12-10 08:38:09 +00:00
f8368d01c4
Found & fixed two memory leaks:
wrenczes@gmail.com
2010-12-10 08:37:41 +00:00
40c1ed074b
Fixed Qt windows project and activated precompiled header
Xawotihs
2010-12-09 21:21:55 +00:00
1e9746a2eb
Fixed Qt project on Linux
Xawotihs
2010-12-09 19:52:57 +00:00
1fe35da5b3
forgot to change back one line i changed, this is part of the manual revert i did earlier.
omegablast2002@yahoo.com
2010-12-09 18:34:23 +00:00
5d0029a2eb
fixed "*square* No to all" choice...
omegablast2002@yahoo.com
2010-12-09 17:37:11 +00:00
6360734ea3
Erwan -Attempt at fixing issue 538. This is a wild guess, but basically 1 000 000 bytes is NOT enough to decompress a 512*512*4 texture (32bits png). We need at least 1MB (1024*1024) AND some additional space for the decompression process. Based on that, bumped the 1 000 000 (minimum contiguous ram necessary to start decompressing a picture) to 1 500 000. I've had pretty good results so far but this needs confirmation - GameObserver <- changes from Win to *nix carriage returns.
wagic.the.homebrew@gmail.com
2010-12-09 13:47:04 +00:00
5713a45006
reverting this test back to yesterday
omegablast2002@yahoo.com
2010-12-09 13:32:34 +00:00
5d96f68d21
reverted my changes in rev 2774 which intruduced bugs, coincidently stumbled across what really fixed triggers substep, which was moving it into stateeffects...this revert reintruduces the double interrupt offer to combatdamage in some specail cases.
omegablast2002@yahoo.com
2010-12-09 13:31:09 +00:00
b595091855
moved tests for rakdos pit dragon into bugs folder until issue 555 is resolved.
techdragon.nguyen@gmail.com
2010-12-09 07:58:58 +00:00