Commit Graph

3500 Commits

Author SHA1 Message Date
wrenczes@gmail.com
bed971c84c Last of my warning cleanup - as of this revision, all warnings in the windows build are gone. I've turned on the 'treat warnings as errors' option in the mtg project to mirror our makefile behaviour on psp. 2011-06-03 01:07:48 +00:00
omegablast2002@yahoo.com
cb9e5f2e95 as requested by doc, added a tag for lords to allow an over-ride for effect so theyre not removed from the game by GameObserver until the lords remove it themselves.
ie:
Card Name:
Quick Sliver
Mana Cost:
Converted Mana Cost:2
Types:Creature — Sliver
Card Text:Flash
Any player may cast Sliver cards as though they had flash.

without an over-ride testdestroy removes the observer before it can be any use to us.

i only enabled this for the lords/this'es....
2011-06-02 23:46:44 +00:00
wrenczes@gmail.com
2b512f1f92 Stubbed out the auto-generated afx includes. They're not strictly needed for the icon inclusion. 2011-06-02 20:30:09 +00:00
wrenczes@gmail.com
842ba7aa56 Added a 'W' application icon for the Windows version. Could be improved - I didn't spend much time on it, and I also didn't bother with making versions for large icon mode, but better than nothing. 2011-06-02 18:29:23 +00:00
wrenczes@gmail.com
945c2601d0 Fixed the SimpleMenu to recenter itself as its default behaviour during construction. (You can still override it to position it explicitly if needed.) This fixes the bad alignment of the menu when you'd select single player & the hermit mode was unlocked. 2011-06-02 18:27:00 +00:00
wrenczes@gmail.com
7c65191faa Fix the build - missed submitting a change that was a part of my warnings cleanup, was open in another changelist. 2011-06-02 17:11:10 +00:00
guzhenjie1@gmail.com
383e5ed9bb Corrected Sylvan Might and Troubled Healer. 2011-06-02 13:49:28 +00:00
wrenczes@gmail.com
5b8ecd0cf7 More warning cleanup - converted certain class functions to return bool instead of int where appropriate. Also fixed the sdl update() tickCount assignment that I just broke in my last checkin. 2011-06-02 07:01:42 +00:00
wrenczes@gmail.com
90b1058ad5 More warning cleanup (type to type conversion warnings). 2011-06-02 06:14:28 +00:00
wrenczes@gmail.com
4018d17370 more compiler warning cleanup. 2011-06-02 05:48:37 +00:00
wrenczes@gmail.com
a06558be55 Some warning cleanup involving (seemlingly unintended) bool to int conversions. It seems that the original design intent was to pass down IDs to the base class JGuiObject, but certain classes broke the pattern with their constructors.
(One could argue that this ID is completely meaningless and could be entirely ripped out, as the IDs obviously never made it to their intended target...)
2011-06-02 05:33:45 +00:00
guzhenjie1@gmail.com
dcfbff6216 Corrected a typo in Vampiric Sliver.
Corrected rarity of Phyrexian Juggernaut, id of Glissa, the Traitor and Glissa's Courier in MBS _cards.dat.
2011-05-31 11:39:38 +00:00
techdragon.nguyen@gmail.com
040efab94c enable file sharing for iOS port. This is allows users to copy RES files directly into application 2011-05-29 09:46:27 +00:00
wagic.the.homebrew
d32ffc5e10 Moved a bunch of old tests related to (fixed) issues to the tests folder, and added them to the tests list 2011-05-29 07:10:14 +00:00
wagic.the.homebrew
34311a4499 - Removing "mCount" variable from GuiLayers 2011-05-29 04:40:13 +00:00
omegablast2002@yahoo.com
4e86981231 fix for issue 642. noticed thier is a whole slew of bugs in story mode that didn't exist before. this mode has been neglected and we should consider taking some time to bring it back up to standard.
i'll open some tickets for it later.
2011-05-28 23:31:45 +00:00
wrenczes@gmail.com
68cffde7de Refix on issue 634. Calling EndInstance() on the DeckManager wasn't the right fix here, as it blows away all the instance data and basically nullifies the advantage of caching all the stats data. From what I could see, the problem was more a case of when a new deck was targetted, if no stats file was already present for the new deck, the old values from the previous player deck would persist. Now we clear these up before attempting to assign new values, so if the stat info doesn't exist, it'll show 0 matches / victories /etc instead of stale data belonging to another player deck. 2011-05-28 05:00:40 +00:00
guzhenjie1@gmail.com
aeaa7fc7bb Corrected Lord of Shatterskull Pass. 2011-05-27 11:35:36 +00:00
Xawotihs
0e26368c89 Fixed JGE key binding in SDL config 2011-05-26 21:24:17 +00:00
guzhenjie1@gmail.com
5cf764310e Corrected Etched Monstrosity. 2011-05-26 15:27:03 +00:00
wagic.the.homebrew
a84eb8dc22 -Fix for issue 583 (fireball crash)
-- converted an array into a vector to avoid weird edge cases
-- fixed bugs with array "backupTargets"
2011-05-26 12:27:44 +00:00
guzhenjie1@gmail.com
3152f69088 Corrected a typo in Llawan, Cephalid Empress. 2011-05-24 14:16:02 +00:00
omegablast2002@yahoo.com
31ed7d38e6 removing unused variables... 2011-05-24 03:46:06 +00:00
Xawotihs
00aa339a1b Fixed linking problem 2011-05-23 18:14:04 +00:00
omegablast2002@yahoo.com
69d6b6d5a8 removed the flying text from stonehewer... 2011-05-23 15:21:36 +00:00
omegablast2002@yahoo.com
868b8b186b changing one line 2011-05-23 14:47:11 +00:00
omegablast2002@yahoo.com
50439ed458 updated rules.txt 2011-05-23 11:47:13 +00:00
omegablast2002@yahoo.com
0727343ebe first moved the def of handsize for a game into the rules.txt as discussed with wololo...
this update requires you to update your rules folder files!!!

