annotate Engine/texts.cpp @ 2542:bacf9809126a

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