* Add a plasma effect on the cards back
This commit is contained in:
jean.chalard
2009-05-30 14:06:52 +00:00
parent 5de26cc509
commit b4d040b263
13 changed files with 145 additions and 51 deletions
+2 -3
View File
@@ -2,6 +2,7 @@
cards in play, graveyard, library, games phases, Players avatars
*/
#include <math.h>
#include "../include/config.h"
#include "../include/MTGGuiPlay.h"
#include "../include/MTGCardInstance.h"
@@ -66,6 +67,7 @@ MTGGuiPlay::MTGGuiPlay(int id, GameObserver * _game):PlayGuiObjectController(id,
mBg2 = NULL;
GameApp::systemError = "error Loading Texture mBgTex2 in MTGGuiPlay intialization";
}
alphaBg[0] = 0;
AddPlayersGuiInfo();
}
@@ -250,11 +252,8 @@ void MTGGuiPlay::updateCards(){
setTargettingCardPosition(cardGui, 1, !player0Mode);
}
}
void MTGGuiPlay::AddPlayersGuiInfo(){
//init with the players objects
if (mCount == 0){