2nd
added 2 new vanguard game modes.
Stone Hewer Basic - when ever a creature enters play, a random equipment with a converted mana cost less than or equal to that creature is put into play and attached to it.
this mode is unlockable, requirement = win a match where 10 or more equipment were in the battlefeild at the moment you won.

Hermit Druid basic- in this game mode, during each of the players upkeeps, a random land card from their deck is placed into the battlefield, these do not count against your 1 land per turn limit.
to unlock this, win any match with less then 10 lands.
2011-05-23 11:46:04 +00:00
guzhenjie1@gmail.com
a863b68a30 Corrected Golem-Skin Gauntlets. 2011-05-23 11:02:55 +00:00
Xawotihs
7ba1ef14bb - Modified the windows project to use SDL as DLL, so that we all get mouse support now.
- I think I fixed issue 664, it's funny how the problem is visible on Windows and on some HTC devices but totally absent on Linux and some Samsung devices
- The SDL fullscreen is not working that good, it would need to be improved.
2011-05-22 21:47:31 +00:00
guzhenjie1@gmail.com
c399262f30 Corrected following cards:
AEther Membrane
Abomination
Basalt Golem
Cockatrice
Contempt
Deathgazer
Defiant Vanguard
Dread Specter
Dread Wight
Goblin Sappers
Greater Werewolf
Heat Stroke
Infernal Medusa
Ohran Viper
Sawtooth Ogre
Serpentine Basilisk
Silent Assassin
Sosuke, Son of Seshiro
Tangle Asp
Thicket Basilisk
Time Elemental
Tolarian Entrancer
Venom
Wall of Tears

[combatends]
 ==> 
