annotate texts.cpp @ 2271:7ffddbe09e55

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