Commit Graph

1913 Commits

Author SHA1 Message Date
omegablast2002@yahoo.com 5c340a2fb5 made it even more specific to the exploit, when you open the option menu while abilitiesmenu is open for the purpose of canceling then undo last action. 2012-03-25 11:47:17 +00:00
omegablast2002@yahoo.com a2ca6ce26b treating the esc menu as "undo" when used while an abilitiesmenu is open and waiting for selection. this prevents people from using the games menu as an exploit to avoid having to do negative effects to themselves or thier cards. you either do it or we can repeat this forever :) 2012-03-25 11:40:43 +00:00
omegablast2002@yahoo.com 59bedf0f07 commented out the drawing of a line across the screen,
reasons behind this are as follows:
1:separation of the battlefields is already incredibly clear by the huge gap between the center...
2:a line drawn on battlefield that represents the seperation is something that should be handled outside of the engine, in the actual battlefield graphic.
3:on hires screens this line stands out like a sore thumb.
4:the line is draw on top level above the cards making it stand out even worse when you have a battle going. as well as cutting over the top of the cards in displayed hand view.

over all the battlefield looks cleaner.
2012-03-25 10:36:06 +00:00
techdragon.nguyen@gmail.com 773e852b83 this should resolve the issues with scrolling lists. I modified the height of the menu a little bit (-10px) because on larger menus, the bottom of the menu blended into the dark shadows of the screen. This small height change makes the bottom of the menu more visible. 2012-03-25 05:01:43 +00:00
techdragon.nguyen@gmail.com c8007e7179 recalculated height of menu items previous calculation did not take into scaling of the text 2012-03-24 06:48:02 +00:00
techdragon.nguyen@gmail.com 14bdc0fd08 fixed initial state bug with buttons in game shop. 2012-03-24 06:47:01 +00:00
wagic.the.homebrew 7a18996bee reinstate font scale backup in SimpleButton, to fix the bug I introduced recently. 2012-03-24 02:47:14 +00:00
omegablast2002@yahoo.com 41e608785f removed the dead code which was moved up in previous commit. it is actually just that, dead code, moving it up reintruduces bleeding in menus. 2012-03-23 23:31:54 +00:00
techdragon.nguyen@gmail.com 4f2ad781c0 fixed dead code. I'm assuming this was actually what was meant 2012-03-23 22:43:33 +00:00
techdragon.nguyen@gmail.com 218db9d844 improved scrolling of simple menus. Now you can scroll up as well as down by activating the area above/below the menu items
removed the buttons when displaying the filter menus.
2012-03-23 13:17:13 +00:00
omegablast2002@yahoo.com 2a17b9c11b added a targetchooser for dummycards source and a method for retrieving card->storedCards variables for docs card package. 2012-03-22 21:50:50 +00:00
omegablast2002@yahoo.com 26239cdc91 moved the scale reset outside of the if statement, this is to fix a bug where hovering over the last item cause other text items as well as "cancel" to enlarge. 2012-03-22 13:26:09 +00:00
Xawotihs@gmail.com 2a3f998034 Fixed compilation problem with gcc 2012-03-21 21:59:18 +00:00
wagic.the.homebrew bdec6c6b7d Additional scaling issues fixes + bug fix by Zeth in SimpleMenu 2012-03-21 14:58:53 +00:00
wagic.the.homebrew a581d1bba3 - Fixed some scaling issues with SimpleMenu
- Fixed the animation for the menu fonts when selecting an item in the menu. mTargetScale and mScale in SimpleButton are here for a reason, people! 
-- Note: I'm not sure I actually like the "zoom on currently selected item" thing, not sure it brings much.
-- we should definitely consider a hi resolution font because now it really doesn't look good, when it is scaled that much

