comparison UI/UiGame.cpp @ 1838:211dfe2d8db1

changing global char* vars to const char* vars
author Grumpy7
date Fri, 11 Oct 2013 09:19:40 +0200
parents 35c1e4ff6ba7
children c1c74df0a33e
comparison
equal deleted inserted replaced
1829:e4e27261d84e 1838:211dfe2d8db1
353 int v42; // edi@102 353 int v42; // edi@102
354 int v45; 354 int v45;
355 unsigned __int16 pTextColor; // ax@104 355 unsigned __int16 pTextColor; // ax@104
356 GUIWindow window; // [sp+ACh] [bp-68h]@42 356 GUIWindow window; // [sp+ACh] [bp-68h]@42
357 GUIFont *pOutString; // [sp+10Ch] [bp-8h]@39 357 GUIFont *pOutString; // [sp+10Ch] [bp-8h]@39
358 char *pInString=NULL; // [sp+110h] [bp-4h]@32 358 const char *pInString=NULL; // [sp+110h] [bp-4h]@32
359 359
360 if ( !pDialogueWindow ) 360 if ( !pDialogueWindow )
361 return; 361 return;
362 362
363 // Window title(Заголовок окна)---- 363 // Window title(Заголовок окна)----
751 void GameUI_CharacterQuickRecord_Draw(GUIWindow *window, Player *player) 751 void GameUI_CharacterQuickRecord_Draw(GUIWindow *window, Player *player)
752 { 752 {
753 Texture *v13; // eax@6 753 Texture *v13; // eax@6
754 PlayerFrame *v15; // eax@12 754 PlayerFrame *v15; // eax@12
755 unsigned int pTextColor; // eax@15 755 unsigned int pTextColor; // eax@15
756 char *v29; // eax@16 756 const char *v29; // eax@16
757 int v36; // esi@22 757 int v36; // esi@22
758 char *v39; // eax@24 758 const char *v39; // eax@24
759 signed int uFramesetID; // [sp+20h] [bp-8h]@9 759 signed int uFramesetID; // [sp+20h] [bp-8h]@9
760 int uFramesetIDa; // [sp+20h] [bp-8h]@18 760 int uFramesetIDa; // [sp+20h] [bp-8h]@18
761 761
762 uint numActivePlayerBuffs = 0; 762 uint numActivePlayerBuffs = 0;
763 for (uint i = 0; i < 24; ++i) 763 for (uint i = 0; i < 24; ++i)
841 { 841 {
842 unsigned int pTextColor; // eax@7 842 unsigned int pTextColor; // eax@7
843 unsigned int pX; // [sp+14h] [bp-18h]@2 843 unsigned int pX; // [sp+14h] [bp-18h]@2
844 unsigned int pY; // edi@9 844 unsigned int pY; // edi@9
845 int pSkillsCount; // ecx@27 845 int pSkillsCount; // ecx@27
846 char *pText; // eax@38 846 const char *pText; // eax@38
847 int pFontHeight; // [sp+18h] [bp-14h]@1 847 int pFontHeight; // [sp+18h] [bp-14h]@1
848 848
849 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->LoadTexturePtr("quikref", TEXTURE_16BIT_PALETTE)); 849 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->LoadTexturePtr("quikref", TEXTURE_16BIT_PALETTE));
850 pFontHeight = LOBYTE(pFontArrus->uFontHeight) + 1; 850 pFontHeight = LOBYTE(pFontArrus->uFontHeight) + 1;
851 for ( uint i = 0; i < 4; ++i ) 851 for ( uint i = 0; i < 4; ++i )