ok made minor changes to mikes last commit, instead of loading "nothing" im making it load a card back instead, that black hole drove me nuts....second instead of loading a premade "evil twin" i made it load what ever the users avatar was flipped horizontally. didn't tint it red becuase i am not that attuned to the graphics side of wagic.

This commit is contained in:
omegablast2002@yahoo.com
2011-04-20 20:24:53 +00:00
parent 78e34386ee
commit b2ef742ec8
2 changed files with 27 additions and 7 deletions

View File

@@ -47,15 +47,18 @@ DeckMenuItem::DeckMenuItem(DeckMenu* _parent, int id, int fontId, string text, f
switch(id)
{
case kRandomPlayerMenuID:
this->imageFilename = "avatar.jpg";
this->imageFilename = "noavatar.jpg";
break;
case kRandomAIPlayerMenuID:
this->imageFilename = "avatar.jpg";
this->imageFilename = "noavatar.jpg";
break;
case kEvilTwinMenuID:
this->imageFilename = "avatar_evil_twin.jpg";
break;
{
this->imageFilename = "EvilTwinAvatar";
break;
}
default:
this->imageFilename = "noavatar.jpg";
// do nothing.
break;
}