Why is the subtypes menu using a different font from all other simpleMenus ?
2012-03-21 14:44:23 +00:00
wagic.the.homebrew 3ba22cd615 Changes to Deck Editor:
- Removed one "stats" button as well as the "menu" button. The goal is to let the screen "breathe" and show cards as much as possible.
-- Removing the "menu" button is also in line with all other screens of the game, where that button never appears.
- With the same goal, the "XXX of XXX cards" text is now displayed only when scrolling
2012-03-21 14:41:38 +00:00
omegablast2002@yahoo.com f33fe0298e unsigned int from float warning treated as error fix. 2012-03-21 11:28:43 +00:00
Xawotihs@gmail.com cb8af6d6c0 - modified gameOver to be protected and defined two new operations to do the same thing (didWin and setLoser)
- removed ACTION_LOGGING_TESTING code
- Fixed AIvsAI games multithreaded games
- Activated undo when testsuite is enable
- Defined an initial player comparison operator
- Fixed multi-threaded modification to subtypes
- Fixed gameTurn cleanup for gameObserver reuse
2012-03-20 23:10:05 +00:00
techdragon.nguyen@gmail.com 865bc7e494 resolved scrolling issue (Issue 801) in filters list. it's a little verbose, but it seems to work. need to see if we can't refactor CheckUserInput to reduce the amount of code duplication. The logic for SimpleMenu is slightly different from the base method. perhaps we should override CheckUserInput to take in two parameters instead of one. 2012-03-20 23:07:21 +00:00
omegablast2002@yahoo.com 18c0868d88 readjusted some of the values for simplemenu, deckmenu still requires "princess fingertips", but the others have their spacing back and font size back. 2012-03-20 16:27:14 +00:00
omegablast2002@yahoo.com 48e5608803 added a new method to use countershroud to create a globel shroud by targetchooser...auto=countershroud(-1/-1)creature|mybattlefield...like this.... 2012-03-20 12:21:03 +00:00
techdragon.nguyen@gmail.com 57627849a0 modified font size of text in menus.
Adjusted the spacing between menu items on all menus. They were a little too far apart once I modified the font size.
fixed Hollowhenge Spirit
2012-03-20 08:35:38 +00:00
omegablast2002@yahoo.com 9564250179 added targetedplayer as a who for most abilities and token reciever..
adjusted the way cardsacrificed events were sent

added a ability which is a way to tell a targeted player, yourself, or opponent to do a set of abilities.
ability$! EFFECT _ EFFECT !$ WHO 
the idea here is that the abilities are being added to the targeted players game...so 
target(player) ability$!target(<2>*|myhand) reject!$ targetedplayer

this line tells the player to discard 2 cards...

you can also use it without targeting by using WHO words..
controller, owner, targetcontroller, opponent, targetedplayer

this ability defualts to opponent.

cards coming soon...
2012-03-18 15:57:35 +00:00
omegablast2002@yahoo.com a497ef49c8 added support for doubling cube, recoded the curses to follow the rules better, with the exception of 1 which can not quite be supported
Curse of Oblivion moved back to unsupported.
added support for targeting a zone by targeting a player...
any time you have targeted a player, you can access items in thier zones by using 
targetedpersonsZONE
targetedpersonsbattlefield for example...
added "targetedplayer" as a targetchooser and who.
added "mycurses" targetchooser.
added "targetedcurses" word variable.
2012-03-15 06:18:08 +00:00
Xawotihs@gmail.com 3f40dbc0b4 Removed crash occuring with linux .directory hidden files 2012-03-14 20:34:34 +00:00
omegablast2002@yahoo.com 1c28ee3d4d fixed issues with "else" support in ifthen. 2012-03-14 11:41:39 +00:00
omegablast2002@yahoo.com 9c1fcacd1f psp comp fix. 2012-03-14 10:52:14 +00:00
omegablast2002@yahoo.com 22ca8f5043 not sure if it effects anything but i changed a letter in the includes by accident. 2012-03-13 18:26:30 +00:00
omegablast2002@yahoo.com 0210ecf28c ok this is the last commit but i had massive issues after chopping it all up, hopefully it doesn't hilight everything that was already commited...if it does i apologize my own patch started giving me conflicts....
im like 7 tries into commiting this part....
2012-03-13 17:54:24 +00:00
omegablast2002@yahoo.com b20b75df33 this patch focuses on giving wagic a more defined turn structure. 2012-03-13 16:48:48 +00:00
omegablast2002@yahoo.com 39e8bd1f30 in this commit i added a creature subtype specific vector, added a couple variables for new abilities, and a sort for the creature variable to avoid the long lag out everytime we play a card or ability that needs this vector. 2012-03-13 16:32:26 +00:00
omegablast2002@yahoo.com 97bd418aac in this commit, if we move a card from the library to the library then we were intending on placing that card on top of the library.
taught ai when not to play a planeswalker, told ai to look for planeswalkers as a card type to play.
fixed a crash related to tokens and cardgui..tokens dont have models....
made a 1 line change to deckveiwer that makes it usable on touch devices and improves the overall look and feel of deckveiwer....
2012-03-13 16:20:19 +00:00
omegablast2002@yahoo.com eb8c0c54f1 in this commit suspend now states the amount of turns in the menutext....
made changes to some of the simple menu items, made the simple menu not draw massive horizontal and vertical poles, that look was extremely dated.
2012-03-13 16:12:00 +00:00
omegablast2002@yahoo.com 0a357e7eb0 first part of a series of commits, this one adds "and((" support to the various card removel abilities, tweaks targetedplayer targetchooser, and adds the following number word variables...
counter{}
so you can get a count of a certain counter on a card
the next consist of parts using the same targetchooser method as type:
power:
toughness:
convertedcost:
followed by ---
highest:
lowest:
followed by targetchooser
blah:mybattlefield
so if i want highest converted cost of creatures i control..
convertedcost:highest:creature:mybattlefield

