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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user