Mercurial > might-and-magic-trilogy
comparison NPC.h @ 0:8b8875f5b359
Initial commit
author | Nomad |
---|---|
date | Fri, 05 Oct 2012 16:07:14 +0200 |
parents | |
children | 2ca04ccb612a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8b8875f5b359 |
---|---|
1 #pragma once | |
2 | |
3 | |
4 /* 136 */ | |
5 #pragma pack(push, 1) | |
6 struct NPCData | |
7 { | |
8 char *pName; | |
9 unsigned int uPortraitID; | |
10 unsigned int uFlags; | |
11 int fame; | |
12 int rep; | |
13 int house; | |
14 unsigned int uProfession; | |
15 int greet; | |
16 int joins; | |
17 int field_24; | |
18 unsigned int bDrawSomeAnim; | |
19 int evtb; | |
20 int evtc; | |
21 int evtd; | |
22 int evte; | |
23 int evtf; | |
24 int uSex; | |
25 int bHasUsedTheAbility; | |
26 int news_topic; | |
27 }; | |
28 #pragma pack(pop) | |
29 | |
30 | |
31 /* 138 */ | |
32 #pragma pack(push, 1) | |
33 struct NPCProfession | |
34 { | |
35 unsigned int uHirePrice; | |
36 char *pBenefits; | |
37 char *pActionText; | |
38 char *pJoinText; | |
39 char *pDismissText; | |
40 }; | |
41 #pragma pack(pop) | |
42 | |
43 | |
44 /* 139 */ | |
45 #pragma pack(push, 1) | |
46 struct NPCStats_stru0 | |
47 { | |
48 int field_0; | |
49 char field_4[60]; | |
50 }; | |
51 #pragma pack(pop) | |
52 | |
53 /* 140 */ | |
54 #pragma pack(push, 1) | |
55 struct NPCGreeting | |
56 { | |
57 char *pGreeting1; | |
58 char *pGreeting2; | |
59 }; | |
60 #pragma pack(pop) | |
61 | |
62 | |
63 | |
64 /* 137 */ | |
65 #pragma pack(push, 1) | |
66 struct NPCStats | |
67 { | |
68 void Initialize2(); | |
69 void Initialize1(); | |
70 void Initialize(); | |
71 void Release(); | |
72 int InitializeAdditionalNPCs(NPCData *a2, int a3, int a4, int a5); | |
73 void _476C60(); | |
74 | |
75 | |
76 NPCData pNPCData[501]; | |
77 NPCData pNewNPCData[501]; | |
78 char *pNPCNames[540][2]; | |
79 int field_13A58; | |
80 int field_13A5C; | |
81 int field_13A60; | |
82 int field_13A64; | |
83 int field_13A68; | |
84 NPCProfession pProfessions[58]; | |
85 NPCData array_13EF4[100]; | |
86 char *pCatchPhrases[52]; | |
87 char *pNPCNames2[500]; | |
88 NPCStats_stru0 array_16544[77]; | |
89 int field_17884; | |
90 int field_17888; | |
91 NPCGreeting pNPCGreetings[205]; | |
92 unsigned __int16 pGroups[51]; | |
93 unsigned __int16 pGroups_copy[51]; | |
94 int field_17FC0; | |
95 unsigned int uNumNewNPCs; | |
96 int field_17FC8; | |
97 unsigned int uNumNPCProfessions; | |
98 unsigned int uNumNPCNames[2]; | |
99 char *pNPCDataTXT_Raw; | |
100 char *pNPCNamesTXT_Raw; | |
101 char *pNPCProfTXT_Raw; | |
102 char *pNPCNewsTXT_Raw; | |
103 char *pNPCTopicTXT_Raw; | |
104 char *pNPCTextTXT_Raw; | |
105 char *pNPCDistTXT_Raw; | |
106 char *pNPCGreetTXT_Raw; | |
107 char *pNCPGroupTXT_Raw; | |
108 }; | |
109 #pragma pack(pop) | |
110 |