annotate texts.cpp @ 2469:8516bb27d7f0

use_MMT
author Ritor1
date Mon, 18 Aug 2014 13:11:39 +0600
parents 1b6bf88f561b
children
rev   line source
2415
f4af3b203f65 LOD.cpp cleaned and search memory corrupt
Ritor1
parents: 2369
diff changeset
1 #define _CRTDBG_MAP_ALLOC
f4af3b203f65 LOD.cpp cleaned and search memory corrupt
Ritor1
parents: 2369
diff changeset
2 #include <stdlib.h>
f4af3b203f65 LOD.cpp cleaned and search memory corrupt
Ritor1
parents: 2369
diff changeset
3 #include <crtdbg.h>
f4af3b203f65 LOD.cpp cleaned and search memory corrupt
Ritor1
parents: 2369
diff changeset
4
2253
aff7a7b072b7 adding _CRT_SECURE_NO_WARNINGS to get rid of a few hundrer annoying warnings + adding count parameter to swprintf
Grumpy7
parents: 2153
diff changeset
5 #define _CRT_SECURE_NO_WARNINGS
2153
d28d3c006077 Some Render decoupling.
Nomad
parents: 1838
diff changeset
6 #include <string.h>
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
7
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
8 #include "LOD.h"
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
9 #include "mm7_data.h"
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
10 #include "texts.h"
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
11
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
12
2260
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
13 std::vector<char*> Tokenize( char* input, const char separator )
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
14 {
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
15 std::vector<char*> retVect;
2261
236d8d7c7295 Fixing a bug in tokenization
Grumpy7
parents: 2260
diff changeset
16 retVect.push_back(input);
2260
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
17 while (*input)
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
18 {
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
19 if (*input == separator)
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
20 {
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
21 *input = '\0';
2261
236d8d7c7295 Fixing a bug in tokenization
Grumpy7
parents: 2260
diff changeset
22 retVect.push_back(input + 1);
2260
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
23 }
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
24 ++input;
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
25 }
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
26 return retVect;
eab43c3d7767 Using new tokenizer in Items.cpp initialize function
Grumpy7
parents: 2253
diff changeset
27 }
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
28
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
29
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
30
2369
bddcaf5d5db2 removing non-nullptr conditions before frees, chaning 0 and NULL assignmnets to pointers to nullptr assignments
Grumpy7
parents: 2304
diff changeset
31 static char *pGlobalTXT_Raw=nullptr;
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
32
1838
211dfe2d8db1 changing global char* vars to const char* vars
Grumpy7
parents: 1583
diff changeset
33 std::array<const char *, MAX_LOC_STRINGS> pGlobalTXT_LocalizationStrings;
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
34
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
35
246
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
36
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1297
diff changeset
37 int sprintfex(char *buf, const char *format, ...)
246
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
38 {
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
39 va_list args_ptr;
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
40 va_start(args_ptr, format);
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
41 {
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
42 vsprintf(buf, format, args_ptr);
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
43 }
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
44 va_end(args_ptr);
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
45
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1297
diff changeset
46 extern int sprintfex_internal(char *buf);
246
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
47 return sprintfex_internal(buf);
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
48 }
1bfe546561c4 sprintfex
Nomad
parents: 189
diff changeset
49
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
50 //----- (00452B95) --------------------------------------------------------
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1297
diff changeset
51 void SetSomeItemsNames()
937
ae747684f644 stru279 removed.
Nomad
parents: 652
diff changeset
52 {
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
53 pSomeItemsNames[0] = pGlobalTXT_LocalizationStrings[568];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
54 pSomeItemsNames[1] = pGlobalTXT_LocalizationStrings[271];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
55 pSomeItemsNames[2] = pGlobalTXT_LocalizationStrings[272];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
56 pSomeItemsNames[3] = pGlobalTXT_LocalizationStrings[273];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
57 pSomeItemsNames[4] = pGlobalTXT_LocalizationStrings[274];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
58 pSomeItemsNames[5] = pGlobalTXT_LocalizationStrings[275];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
59 pSomeItemsNames[6] = pGlobalTXT_LocalizationStrings[276];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
60 pSomeItemsNames[7] = pGlobalTXT_LocalizationStrings[277];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
61 pSomeItemsNames[8] = pGlobalTXT_LocalizationStrings[278];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
62 pSomeItemsNames[9] = pGlobalTXT_LocalizationStrings[279];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
63 pSomeItemsNames[10] = pGlobalTXT_LocalizationStrings[280];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
64 pSomeItemsNames[11] = pGlobalTXT_LocalizationStrings[281];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
65 pSomeItemsNames[12] = pGlobalTXT_LocalizationStrings[282];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
66 pSomeItemsNames[13] = pGlobalTXT_LocalizationStrings[143];
937
ae747684f644 stru279 removed.
Nomad
parents: 652
diff changeset
67 }
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
68
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
69 //----- (00452C30) --------------------------------------------------------
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
70 char *RemoveQuotes(char *pStr)
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
71 {
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
72 if ( *pStr == '"' )
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
73 {
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
74 pStr[strlen(pStr) - 1] = 0;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
75 return pStr + 1;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
76 }
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
77 return pStr;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
78 }
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
79
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
80 //----- (00452C49) --------------------------------------------------------
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
81 void InitializeGameText()
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
82 {
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
83 //char *v0; // ebx@1
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
84 /*char *v1; // eax@3
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
85 int v2; // ebp@4
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
86 char v3; // dl@5
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
87 char *v4; // ecx@5
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
88 int v5; // esi@9
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
89 //char **v6; // [sp+10h] [bp-8h]@3
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
90 signed int v7; // [sp+14h] [bp-4h]@4*/
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
91 char *test_string; // eax@3
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
92 char *tmp_pos; // eax@3
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
93 int step; // ebp@4
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
94 unsigned char c; // dl@5
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
95 int temp_str_len; // ecx@5
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
96 bool string_end; // [sp+14h] [bp-4h]@4
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
97 //v0 = 0;
2369
bddcaf5d5db2 removing non-nullptr conditions before frees, chaning 0 and NULL assignmnets to pointers to nullptr assignments
Grumpy7
parents: 2304
diff changeset
98 free(pGlobalTXT_Raw);
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
99 pGlobalTXT_Raw = (char *)pEvents_LOD->LoadRaw("global.txt", 0);
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
100
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
101 /* strtok(pGlobalTXT_Raw, "\r");
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
102 strtok(nullptr, "\r");
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
103 v1 = strtok(nullptr, "\r") + 1;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
104
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
105 for (uint i = 0; i < 677; ++i)
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
106 {
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
107 char *p = v1;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
108 while (*++p != '\t' && *p);
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
109
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
110 pGlobalTXT_LocalizationStrings[i] = RemoveQuotes(p + 1);
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
111
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
112 v1 = strtok(nullptr, "\r") + 1;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
113 }*/
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
114 strtok((char *)pGlobalTXT_Raw, "\r"); //Carriage Return 0D 13
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
115 strtok(NULL, "\r"); //Carriage Return 0D 13
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
116
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
117 for (int i = 0; i < MAX_LOC_STRINGS; ++i)
2423
1b6bf88f561b fixing some memory access errors
Grumpy7
parents: 2420
diff changeset
118 {
1b6bf88f561b fixing some memory access errors
Grumpy7
parents: 2420
diff changeset
119 test_string = strtok(NULL, "\r") + 1; //Carriage Return 0D 13
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
120 step = 0;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
121 string_end = false;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
122 do
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
123 {
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
124 c = *(unsigned char*)test_string;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
125 temp_str_len = 0;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
126 if (c!= '\t' ) // Horizontal tab 09
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
127 {
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
128 do
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
129 {
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
130 if ( !c )
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
131 break;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
132 c = *(test_string+temp_str_len+1);
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
133 temp_str_len++;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
134 }
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
135 while ( c != '\t' ); // Horizontal tab 09
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
136 }
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
137 tmp_pos=test_string+temp_str_len;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
138 if (*tmp_pos == 0)
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
139 string_end = true;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
140 *tmp_pos = 0;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
141 if ( temp_str_len == 0)
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
142 string_end = true;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
143 else
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
144 {
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
145 if ( step == 1 )
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
146 pGlobalTXT_LocalizationStrings[i] = RemoveQuotes(test_string);
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
147 }
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
148 ++step;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
149 test_string=tmp_pos+1;
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
150 }
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
151 while ( step <= 2 && !string_end);
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
152 }
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
153
2304
e76b56512abd forgot to commit this one
Grumpy7
parents: 2261
diff changeset
154 SetSomeItemsNames();
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
155 aMonthNames[0] = pGlobalTXT_LocalizationStrings[415]; aMonthNames[1] = pGlobalTXT_LocalizationStrings[416];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
156 aMonthNames[2] = pGlobalTXT_LocalizationStrings[417]; aMonthNames[3] = pGlobalTXT_LocalizationStrings[418];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
157 aMonthNames[4] = pGlobalTXT_LocalizationStrings[419]; aMonthNames[5] = pGlobalTXT_LocalizationStrings[420];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
158 aMonthNames[6] = pGlobalTXT_LocalizationStrings[421]; aMonthNames[7] = pGlobalTXT_LocalizationStrings[422];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
159 aMonthNames[8] = pGlobalTXT_LocalizationStrings[423]; aMonthNames[9] = pGlobalTXT_LocalizationStrings[424];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
160 aMonthNames[10] = pGlobalTXT_LocalizationStrings[425]; aMonthNames[11] = pGlobalTXT_LocalizationStrings[426];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
161
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
162 aDayNames[0] = pGlobalTXT_LocalizationStrings[145]; aDayNames[1] = pGlobalTXT_LocalizationStrings[230];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
163 aDayNames[2] = pGlobalTXT_LocalizationStrings[243]; aDayNames[3] = pGlobalTXT_LocalizationStrings[227];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
164 aDayNames[4] = pGlobalTXT_LocalizationStrings[91]; aDayNames[5] = pGlobalTXT_LocalizationStrings[188];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
165 aDayNames[6] = pGlobalTXT_LocalizationStrings[222];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
166
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
167
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
168 pClassNames [0] = pGlobalTXT_LocalizationStrings[LOCSTR_KNIGHT];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
169 pClassNames [1] = pGlobalTXT_LocalizationStrings[LOCSTR_CAVALIER];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
170 pClassNames [2] = pGlobalTXT_LocalizationStrings[LOCSTR_CHAMPION];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
171 pClassNames [3] = pGlobalTXT_LocalizationStrings[LOCSTR_BLK_KNIGHT];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
172
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
173 pClassNames [4] = pGlobalTXT_LocalizationStrings[LOCSTR_THIEF];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
174 pClassNames [5] = pGlobalTXT_LocalizationStrings[LOCSTR_ROGUE];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
175 pClassNames [6] = pGlobalTXT_LocalizationStrings[LOCSTR_SPY];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
176 pClassNames [7] = pGlobalTXT_LocalizationStrings[LOCSTR_ASSASIN];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
177
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
178 pClassNames [8] = pGlobalTXT_LocalizationStrings[LOCSTR_MONK];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
179 pClassNames [9] = pGlobalTXT_LocalizationStrings[26];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
180 pClassNames [10] = pGlobalTXT_LocalizationStrings[432];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
181 pClassNames [11] = pGlobalTXT_LocalizationStrings[27];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
182
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
183 pClassNames [12] = pGlobalTXT_LocalizationStrings[LOCSTR_PALADIN];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
184 pClassNames [13] = pGlobalTXT_LocalizationStrings[263];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
185 pClassNames [14] = pGlobalTXT_LocalizationStrings[264];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
186 pClassNames [15] = pGlobalTXT_LocalizationStrings[28];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
187
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
188 pClassNames [16] = pGlobalTXT_LocalizationStrings[LOCSTR_ARCHER];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
189 pClassNames [17] = pGlobalTXT_LocalizationStrings[267];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
190 pClassNames [18] = pGlobalTXT_LocalizationStrings[119];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
191 pClassNames [19] = pGlobalTXT_LocalizationStrings[124];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
192
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
193 pClassNames [20] = pGlobalTXT_LocalizationStrings[LOCSTR_RANGER];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
194 pClassNames [21] = pGlobalTXT_LocalizationStrings[370];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
195 pClassNames [22] = pGlobalTXT_LocalizationStrings[33];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
196 pClassNames [23] = pGlobalTXT_LocalizationStrings[40];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
197
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
198 pClassNames [24] = pGlobalTXT_LocalizationStrings[LOCSTR_CLERIC];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
199 pClassNames [25] = pGlobalTXT_LocalizationStrings[257];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
200 pClassNames [26] = pGlobalTXT_LocalizationStrings[44];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
201 pClassNames [27] = pGlobalTXT_LocalizationStrings[46];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
202
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
203 pClassNames [28] = pGlobalTXT_LocalizationStrings[LOCSTR_DRUID];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
204 pClassNames [29] = pGlobalTXT_LocalizationStrings[269];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
205 pClassNames [30] = pGlobalTXT_LocalizationStrings[270];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
206 pClassNames [31] = pGlobalTXT_LocalizationStrings[48];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
207
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
208 pClassNames [32] = pGlobalTXT_LocalizationStrings[LOCSTR_SORCERER];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
209 pClassNames [33] = pGlobalTXT_LocalizationStrings[260];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
210 pClassNames [34] = pGlobalTXT_LocalizationStrings[261];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
211 pClassNames [35] = pGlobalTXT_LocalizationStrings[49];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
212
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
213 aCharacterConditionNames[0] = pGlobalTXT_LocalizationStrings[52];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
214 aCharacterConditionNames[1] = pGlobalTXT_LocalizationStrings[241];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
215 aCharacterConditionNames[2] = pGlobalTXT_LocalizationStrings[14];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
216 aCharacterConditionNames[3] = pGlobalTXT_LocalizationStrings[4];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
217 aCharacterConditionNames[4] = pGlobalTXT_LocalizationStrings[69];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
218 aCharacterConditionNames[5] = pGlobalTXT_LocalizationStrings[117];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
219 aCharacterConditionNames[6] = pGlobalTXT_LocalizationStrings[166];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
220 aCharacterConditionNames[7] = pGlobalTXT_LocalizationStrings[65];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
221 aCharacterConditionNames[8] = pGlobalTXT_LocalizationStrings[166];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
222 aCharacterConditionNames[9] = pGlobalTXT_LocalizationStrings[65];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
223 aCharacterConditionNames[10] = pGlobalTXT_LocalizationStrings[166];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
224 aCharacterConditionNames[11] = pGlobalTXT_LocalizationStrings[65];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
225 aCharacterConditionNames[12] = pGlobalTXT_LocalizationStrings[162];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
226 aCharacterConditionNames[13] = pGlobalTXT_LocalizationStrings[231];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
227 aCharacterConditionNames[14] = pGlobalTXT_LocalizationStrings[58];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
228 aCharacterConditionNames[15] = pGlobalTXT_LocalizationStrings[220];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
229 aCharacterConditionNames[16] = pGlobalTXT_LocalizationStrings[76];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
230 aCharacterConditionNames[17] = pGlobalTXT_LocalizationStrings[601];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
231 aCharacterConditionNames[18] = pGlobalTXT_LocalizationStrings[98];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
232
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
233 pSkillNames[0] = pGlobalTXT_LocalizationStrings[271];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
234 pSkillNames[1] = pGlobalTXT_LocalizationStrings[272];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
235 pSkillNames[2] = pGlobalTXT_LocalizationStrings[273];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
236 pSkillNames[3] = pGlobalTXT_LocalizationStrings[274];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
237 pSkillNames[4] = pGlobalTXT_LocalizationStrings[275];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
238 pSkillNames[5] = pGlobalTXT_LocalizationStrings[276];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
239 pSkillNames[6] = pGlobalTXT_LocalizationStrings[277];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
240 pSkillNames[7] = pGlobalTXT_LocalizationStrings[278];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
241 pSkillNames[8] = pGlobalTXT_LocalizationStrings[279];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
242 pSkillNames[9] = pGlobalTXT_LocalizationStrings[280];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
243 pSkillNames[10] = pGlobalTXT_LocalizationStrings[281];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
244 pSkillNames[11] = pGlobalTXT_LocalizationStrings[282];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
245 pSkillNames[12] = pGlobalTXT_LocalizationStrings[283];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
246 pSkillNames[13] = pGlobalTXT_LocalizationStrings[284];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
247 pSkillNames[14] = pGlobalTXT_LocalizationStrings[285];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
248 pSkillNames[15] = pGlobalTXT_LocalizationStrings[286];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
249 pSkillNames[16] = pGlobalTXT_LocalizationStrings[289];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
250 pSkillNames[17] = pGlobalTXT_LocalizationStrings[290];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
251 pSkillNames[18] = pGlobalTXT_LocalizationStrings[291];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
252 pSkillNames[19] = pGlobalTXT_LocalizationStrings[287];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
253 pSkillNames[20] = pGlobalTXT_LocalizationStrings[288];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
254 pSkillNames[21] = pGlobalTXT_LocalizationStrings[292];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
255 pSkillNames[22] = pGlobalTXT_LocalizationStrings[293];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
256 pSkillNames[23] = pGlobalTXT_LocalizationStrings[294];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
257 pSkillNames[24] = pGlobalTXT_LocalizationStrings[295];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
258 pSkillNames[25] = pGlobalTXT_LocalizationStrings[296];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
259 pSkillNames[26] = pGlobalTXT_LocalizationStrings[297];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
260 pSkillNames[27] = pGlobalTXT_LocalizationStrings[298];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
261 pSkillNames[28] = pGlobalTXT_LocalizationStrings[299];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
262 pSkillNames[29] = pGlobalTXT_LocalizationStrings[300];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
263 pSkillNames[30] = pGlobalTXT_LocalizationStrings[50];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
264 pSkillNames[31] = pGlobalTXT_LocalizationStrings[77];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
265 pSkillNames[32] = pGlobalTXT_LocalizationStrings[88];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
266 pSkillNames[33] = pGlobalTXT_LocalizationStrings[89];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
267 pSkillNames[34] = pGlobalTXT_LocalizationStrings[90];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
268 pSkillNames[35] = pGlobalTXT_LocalizationStrings[95];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
269 pSkillNames[36] = pGlobalTXT_LocalizationStrings[301];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
270 pSkillNames[37] = pGlobalTXT_LocalizationStrings[153];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
271
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
272 aSpellSchoolNames[0] = pGlobalTXT_LocalizationStrings[87];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
273 aSpellSchoolNames[1] = pGlobalTXT_LocalizationStrings[6];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
274 aSpellSchoolNames[2] = pGlobalTXT_LocalizationStrings[240];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
275 aSpellSchoolNames[3] = pGlobalTXT_LocalizationStrings[70];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
276 aSpellSchoolNames[4] = pGlobalTXT_LocalizationStrings[214];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
277 aSpellSchoolNames[5] = pGlobalTXT_LocalizationStrings[142];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
278 aSpellSchoolNames[6] = pGlobalTXT_LocalizationStrings[29];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
279 aSpellSchoolNames[7] = pGlobalTXT_LocalizationStrings[133];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
280 aSpellSchoolNames[8] = pGlobalTXT_LocalizationStrings[54];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
281
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
282 aAttributeNames[0] = pGlobalTXT_LocalizationStrings[144];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
283 aAttributeNames[1] = pGlobalTXT_LocalizationStrings[116];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
284 aAttributeNames[2] = pGlobalTXT_LocalizationStrings[163];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
285 aAttributeNames[3] = pGlobalTXT_LocalizationStrings[75];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
286 aAttributeNames[4] = pGlobalTXT_LocalizationStrings[1];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
287 aAttributeNames[5] = pGlobalTXT_LocalizationStrings[211];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
288 aAttributeNames[6] = pGlobalTXT_LocalizationStrings[136];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
289
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
290 aAMPMNames[0] = pGlobalTXT_LocalizationStrings[472];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
291 aAMPMNames[1] = pGlobalTXT_LocalizationStrings[473];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
292
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
293 aNPCProfessionNames[0] = pGlobalTXT_LocalizationStrings[153];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
294 aNPCProfessionNames[1] = pGlobalTXT_LocalizationStrings[308];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
295 aNPCProfessionNames[2] = pGlobalTXT_LocalizationStrings[309];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
296 aNPCProfessionNames[3] = pGlobalTXT_LocalizationStrings[7];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
297 aNPCProfessionNames[4] = pGlobalTXT_LocalizationStrings[306];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
298 aNPCProfessionNames[5] = pGlobalTXT_LocalizationStrings[310];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
299 aNPCProfessionNames[6] = pGlobalTXT_LocalizationStrings[311];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
300 aNPCProfessionNames[7] = pGlobalTXT_LocalizationStrings[312];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
301 aNPCProfessionNames[8] = pGlobalTXT_LocalizationStrings[313];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
302 aNPCProfessionNames[9] = pGlobalTXT_LocalizationStrings[314];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
303 aNPCProfessionNames[10] = pGlobalTXT_LocalizationStrings[105];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
304 aNPCProfessionNames[11] = pGlobalTXT_LocalizationStrings[315];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
305 aNPCProfessionNames[12] = pGlobalTXT_LocalizationStrings[316];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
306 aNPCProfessionNames[13] = pGlobalTXT_LocalizationStrings[317];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
307 aNPCProfessionNames[14] = pGlobalTXT_LocalizationStrings[115];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
308 aNPCProfessionNames[15] = pGlobalTXT_LocalizationStrings[318];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
309 aNPCProfessionNames[16] = pGlobalTXT_LocalizationStrings[319];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
310 aNPCProfessionNames[17] = pGlobalTXT_LocalizationStrings[320];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
311 aNPCProfessionNames[18] = pGlobalTXT_LocalizationStrings[321];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
312 aNPCProfessionNames[19] = pGlobalTXT_LocalizationStrings[322];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
313 aNPCProfessionNames[20] = pGlobalTXT_LocalizationStrings[323];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
314 aNPCProfessionNames[21] = pGlobalTXT_LocalizationStrings[293];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
315 aNPCProfessionNames[22] = pGlobalTXT_LocalizationStrings[324];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
316 aNPCProfessionNames[23] = pGlobalTXT_LocalizationStrings[498];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
317 aNPCProfessionNames[24] = pGlobalTXT_LocalizationStrings[525];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
318 aNPCProfessionNames[25] = pGlobalTXT_LocalizationStrings[327];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
319 aNPCProfessionNames[26] = pGlobalTXT_LocalizationStrings[328];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
320 aNPCProfessionNames[27] = pGlobalTXT_LocalizationStrings[329];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
321 aNPCProfessionNames[28] = pGlobalTXT_LocalizationStrings[330];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
322 aNPCProfessionNames[29] = pGlobalTXT_LocalizationStrings[331];
652
1ff57450f090 * Some fixes to TravelByTransport
Nomad
parents: 246
diff changeset
323 aNPCProfessionNames[30] = pGlobalTXT_LocalizationStrings[332];
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
324 aNPCProfessionNames[31] = pGlobalTXT_LocalizationStrings[333];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
325 aNPCProfessionNames[32] = pGlobalTXT_LocalizationStrings[334];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
326 aNPCProfessionNames[33] = pGlobalTXT_LocalizationStrings[335];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
327 aNPCProfessionNames[34] = pGlobalTXT_LocalizationStrings[336];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
328 aNPCProfessionNames[35] = pGlobalTXT_LocalizationStrings[337];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
329 aNPCProfessionNames[36] = pGlobalTXT_LocalizationStrings[338];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
330 aNPCProfessionNames[37] = pGlobalTXT_LocalizationStrings[339];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
331 aNPCProfessionNames[38] = pGlobalTXT_LocalizationStrings[340];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
332 aNPCProfessionNames[39] = pGlobalTXT_LocalizationStrings[341];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
333 aNPCProfessionNames[40] = pGlobalTXT_LocalizationStrings[342];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
334 aNPCProfessionNames[41] = pGlobalTXT_LocalizationStrings[343];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
335 aNPCProfessionNames[42] = pGlobalTXT_LocalizationStrings[596];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
336 aNPCProfessionNames[43] = pGlobalTXT_LocalizationStrings[345];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
337 aNPCProfessionNames[44] = pGlobalTXT_LocalizationStrings[346];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
338 aNPCProfessionNames[45] = pGlobalTXT_LocalizationStrings[347];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
339 aNPCProfessionNames[46] = pGlobalTXT_LocalizationStrings[348];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
340 aNPCProfessionNames[47] = pGlobalTXT_LocalizationStrings[349];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
341 aNPCProfessionNames[48] = pGlobalTXT_LocalizationStrings[350];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
342 aNPCProfessionNames[49] = pGlobalTXT_LocalizationStrings[597];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
343 aNPCProfessionNames[50] = pGlobalTXT_LocalizationStrings[352];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
344 aNPCProfessionNames[51] = pGlobalTXT_LocalizationStrings[353];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
345 aNPCProfessionNames[52] = pGlobalTXT_LocalizationStrings[598];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
346 aNPCProfessionNames[53] = pGlobalTXT_LocalizationStrings[344];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
347 aNPCProfessionNames[54] = pGlobalTXT_LocalizationStrings[26];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
348 aNPCProfessionNames[55] = pGlobalTXT_LocalizationStrings[599];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
349 aNPCProfessionNames[56] = pGlobalTXT_LocalizationStrings[21];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
350 aNPCProfessionNames[57] = pGlobalTXT_LocalizationStrings[600];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
351 aNPCProfessionNames[58] = pGlobalTXT_LocalizationStrings[370];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
352
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
353 aMoonPhaseNames[0] = pGlobalTXT_LocalizationStrings[150];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
354 aMoonPhaseNames[1] = pGlobalTXT_LocalizationStrings[171];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
355 aMoonPhaseNames[2] = pGlobalTXT_LocalizationStrings[102];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
356 aMoonPhaseNames[3] = pGlobalTXT_LocalizationStrings[169];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
357 aMoonPhaseNames[4] = pGlobalTXT_LocalizationStrings[92];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
358
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
359 aSpellNames[0] = pGlobalTXT_LocalizationStrings[202];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
360 aSpellNames[1] = pGlobalTXT_LocalizationStrings[204];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
361 aSpellNames[2] = pGlobalTXT_LocalizationStrings[219];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
362 aSpellNames[3] = pGlobalTXT_LocalizationStrings[215];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
363 aSpellNames[4] = pGlobalTXT_LocalizationStrings[208];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
364 aSpellNames[5] = pGlobalTXT_LocalizationStrings[454];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
365 aSpellNames[6] = pGlobalTXT_LocalizationStrings[24];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
366 aSpellNames[7] = pGlobalTXT_LocalizationStrings[455];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
367 aSpellNames[8] = pGlobalTXT_LocalizationStrings[441];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
368 aSpellNames[9] = pGlobalTXT_LocalizationStrings[440];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
369 aSpellNames[10] = pGlobalTXT_LocalizationStrings[218];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
370 aSpellNames[11] = pGlobalTXT_LocalizationStrings[217];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
371 aSpellNames[12] = pGlobalTXT_LocalizationStrings[213];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
372 aSpellNames[13] = pGlobalTXT_LocalizationStrings[462];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
373 aSpellNames[14] = pGlobalTXT_LocalizationStrings[279];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
374 aSpellNames[15] = pGlobalTXT_LocalizationStrings[442];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
375 aSpellNames[16] = pGlobalTXT_LocalizationStrings[452];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
376 aSpellNames[17] = pGlobalTXT_LocalizationStrings[194];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
377 aSpellNames[18] = pGlobalTXT_LocalizationStrings[456];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
378 aSpellNames[19] = pGlobalTXT_LocalizationStrings[453];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
379 aSpellNames[20] = pGlobalTXT_LocalizationStrings[202];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
380 aSpellNames[21] = pGlobalTXT_LocalizationStrings[443];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
381 aSpellNames[22] = pGlobalTXT_LocalizationStrings[204];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
382 aSpellNames[23] = pGlobalTXT_LocalizationStrings[208];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
383 aSpellNames[24] = pGlobalTXT_LocalizationStrings[221];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
384 aSpellNames[25] = pGlobalTXT_LocalizationStrings[24];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
385 aSpellNames[26] = pGlobalTXT_LocalizationStrings[228];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
386 aSpellNames[27] = pGlobalTXT_LocalizationStrings[441];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
387 aSpellNames[28] = pGlobalTXT_LocalizationStrings[440];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
388 aSpellNames[29] = pGlobalTXT_LocalizationStrings[213];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
389 aSpellNames[30] = pGlobalTXT_LocalizationStrings[229];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
390 aSpellNames[31] = pGlobalTXT_LocalizationStrings[233];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
391 aSpellNames[32] = pGlobalTXT_LocalizationStrings[234];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
392 aSpellNames[33] = pGlobalTXT_LocalizationStrings[279];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
393 aSpellNames[34] = pGlobalTXT_LocalizationStrings[442];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
394 aSpellNames[35] = pGlobalTXT_LocalizationStrings[235];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
395 aSpellNames[36] = pGlobalTXT_LocalizationStrings[246];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
396 aSpellNames[37] = pGlobalTXT_LocalizationStrings[247];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
397 aSpellNames[38] = pGlobalTXT_LocalizationStrings[248];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
398 aSpellNames[39] = pGlobalTXT_LocalizationStrings[674];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
399 aSpellNames[40] = pGlobalTXT_LocalizationStrings[249];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
400 aSpellNames[41] = pGlobalTXT_LocalizationStrings[258];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
401 aSpellNames[42] = pGlobalTXT_LocalizationStrings[194];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
402 aSpellNames[43] = pGlobalTXT_LocalizationStrings[657];
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
403 }
1297
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
404 //----- (00413FF1) --------------------------------------------------------
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
405 void SetMonthNames()
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
406 {
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
407 aMonthNames[0] = pGlobalTXT_LocalizationStrings[415];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
408 aMonthNames[1] = pGlobalTXT_LocalizationStrings[416];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
409 aMonthNames[2] = pGlobalTXT_LocalizationStrings[417];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
410 aMonthNames[3] = pGlobalTXT_LocalizationStrings[418];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
411 aMonthNames[4] = pGlobalTXT_LocalizationStrings[419];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
412 aMonthNames[5] = pGlobalTXT_LocalizationStrings[420];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
413 aMonthNames[6] = pGlobalTXT_LocalizationStrings[421];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
414 aMonthNames[7] = pGlobalTXT_LocalizationStrings[422];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
415 aMonthNames[8] = pGlobalTXT_LocalizationStrings[423];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
416 aMonthNames[9] = pGlobalTXT_LocalizationStrings[424];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
417 aMonthNames[10] = pGlobalTXT_LocalizationStrings[425];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
418 aMonthNames[11] = pGlobalTXT_LocalizationStrings[426];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
419 }
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
420
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
421 //----- (0041406F) --------------------------------------------------------
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
422 void SetDayNames()
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
423 {
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
424 aDayNames[0] = pGlobalTXT_LocalizationStrings[145];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
425 aDayNames[1] = pGlobalTXT_LocalizationStrings[230];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
426 aDayNames[2] = pGlobalTXT_LocalizationStrings[243];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
427 aDayNames[3] = pGlobalTXT_LocalizationStrings[227];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
428 aDayNames[4] = pGlobalTXT_LocalizationStrings[91];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
429 aDayNames[5] = pGlobalTXT_LocalizationStrings[188];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
430 aDayNames[6] = pGlobalTXT_LocalizationStrings[222];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
431 }
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
432
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
433 //----- (004140BB) --------------------------------------------------------
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
434 void SetSpellSchoolNames()
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
435 {
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
436 aSpellSchoolNames[0] = pGlobalTXT_LocalizationStrings[87];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
437 aSpellSchoolNames[1] = pGlobalTXT_LocalizationStrings[6];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
438 aSpellSchoolNames[2] = pGlobalTXT_LocalizationStrings[240];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
439 aSpellSchoolNames[3] = pGlobalTXT_LocalizationStrings[70];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
440 aSpellSchoolNames[4] = pGlobalTXT_LocalizationStrings[214];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
441 aSpellSchoolNames[5] = pGlobalTXT_LocalizationStrings[142];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
442 aSpellSchoolNames[6] = pGlobalTXT_LocalizationStrings[29];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
443 aSpellSchoolNames[7] = pGlobalTXT_LocalizationStrings[133];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
444 aSpellSchoolNames[8] = pGlobalTXT_LocalizationStrings[54];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
445 }
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
446
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
447 //----- (0041411B) --------------------------------------------------------
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
448 void SetAttributeNames()
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
449 {
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
450 aAttributeNames[0] = pGlobalTXT_LocalizationStrings[144];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
451 aAttributeNames[1] = pGlobalTXT_LocalizationStrings[116];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
452 aAttributeNames[2] = pGlobalTXT_LocalizationStrings[163];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
453 aAttributeNames[3] = pGlobalTXT_LocalizationStrings[75];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
454 aAttributeNames[4] = pGlobalTXT_LocalizationStrings[1];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
455 aAttributeNames[5] = pGlobalTXT_LocalizationStrings[211];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
456 aAttributeNames[6] = pGlobalTXT_LocalizationStrings[136];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
457 }
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
458 //----- (00410AF5) --------------------------------------------------------
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1297
diff changeset
459 void SetMoonPhaseNames()
1297
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
460 {
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
461 aMoonPhaseNames[0] = pGlobalTXT_LocalizationStrings[150];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
462 aMoonPhaseNames[1] = pGlobalTXT_LocalizationStrings[171];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
463 aMoonPhaseNames[2] = pGlobalTXT_LocalizationStrings[102];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
464 aMoonPhaseNames[3] = pGlobalTXT_LocalizationStrings[169];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
465 aMoonPhaseNames[4] = pGlobalTXT_LocalizationStrings[92];
5450af4f57ef moving files mm7_x ending
Ritor1
parents: 1207
diff changeset
466 }
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
467
038a4d09406f new texts file, fix text rendender error
Gloval
parents:
diff changeset
468