also added an internal ability to reuse and display flying text with a string passed to it.
2012-03-13 15:35:43 +00:00
techdragon.nguyen@gmail.com 6124280f24 added a prefernces screen to handle media card selection on Android devices. Contains actual fix for 4297.
Added a place marker to allow volume change during app.  Right now it's either loud or off.  There isn't a way to allow the volume to gradually go up and odwn based on the values set in settings.
2012-03-01 03:24:34 +00:00
techdragon.nguyen@gmail.com fc08b2cfa3 modified buttons for touch interfaces. The help screen has been modified to have all PSP button information removed. The layout of the buttons have been moved as has the size of the buttons. 2012-02-23 16:24:06 +00:00
techdragon.nguyen@gmail.com 6c6bf623ff turned off debug fps display on iOS platform. 2012-02-23 16:19:22 +00:00
techdragon.nguyen@gmail.com 42cdd27e0b fixed music bug for Momir and Random game types. The functions that determined if a file existed did not handle errors properly. Instead it would return an empty string which when appended to the base path would always return true. Thus a non-existent file would always be treated as if it existed. The guards I put in test for empty strings before continuing evaluation. I may have been a little judicious in the places where I put the gaurds in. We can remove the guards if it turns out we don't need them in all the places. 2012-02-23 02:11:14 +00:00
techdragon.nguyen@gmail.com f9a7317904 moved game shop buttons up by five pixels. They were a little too close to the bottom of the screen 2012-02-22 01:04:41 +00:00
techdragon.nguyen@gmail.com 8468505f1e fixed deck name display for when "Random" player deck is chosen. 2012-02-20 07:32:14 +00:00
techdragon.nguyen@gmail.com fa247c7720 added the name of the selected player deck when selecting an opponent.
added deck names to screen when bringing up the menu during a match.  The deck names appear below the AI avatar and above the player avatar.
fixed a mem leak in ZipArchive.mm
2012-02-18 04:34:56 +00:00
Xawotihs@gmail.com 2a2cf70324 Fixed compilation issue with gcc 2012-02-16 20:30:53 +00:00
techdragon.nguyen@gmail.com 719fb41dc2 changed FALSE/TRUE references to true/false. I think TRUE/FALSE is a windows thing only. It is causing compilation errors on iOS. 2012-02-16 06:48:51 +00:00
rodrigodemoura@gmail.com 45b4272c5e Include the Phyrexian mana display. Include more features in modrules.xml: Now is possible to change font color, Size. Include icon tag. Is possible select position to show the icon, size and where the image is stored
<item name="icon">
 <position x="0" y="25"/>
 <iconposition x="1" y="2"/> 
 <filename>menuicons.png</filename> 
 <sizeicon>5<sizeicon>
</item>
Issue: 663
2012-02-13 15:28:55 +00:00
Xawotihs@gmail.com bd1afebbea Hid Subtypes behind MTGAllCards and added a mutex to be able to use both singleton from several threads. 2012-02-12 22:20:05 +00:00
Xawotihs@gmail.com ebc4eb331f Removed modifications that should not have been part of my previous commit and were causing compilation problems. 2012-02-12 08:44:22 +00:00
Xawotihs@gmail.com c38c52c6ad Refactored audio sample playback 2012-02-11 18:20:08 +00:00
Xawotihs@gmail.com 84abe7c9cf Fixed compilation on linux 2012-02-08 22:00:35 +00:00
techdragon.nguyen@gmail.com 85848cfe41 resolution to issue 794. Non-classic games crashed at the completion of the game. 2012-02-06 09:07:37 +00:00
techdragon.nguyen@gmail.com c11e55a8b3 kGameIconPadsize was already defined in ActionStack.cpp. Renamed constant to avoid clash with definition in ActionStack.cpp 2012-02-06 01:40:22 +00:00