comparison UI/UICharacter.cpp @ 1838:211dfe2d8db1

changing global char* vars to const char* vars
author Grumpy7
date Fri, 11 Oct 2013 09:19:40 +0200
parents 5f9eeb7bf8e6
children a86c60679949
comparison
equal deleted inserted replaced
1829:e4e27261d84e 1838:211dfe2d8db1
1993 1993
1994 //----- (00418511) -------------------------------------------------------- 1994 //----- (00418511) --------------------------------------------------------
1995 void CharacterUI_StatsTab_Draw( Player *player ) 1995 void CharacterUI_StatsTab_Draw( Player *player )
1996 { 1996 {
1997 int pY; // ST34_4@4 1997 int pY; // ST34_4@4
1998 char *pText; // eax@9 1998 const char *pText; // eax@9
1999 const char *a2; // [sp+14h] [bp-Ch]@4 1999 const char *a2; // [sp+14h] [bp-Ch]@4
2000 2000
2001 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->LoadTexturePtr("fr_stats", TEXTURE_16BIT_PALETTE)); 2001 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->LoadTexturePtr("fr_stats", TEXTURE_16BIT_PALETTE));
2002 sprintf(pTmpBuf.data(), "\f%05d", ui_character_header_text_color); 2002 sprintf(pTmpBuf.data(), "\f%05d", ui_character_header_text_color);
2003 sprintfex(pTmpBuf2.data(), pGlobalTXT_LocalizationStrings[429], player->pName, pClassNames[player->classType]);//"^Pi[%s] %s" / "%s the %s" 2003 sprintfex(pTmpBuf2.data(), pGlobalTXT_LocalizationStrings[429], player->pName, pClassNames[player->classType]);//"^Pi[%s] %s" / "%s the %s"