annotate Engine/texts.cpp @ 2511:fb1c61a82a55

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