Reworked a patch sent to us (http://wololo.net/forum/viewtopic.php?f=15&t=2464) that replaces the text symbols for the psp buttons with the actual icons. While at it, I found a bunch of issues with the ActionStack's render code (ie when you get the popup menu to interrupt a spell being played & the like) - the bounding rect actually went above the screen's region, clipping problems (the interrupt text was previously drawing over the interrupt effect), alignment problems when the avatar was being drawn, vertical text alignment, fudged alignment numbers for the quads that didn't make any sense, etc.

I also tweaked slightly the psp icons to center the symbols, as they were too much to the right.  (Be sure to copy the updated graphics/iconspsp.png to your Res folder.)
This commit is contained in:
wrenczes@gmail.com
2011-01-13 09:56:55 +00:00
parent bd529c3618
commit e5edf779f5
5 changed files with 106 additions and 54 deletions

View File

@@ -59,6 +59,7 @@ private:
class GameStateShop: public GameState, public JGuiListener
{
private:
JQuad * pspIcons[8];
WSrcCards * srcCards;
JTexture * altThumb[8];
JQuad * mBack;