annotate NPC.h @ 0:8b8875f5b359

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