0
|
1 #pragma once
|
|
2
|
|
3
|
2
|
4 struct NPCTopic
|
|
5 {
|
|
6 const char *pTopic;
|
|
7 const char *pText;
|
|
8 };
|
|
9
|
|
10 extern NPCTopic pNPCTopics[789];
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
0
|
16 /* 136 */
|
|
17 #pragma pack(push, 1)
|
|
18 struct NPCData
|
|
19 {
|
|
20 char *pName;
|
|
21 unsigned int uPortraitID;
|
|
22 unsigned int uFlags;
|
|
23 int fame;
|
|
24 int rep;
|
|
25 int house;
|
|
26 unsigned int uProfession;
|
|
27 int greet;
|
|
28 int joins;
|
|
29 int field_24;
|
|
30 unsigned int bDrawSomeAnim;
|
|
31 int evtb;
|
|
32 int evtc;
|
|
33 int evtd;
|
|
34 int evte;
|
|
35 int evtf;
|
|
36 int uSex;
|
|
37 int bHasUsedTheAbility;
|
|
38 int news_topic;
|
|
39 };
|
|
40 #pragma pack(pop)
|
|
41
|
|
42
|
|
43 /* 138 */
|
|
44 #pragma pack(push, 1)
|
|
45 struct NPCProfession
|
|
46 {
|
|
47 unsigned int uHirePrice;
|
|
48 char *pBenefits;
|
|
49 char *pActionText;
|
|
50 char *pJoinText;
|
|
51 char *pDismissText;
|
|
52 };
|
|
53 #pragma pack(pop)
|
|
54
|
|
55
|
|
56 /* 139 */
|
|
57 #pragma pack(push, 1)
|
|
58 struct NPCStats_stru0
|
|
59 {
|
|
60 int field_0;
|
|
61 char field_4[60];
|
|
62 };
|
|
63 #pragma pack(pop)
|
|
64
|
|
65 /* 140 */
|
|
66 #pragma pack(push, 1)
|
|
67 struct NPCGreeting
|
|
68 {
|
|
69 char *pGreeting1;
|
|
70 char *pGreeting2;
|
|
71 };
|
|
72 #pragma pack(pop)
|
|
73
|
|
74
|
|
75
|
|
76 /* 137 */
|
|
77 #pragma pack(push, 1)
|
|
78 struct NPCStats
|
|
79 {
|
2
|
80 inline NPCStats():
|
|
81 pNPCTextTXT_Raw(nullptr), pNPCTopicTXT_Raw(nullptr), pNPCDistTXT_Raw(nullptr)
|
|
82 {}
|
|
83
|
0
|
84 void Initialize2();
|
|
85 void Initialize1();
|
|
86 void Initialize();
|
|
87 void Release();
|
|
88 int InitializeAdditionalNPCs(NPCData *a2, int a3, int a4, int a5);
|
|
89 void _476C60();
|
|
90
|
|
91
|
|
92 NPCData pNPCData[501];
|
|
93 NPCData pNewNPCData[501];
|
|
94 char *pNPCNames[540][2];
|
|
95 int field_13A58;
|
|
96 int field_13A5C;
|
|
97 int field_13A60;
|
|
98 int field_13A64;
|
|
99 int field_13A68;
|
|
100 NPCProfession pProfessions[58];
|
|
101 NPCData array_13EF4[100];
|
|
102 char *pCatchPhrases[52];
|
|
103 char *pNPCNames2[500];
|
|
104 NPCStats_stru0 array_16544[77];
|
|
105 int field_17884;
|
|
106 int field_17888;
|
|
107 NPCGreeting pNPCGreetings[205];
|
|
108 unsigned __int16 pGroups[51];
|
|
109 unsigned __int16 pGroups_copy[51];
|
|
110 int field_17FC0;
|
|
111 unsigned int uNumNewNPCs;
|
|
112 int field_17FC8;
|
|
113 unsigned int uNumNPCProfessions;
|
|
114 unsigned int uNumNPCNames[2];
|
|
115 char *pNPCDataTXT_Raw;
|
|
116 char *pNPCNamesTXT_Raw;
|
|
117 char *pNPCProfTXT_Raw;
|
|
118 char *pNPCNewsTXT_Raw;
|
|
119 char *pNPCTopicTXT_Raw;
|
|
120 char *pNPCTextTXT_Raw;
|
|
121 char *pNPCDistTXT_Raw;
|
|
122 char *pNPCGreetTXT_Raw;
|
|
123 char *pNCPGroupTXT_Raw;
|
|
124 };
|
|
125 #pragma pack(pop)
|
|
126
|