comparison texts.cpp @ 1458:934074e7fcc1

ModalWindow __thiscall and __cdecl removed Some random renames & refactors
author Nomad
date Wed, 21 Aug 2013 14:26:36 +0200
parents 5450af4f57ef
children 75fafd8ced59
comparison
equal deleted inserted replaced
1457:9dc33590f93e 1458:934074e7fcc1
16 16
17 std::array<char *, MAX_LOC_STRINGS> pGlobalTXT_LocalizationStrings; 17 std::array<char *, MAX_LOC_STRINGS> pGlobalTXT_LocalizationStrings;
18 18
19 19
20 20
21 int __cdecl sprintfex(char *buf, const char *format, ...) 21 int sprintfex(char *buf, const char *format, ...)
22 { 22 {
23 va_list args_ptr; 23 va_list args_ptr;
24 va_start(args_ptr, format); 24 va_start(args_ptr, format);
25 { 25 {
26 vsprintf(buf, format, args_ptr); 26 vsprintf(buf, format, args_ptr);
27 } 27 }
28 va_end(args_ptr); 28 va_end(args_ptr);
29 29
30 extern int __cdecl sprintfex_internal(char *buf); 30 extern int sprintfex_internal(char *buf);
31 return sprintfex_internal(buf); 31 return sprintfex_internal(buf);
32 } 32 }
33 33
34 //----- (00452B95) -------------------------------------------------------- 34 //----- (00452B95) --------------------------------------------------------
35 void __cdecl SetSomeItemsNames() 35 void SetSomeItemsNames()
36 { 36 {
37 pSomeItemsNames[0] = pGlobalTXT_LocalizationStrings[568]; 37 pSomeItemsNames[0] = pGlobalTXT_LocalizationStrings[568];
38 pSomeItemsNames[1] = pGlobalTXT_LocalizationStrings[271]; 38 pSomeItemsNames[1] = pGlobalTXT_LocalizationStrings[271];
39 pSomeItemsNames[2] = pGlobalTXT_LocalizationStrings[272]; 39 pSomeItemsNames[2] = pGlobalTXT_LocalizationStrings[272];
40 pSomeItemsNames[3] = pGlobalTXT_LocalizationStrings[273]; 40 pSomeItemsNames[3] = pGlobalTXT_LocalizationStrings[273];
440 aAttributeNames[4] = pGlobalTXT_LocalizationStrings[1]; 440 aAttributeNames[4] = pGlobalTXT_LocalizationStrings[1];
441 aAttributeNames[5] = pGlobalTXT_LocalizationStrings[211]; 441 aAttributeNames[5] = pGlobalTXT_LocalizationStrings[211];
442 aAttributeNames[6] = pGlobalTXT_LocalizationStrings[136]; 442 aAttributeNames[6] = pGlobalTXT_LocalizationStrings[136];
443 } 443 }
444 //----- (00410AF5) -------------------------------------------------------- 444 //----- (00410AF5) --------------------------------------------------------
445 void __cdecl SetMoonPhaseNames() 445 void SetMoonPhaseNames()
446 { 446 {
447 aMoonPhaseNames[0] = pGlobalTXT_LocalizationStrings[150]; 447 aMoonPhaseNames[0] = pGlobalTXT_LocalizationStrings[150];
448 aMoonPhaseNames[1] = pGlobalTXT_LocalizationStrings[171]; 448 aMoonPhaseNames[1] = pGlobalTXT_LocalizationStrings[171];
449 aMoonPhaseNames[2] = pGlobalTXT_LocalizationStrings[102]; 449 aMoonPhaseNames[2] = pGlobalTXT_LocalizationStrings[102];
450 aMoonPhaseNames[3] = pGlobalTXT_LocalizationStrings[169]; 450 aMoonPhaseNames[3] = pGlobalTXT_LocalizationStrings[169];