diff --git a/projects/mtg/include/SimpleMenu.h b/projects/mtg/include/SimpleMenu.h index bb312200b..b7775eacb 100644 --- a/projects/mtg/include/SimpleMenu.h +++ b/projects/mtg/include/SimpleMenu.h @@ -18,14 +18,11 @@ class SimpleMenu:public JGuiController{ int maxItems,startId; float selectionT, selectionY; float timeOpen; - static unsigned int refCount; static JQuad *spadeR, *spadeL, *jewel, *side; static JTexture *spadeRTex, *spadeLTex, *jewelTex, *sideTex; static WFont* titleFont; static hgeParticleSystem* stars; - // This works only because of no multithreading - static PIXEL_TYPE jewelGraphics[9]; inline void MogrifyJewel(); void drawHorzPole(float x, float y, float width); diff --git a/projects/mtg/src/SimpleMenu.cpp b/projects/mtg/src/SimpleMenu.cpp index 6c66d3ef5..1fc951c81 100644 --- a/projects/mtg/src/SimpleMenu.cpp +++ b/projects/mtg/src/SimpleMenu.cpp @@ -24,12 +24,6 @@ JTexture* SimpleMenu::jewelTex = NULL; JTexture* SimpleMenu::sideTex = NULL; WFont* SimpleMenu::titleFont = NULL; hgeParticleSystem* SimpleMenu::stars = NULL; -unsigned int SimpleMenu::refCount = 0; -// Here comes the magic of jewel graphics -PIXEL_TYPE SimpleMenu::jewelGraphics[9] = {0x3FFFFFFF,0x63645AEA,0x610D0D98, - 0x63645AEA,0xFF635AD5,0xFF110F67, - 0x610D0D98,0xFF110F67,0xFD030330}; - SimpleMenu::SimpleMenu(int id, JGuiListener* listener, int fontId, float x, float y, const char * _title, int _maxItems): JGuiController(id, listener), fontId(fontId){ autoTranslate = true; @@ -43,7 +37,6 @@ SimpleMenu::SimpleMenu(int id, JGuiListener* listener, int fontId, float x, floa selectionT = 0; timeOpen = 0; closed = false; - ++refCount; selectionTargetY = selectionY = y + kVerticalMargin; JRenderer* renderer = JRenderer::GetInstance();