tweaked menus a bit.

fixed possible NPE with background image retrieval
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-06 10:05:54 +00:00
parent f5d7f03086
commit b0c61049da
4 changed files with 30 additions and 36 deletions

View File

@@ -18,6 +18,9 @@ class DeckMenu:public JGuiController{
float descX, descY, descHeight, descWidth;
float statsX, statsY, statsHeight, statsWidth;
float avatarX, avatarY;
float starsOffsetX;
bool menuInitialized;
string backgroundName;
int fontId;
@@ -28,8 +31,6 @@ class DeckMenu:public JGuiController{
WFont* titleFont;
static hgeParticleSystem* stars;
// This works only because of no multithreading
static PIXEL_TYPE jewelGraphics[9];
void initMenuItems();
string getDescription();