comparison NPC.h @ 248:37dcbe8f3cca

Dialogue stuff
author Nomad
date Mon, 18 Feb 2013 07:11:43 +0200
parents 2799737f8a74
children e22e2357c8b3
comparison
equal deleted inserted replaced
247:fb8a876f41e1 248:37dcbe8f3cca
15 15
16 /* 136 */ 16 /* 136 */
17 #pragma pack(push, 1) 17 #pragma pack(push, 1)
18 struct NPCData 18 struct NPCData
19 { 19 {
20 inline bool Hired() {return uFlags & 0x80;}
21
20 char *pName; 22 char *pName;
21 unsigned int uPortraitID; 23 unsigned int uPortraitID;
22 unsigned int uFlags; // & 0x80 no greeting on dialogue start 24 unsigned int uFlags; // & 0x80 no greeting on dialogue start; looks like hired
23 int fame; 25 int fame;
24 int rep; 26 int rep;
25 int house; 27 int house;
26 unsigned int uProfession; 28 unsigned int uProfession;
27 int greet; 29 int greet;