- Added CC Avatar
- Fixed a segfault bug when selling cards
- Added a few messages in the credits
- Show types of a card in "Alternate" display
- This update should get rid of all copyrighted contents
This commit is contained in:
wagic.the.homebrew
2009-02-01 06:29:29 +00:00
parent 2d37fafe53
commit 9454ac88fe
9 changed files with 79 additions and 54 deletions
+8
View File
@@ -352,6 +352,14 @@ void MTGGuiPlay::Render(){
RenderPlayerInfo(0);
RenderPlayerInfo(1);
int opponentHand = game->players[1]->game->hand->nb_cards;
char buffer[10];
sprintf(buffer,"%i",opponentHand);
mFont->SetColor(ARGB(128,0,0,0));
mFont->DrawString(buffer, 56, 20);
mFont->SetColor(ARGB(255,255,255,255));
mFont->DrawString(buffer, 54, 18);
if (mGlitterAlpha < 0){
mGlitterAlpha = 510;
int position = rand() % 2;