[combatends once]
2011-05-22 13:42:48 +00:00
solo81@web.de
17efa1c5d1 Fixed Undiscovered Paradise. 2011-05-22 11:53:14 +00:00
guzhenjie1@gmail.com
b52c5ae45c Corrected Azorius Herald, Shoreline Ranger and Tolarian Entrancer. 2011-05-22 09:47:57 +00:00
guzhenjie1@gmail.com
b282691c13 Corrected Vengeful Dead and Entrails Feaster. 2011-05-21 14:15:20 +00:00
guzhenjie1@gmail.com
eaf129a490 Corrected Decree of Savagery and Sunfire Balm. 2011-05-20 11:20:33 +00:00
omegablast2002@yahoo.com
24049d3da4 fixed a reported bug with blood chief accession, the cause was a goof up in logic, in the refactor to this section, foelost( parsing was changed to be its bool for lifelost....however since it was changed and we now didn't declare that "foelost(" was "found"...found was a null variable when we tried to atoi it.... 2011-05-19 12:35:35 +00:00
omegablast2002@yahoo.com
426cc68950 fixed a bug where "becomes(" was no longer giving more the a single ability to a card, example, inkmoth nexus would only gain flying, and not gain infect, this i imagine was due in part to a goof up...we split the string at the top by comma, in the refactor for this section it was changed to be either "" or becomesblah[2] <--this is incorrect, becuase what if a card would gain 2 abilities or more ...the we need to append the rest of the split portions back into the abilities string for adding.
also a piece that didn't get in my last commit, nothing big just 2 lines...not sure why on earth it didn't commit them before...
2011-05-19 12:17:53 +00:00
guzhenjie1@gmail.com
4a4066d145 Corrected Moltensteel Dragon, Tormentor Exarch and Whipflare. 2011-05-19 10:52:02 +00:00
solo81@web.de
135aba6d03 Fixed Myojin of Cleansing Fire. 2011-05-17 20:45:27 +00:00
guzhenjie1@gmail.com
2110b7e972 Added text of Glimmerpost. 2011-05-17 15:23:12 +00:00
omegablast2002@yahoo.com
4793ba76bb taught ai how to use ability fizzlers such as Glen Elendra Archmage...reworked fizzle to cover both cases of ai trying to target a card on the stack. 2011-05-17 13:58:28 +00:00
wagic.the.homebrew
9b63553c3e - Minor code cleanup (removed AABanishCard class and unused banishmentType variables) 2011-05-16 23:41:52 +00:00
wagic.the.homebrew
480875d57a - Subtypes "getValuesById" now returns a reference
- Minor cleanup of Transformer per one of my comments a few days ago.
2011-05-16 23:19:08 +00:00
omegablast2002@yahoo.com
39420a911f 3 fixes,
first you are not allowed to mulligen the opponents hand.

second persist was using the stack on its returning effect, this is incorrect as per MTG rules for persist, the card is supposed to go from the grave directly to inplay(grave -> temp -> inplay, in our case).

third, tokens models don't have names, so i make it check now for a name size on the model before clearing and resetting in tranformer.
2011-05-16 18:36:47 +00:00
guzhenjie1@gmail.com
60e9736ef3 Removed code "from(hand)" in following cards:
AEther Sting
Angel's Feather
Angelic Arbiter
Argothian Enchantress
Aurora Eidolon
Baku Altar
Balefire Liege
Ballynock Trapper
Battlegate Mimic
Battlewand Oak
Belligerent Hatchling
Blademane Baku
Blind Creeper
Bog Gnarr
Bounteous Kirin
Briarknit Kami
Celestial Ancient
Celestial Kirin
Chimeric Egg
Cinder Pyromancer
Cloudhoof Kirin
Contemplation
Deathbringer Liege
Deep-Sea Kraken
Demon's Horn
Desecration Elemental
Dragon's Claw
Dreamcatcher
Drooling Ogre
Dwarven Patrol
Earthshaker
Ebon Drake
Elvish Handservant
Emberstrike Duo
Enchantress's Presence
Enigma Eidolon
Entropic Eidolon
Fable of Wolf and Owl
Fiddlehead Kami
Forced Fruition
Forgotten Ancient
Furious Assault
Gelectrode
Gilt-Leaf Archdruid
Glade Gnarr
Glimpse of Nature's Draw
Gloryscale Viashino
Goblin Cohort
Golem Foundry
Golem's Heart
Gravelgill Duo
Guardian of Solitude
Halcyon Glaze
Hand of the Praetors
Haru-Onna
Havoc
Heartwood Storyteller
Hidden Ancients
Hidden Gibbons
Hidden Guerrillas
Hidden Predators
Hidden Spider
Hikari, Twilight Guardian
Horizon Seed
Illusory Demon
Innocence Kami
Insight
Inspired Sprite
Ishi-Ishi, Akki Crackshot
Jackalope Herd
Jade Idol
Kaervek the Merciless
Kami of Fire's Roar
Kami of Tattered Shoji
Kami of the Hunt
Kami of the Painted Road
Kami of the Waning Moon
Kiln Fiend
Kiri-Onna
Kodama of the South Tree
Kor Firewalker
Kor Spiritdancer
Kraken's Eye
Kurgadon
Leering Emblem
Leonin Battlemage
Loam Dweller
Loyal Gyrfalcon
Lys Alana Bowmaster
Lys Alana Huntmaster
Manaplasm
Memory Erosion
Merrow Levitator
Mesa Enchantress
Mirran Spy
Mogg Conscripts
Mogg Sentry
Mold Adder
Nettle Sentinel
Nightsky Mimic
Nikko-Onna
Norin the Wary
Noxious Hatchling
Ogre Recluse
Onslaught
Opal Archangel
Opal Caryatid
Opal Champion
Opal Gargoyle
Opal Guardian
Orbweaver Kumo
Ore Gorger
Oyobi, Who Split the Heavens
Painsmith
Pangosaur
Paradise Plume
Predatory Hunger
Presence of the Master
Primordial Sage
Pristine Angel
Pyrostatic Pillar
Quill-Slinger Boggart
Quillmane Baku
Quirion Dryad
Reki, the History of Kamigawa
Riddlesmith
Riverfall Mimic
Safehold Duo
Sandstorm Eidolon
Scaled Hulk
Shorecrasher Mimic
Sigil of the Empty Throne
Sire of the Storm
Skittering Horror
Skittering Monstrosity
Skittering Skirge
Skullmane Baku
Snake Pit
Soilshaper
Sol'kanar the Swamp King
Soot Imp
Soul of Magma
Spellshock
Sphinx-Bone Wand
Straw Golem
Sturdy Hatchling
Surrakar Spellblade
Tangleroot
Tattermunge Duo
Taurean Mauler
Teller of Tales
Thief of Hope
Thistledown Duo
Thorntooth Witch
Tibor and Lumia
Tidespout Tyrant
Titania's Chosen
Vedalken Archmage
Veil of Birds
Veiled Serpent
Veilstone Amulet
Verdant Eidolon
Verduran Enchantress
Voracious Hatchling
Warmth
Wee Dragonauts
Witch-Maw Nephilim
Woodlurker Mimic
Wurm's Tooth
Yawgmoth's Edict
Yuki-Onna
2011-05-16 11:37:42 +00:00
techdragon.nguyen@gmail.com
a66dc389e2 fixed logic bug for length of src variable in filter. When src is modified the local var representing
its length should also be updated.
2011-05-15 18:41:40 +00:00
wagic.the.homebrew
2f3e6b56e5 - Fix for issue 660 (changelings have become slower)
-- I removed the string comparison, which was expensive (the test is not necessary anymore, since it was "shielding" us from fake types (names), which are not creature subtypes, and therefore do not go through). I also moved one function call outside of the loop, just in case that wasn't optimized by the compiler.
- Removed unused Subtypes.cpp function (I don't really want people to use it, it can be quite expensive if used incorrectly)
- moved a test for issue 501 that has been fixed a while ago (we forgot to add the test to the test suite)
2011-05-15 14:38:41 +00:00
omegablast2002@yahoo.com
2ab3d27cd1 changed wild growth back to its original state...doc be more careful please :) 2011-05-15 13:37:07 +00:00
solo81@web.de
2cf412ed98 Fixed Lavalanche and Spitting Spider. 2011-05-15 07:42:56 +00:00
guzhenjie1@gmail.com
d8dfcb0f0c Corrected rarity of Kiln Walker. 2011-05-13 15:06:45 +00:00