comparison UI/UIPopup.cpp @ 1838:211dfe2d8db1

changing global char* vars to const char* vars
author Grumpy7
date Fri, 11 Oct 2013 09:19:40 +0200
parents 633f81bb3ae7
children 175bf8da83d9
comparison
equal deleted inserted replaced
1829:e4e27261d84e 1838:211dfe2d8db1
109 void GameUI_DrawItemInfo( struct ItemGen* inspect_item ) 109 void GameUI_DrawItemInfo( struct ItemGen* inspect_item )
110 { 110 {
111 unsigned int v2; // eax@3 111 unsigned int v2; // eax@3
112 const char *v28; // edi@69 112 const char *v28; // edi@69
113 int v34; // esi@81 113 int v34; // esi@81
114 char *pText; // [sp-14h] [bp-28Ch]@110 114 const char *pText; // [sp-14h] [bp-28Ch]@110
115 char out_text[300]; // [sp+8h] [bp-270h]@40 115 char out_text[300]; // [sp+8h] [bp-270h]@40
116 char v65[120]; // [sp+134h] [bp-144h]@92 116 char v65[120]; // [sp+134h] [bp-144h]@92
117 stru351_summoned_item v67; 117 stru351_summoned_item v67;
118 int v77; // [sp+200h] [bp-78h]@12 118 int v77; // [sp+200h] [bp-78h]@12
119 int v78; // [sp+204h] [bp-74h]@5 119 int v78; // [sp+204h] [bp-74h]@5
446 int pTextHeight; // edi@90 446 int pTextHeight; // edi@90
447 PlayerSpeech speech; // [sp-8h] [bp-1F4h]@79 447 PlayerSpeech speech; // [sp-8h] [bp-1F4h]@79
448 DDBLTFX Dst; // [sp+Ch] [bp-1E0h]@18 448 DDBLTFX Dst; // [sp+Ch] [bp-1E0h]@18
449 DDSURFACEDESC2 pDesc; // [sp+70h] [bp-17Ch]@18 449 DDSURFACEDESC2 pDesc; // [sp+70h] [bp-17Ch]@18
450 RECT v84; // [sp+ECh] [bp-100h]@26 450 RECT v84; // [sp+ECh] [bp-100h]@26
451 char *string_name[10]; // [sp+FCh] [bp-F0h]@145 451 const char *string_name[10]; // [sp+FCh] [bp-F0h]@145
452 char *content[11]; // [sp+124h] [bp-C8h]@127 452 const char *content[11]; // [sp+124h] [bp-C8h]@127
453 RenderBillboardTransform_local0 v106; // [sp+150h] [bp-9Ch]@3 453 RenderBillboardTransform_local0 v106; // [sp+150h] [bp-9Ch]@3
454 unsigned int v107; // [sp+1A0h] [bp-4Ch]@18 454 unsigned int v107; // [sp+1A0h] [bp-4Ch]@18
455 unsigned __int16 *v108; // [sp+1A4h] [bp-48h]@34 455 unsigned __int16 *v108; // [sp+1A4h] [bp-48h]@34
456 unsigned int v109; // [sp+1A8h] [bp-44h]@32 456 unsigned int v109; // [sp+1A8h] [bp-44h]@32
457 LPVOID v110; // [sp+1ACh] [bp-40h]@28 457 LPVOID v110; // [sp+1ACh] [bp-40h]@28
458 bool for_effects; // [sp+1C0h] [bp-2Ch]@3 458 bool for_effects; // [sp+1C0h] [bp-2Ch]@3
459 bool normal_level; // [sp+1D0h] [bp-1Ch]@18 459 bool normal_level; // [sp+1D0h] [bp-1Ch]@18
460 bool expert_level; // [sp+1C4h] [bp-28h]@18 460 bool expert_level; // [sp+1C4h] [bp-28h]@18
461 bool master_level; // [sp+1C8h] [bp-24h]@18 461 bool master_level; // [sp+1C8h] [bp-24h]@18
462 bool grandmaster_level; // [sp+1B4h] [bp-38h]@3 462 bool grandmaster_level; // [sp+1B4h] [bp-38h]@3
463 char *pText; // [sp+1D4h] [bp-18h]@18 463 const char *pText; // [sp+1D4h] [bp-18h]@18
464 int pTextColorID; // [sp+1E4h] [bp-8h]@18 464 int pTextColorID; // [sp+1E4h] [bp-8h]@18
465 int a4; // [sp+1E8h] [bp-4h]@18 465 int a4; // [sp+1E8h] [bp-4h]@18
466 int v115; 466 int v115;
467 467
468 bool monster_full_informations = false; 468 bool monster_full_informations = false;
1067 //----- (00418083) -------------------------------------------------------- 1067 //----- (00418083) --------------------------------------------------------
1068 void CharacterUI_StatsTab_ShowHint() 1068 void CharacterUI_StatsTab_ShowHint()
1069 { 1069 {
1070 int pStringNum; // edi@1 1070 int pStringNum; // edi@1
1071 signed int pTextColor; // eax@15 1071 signed int pTextColor; // eax@15
1072 char *pHourWord; // ecx@17 1072 const char *pHourWord; // ecx@17
1073 char *pDayWord; // eax@20 1073 const char *pDayWord; // eax@20
1074 int v15; // ebx@28 1074 int v15; // ebx@28
1075 POINT a2; // [sp+Ch] [bp-24h]@1 1075 POINT a2; // [sp+Ch] [bp-24h]@1
1076 int pHour; // [sp+14h] [bp-1Ch]@15 1076 int pHour; // [sp+14h] [bp-1Ch]@15
1077 unsigned int pDay; // [sp+24h] [bp-Ch]@15 1077 unsigned int pDay; // [sp+24h] [bp-Ch]@15
1078 1078
1286 //----- (00416D62) -------------------------------------------------------- 1286 //----- (00416D62) --------------------------------------------------------
1287 void UI_OnMouseRightClick(Vec2_int_ *_this) 1287 void UI_OnMouseRightClick(Vec2_int_ *_this)
1288 { 1288 {
1289 int v5; // esi@62 1289 int v5; // esi@62
1290 GUIButton *pButton; // esi@84 1290 GUIButton *pButton; // esi@84
1291 char *pStr; // edi@85 1291 const char *pStr; // edi@85
1292 char *pHint; // edx@113 1292 char *pHint; // edx@113
1293 GUIWindow popup_window; // [sp+4h] [bp-74h]@32 1293 GUIWindow popup_window; // [sp+4h] [bp-74h]@32
1294 struct tagPOINT Point; // [sp+60h] [bp-18h]@6 1294 struct tagPOINT Point; // [sp+60h] [bp-18h]@6
1295 unsigned int pX; // [sp+70h] [bp-8h]@3 1295 unsigned int pX; // [sp+70h] [bp-8h]@3
1296 unsigned int pY; // [sp+74h] [bp-4h]@3 1296 unsigned int pY; // [sp+74h] [bp-4h]@3