Synchronized avatar images to be loaded correctly on first display of the opponent selection.

* changed how the avatar images are assigned since how they were before was incorrect.  They are now assigned upon instantiation of the meta file.  Not when the stats are calculated.  
* Added new image for "Evil Twin".  This is a horizontally flipped image of the original player avatar with a red background.  Please feel free to edit the image.
* removed display of avatar image on menu items in deck selection that are not deck related. (ie "Cancel", "Back to Main Menu", etc)  "New Deck" also does not have an image since no deck really exists yet so no avatar.  

Issue: 622
This commit is contained in:
techdragon.nguyen@gmail.com
2011-04-20 17:51:40 +00:00
parent ba7640079c
commit 2fdc80aee1
7 changed files with 48 additions and 27 deletions

View File

@@ -247,6 +247,7 @@ void DeckMenu::Render()
if (quad.get())
renderer->RenderQuad(quad.get(), avatarX, avatarY);
}
// fill in the description part of the screen
string text = wordWrap(_(currentMenuItem->desc), descWidth, mainFont->mFontID );
mainFont->DrawString(text.c_str(), descX, descY);