Jeck - Please review. Shop antialiasing, multicolored card recieves gold texture.

* Moved shop text ("press square for other cards") etc, to ShopItems, so they rendered properly (all in one place, after AA)
 * The AA is really more a proof of concept than anything else. To do it properly I'd need a double-resolution copy of shop.jpg.
 * The real multicolored card has a greenish tint, and is darker. What do you think of gold.jpg? Should we tint it more that way?
This commit is contained in:
wagic.jeck
2009-09-28 03:01:19 +00:00
parent e1027d81cb
commit aa90b53a87
9 changed files with 90 additions and 49 deletions

View File

@@ -23,7 +23,7 @@ class GameStateShop: public GameState, public JGuiListener
JLBFont * itemFont;
JQuad * mBg;
JTexture * bgTexture;
JTexture * altThumb[7];
JTexture * altThumb[8];
JQuad * mBack;
SimpleMenu * menu;
int mStage;

View File

@@ -19,6 +19,7 @@ class hgeDistortionMesh;
class ShopItem:public JGuiObject{
private:
friend class ShopItems;
bool mHasFocus;
bool mRelease;
JLBFont *mFont;
@@ -58,6 +59,7 @@ class ShopItems:public JGuiController,public JGuiListener{
PriceList * pricelist;
int mX, mY, mHeight;
JLBFont* mFont;
JQuad * mBgAA;
MTGAllCards * collection;
SimpleMenu * dialog;
int showPriceDialog;