- Chinese patch by linshier
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-07-31 14:41:04 +00:00
parent 1704a20d09
commit f40af0b1cb
65 changed files with 21364 additions and 175 deletions

View File

@@ -171,7 +171,7 @@ string GameStateShop::descPurchase(int controlId, bool tiny){
return buffer;
}
void GameStateShop::beginPurchase(int controlId){
JLBFont * mFont = resources.GetJLBFont(Constants::MENU_FONT);
WFont * mFont = resources.GetWFont(Constants::MENU_FONT);
mFont->SetScale(DEFAULT_MENU_FONT_SCALE);
SAFE_DELETE(menu);
if(mInventory[controlId] <= 0){
@@ -556,7 +556,7 @@ void GameStateShop::deleteDisplay(){
void GameStateShop::Render()
{
//Erase
JLBFont * mFont = resources.GetJLBFont(Constants::MAIN_FONT);
WFont * mFont = resources.GetWFont(Constants::MAIN_FONT);
JRenderer * r = JRenderer::GetInstance();
r->ClearScreen(ARGB(0,0,0,0));
if(mStage == STAGE_FADE_IN)