Erwan
- Chinese patch by linshier
This commit is contained in:
@@ -350,7 +350,7 @@ void MTGMomirRule::Update(float dt){
|
||||
|
||||
void MTGMomirRule::Render(){
|
||||
if (!textAlpha) return;
|
||||
JLBFont * mFont = resources.GetJLBFont(Constants::MENU_FONT);
|
||||
WFont * mFont = resources.GetWFont(Constants::MENU_FONT);
|
||||
mFont->SetScale(2 - (float)textAlpha/130);
|
||||
mFont->SetColor(ARGB(textAlpha,255,255,255));
|
||||
mFont->DrawString(text.c_str(),SCREEN_WIDTH/2,SCREEN_HEIGHT/2,JGETEXT_CENTER);
|
||||
@@ -446,7 +446,7 @@ void HUDDisplay::Render(){
|
||||
HUDDisplay::HUDDisplay(int _id):MTGAbility(_id, NULL){
|
||||
timestamp = 0;
|
||||
popdelay = 2;
|
||||
f = resources.GetJLBFont(Constants::MAIN_FONT);
|
||||
f = resources.GetWFont(Constants::MAIN_FONT);
|
||||
maxWidth = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user