diff 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
line wrap: on
line diff
--- a/UI/UIPopup.cpp	Fri Oct 11 07:29:14 2013 +0200
+++ b/UI/UIPopup.cpp	Fri Oct 11 09:19:40 2013 +0200
@@ -111,7 +111,7 @@
   unsigned int v2; // eax@3
   const char *v28; // edi@69
   int v34; // esi@81
-  char *pText; // [sp-14h] [bp-28Ch]@110
+  const char *pText; // [sp-14h] [bp-28Ch]@110
   char out_text[300]; // [sp+8h] [bp-270h]@40
   char v65[120]; // [sp+134h] [bp-144h]@92
   stru351_summoned_item v67;
@@ -448,8 +448,8 @@
   DDBLTFX Dst; // [sp+Ch] [bp-1E0h]@18
   DDSURFACEDESC2 pDesc; // [sp+70h] [bp-17Ch]@18
   RECT v84; // [sp+ECh] [bp-100h]@26
-  char *string_name[10]; // [sp+FCh] [bp-F0h]@145
-  char *content[11]; // [sp+124h] [bp-C8h]@127
+  const char *string_name[10]; // [sp+FCh] [bp-F0h]@145
+  const char *content[11]; // [sp+124h] [bp-C8h]@127
   RenderBillboardTransform_local0 v106; // [sp+150h] [bp-9Ch]@3
   unsigned int v107; // [sp+1A0h] [bp-4Ch]@18
   unsigned __int16 *v108; // [sp+1A4h] [bp-48h]@34
@@ -460,7 +460,7 @@
   bool expert_level; // [sp+1C4h] [bp-28h]@18
   bool master_level; // [sp+1C8h] [bp-24h]@18
   bool grandmaster_level; // [sp+1B4h] [bp-38h]@3
-  char *pText; // [sp+1D4h] [bp-18h]@18
+  const char *pText; // [sp+1D4h] [bp-18h]@18
   int pTextColorID; // [sp+1E4h] [bp-8h]@18
   int a4; // [sp+1E8h] [bp-4h]@18
   int v115;
@@ -1069,8 +1069,8 @@
 {
   int pStringNum; // edi@1
   signed int pTextColor; // eax@15
-  char *pHourWord; // ecx@17
-  char *pDayWord; // eax@20
+  const char *pHourWord; // ecx@17
+  const char *pDayWord; // eax@20
   int v15; // ebx@28
   POINT a2; // [sp+Ch] [bp-24h]@1
   int pHour; // [sp+14h] [bp-1Ch]@15
@@ -1288,7 +1288,7 @@
 {
   int v5; // esi@62
   GUIButton *pButton; // esi@84
-  char *pStr; // edi@85
+  const char *pStr; // edi@85
   char *pHint; // edx@113
   GUIWindow popup_window; // [sp+4h] [bp-74h]@32
   struct tagPOINT Point; // [sp+60h] [bp-18h]@6