comparison Items.h @ 229:05a2d2b35ed0

m
author Gloval
date Sun, 17 Feb 2013 17:07:52 +0400
parents 9917d3b4925e
children b9f4ff2f6c45
comparison
equal deleted inserted replaced
225:e3fd201a58f0 229:05a2d2b35ed0
121 121
122 122
123 /* 175 */ 123 /* 175 */
124 #pragma pack(push, 1) 124 #pragma pack(push, 1)
125 struct ItemDesc 125 struct ItemDesc
126 { //Item # |Pic File|Name|Value|Equip Stat|Skill Group|Mod1|Mod2|material| 126 { //Item # |Pic File|Name|Value|Equip Stat|Skill Group|Mod1|Mod2|material|
127 ///ID/Rep/St|Not identified name|Sprite Index|VarA|VarB|Equip X|Equip Y|Notes 127 ///ID/Rep/St|Not identified name|Sprite Index|VarA|VarB|Equip X|Equip Y|Notes
128 char *pIconName; //0 4 128 char *pIconName; //0 4
129 char *pName; //4 8 129 char *pName; //4 8
130 char *pUnidentifiedName; //8 c 130 char *pUnidentifiedName; //8 c
131 char *pDescription; //0c 10 131 char *pDescription; //0c 10
132 unsigned int uValue; //10 14 132 unsigned int uValue; //10 14
133 unsigned __int16 uSpriteID; //14 18 133 unsigned __int16 uSpriteID; //14 18
134 __int16 field_1A; //16 134 __int16 field_1A; //16
135 unsigned __int16 uEquipX; //18 1c 135 unsigned __int16 uEquipX; //18 1c
136 unsigned __int16 uEquipY; //1a 1e 136 unsigned __int16 uEquipY; //1a 1e
137 unsigned __int8 uEquipType; //1c 20 137 unsigned __int8 uEquipType; //1c 20
138 unsigned __int8 uSkillType; //1d 21 138 unsigned __int8 uSkillType; //1d 21
139 unsigned __int8 uDamageDice; //1e 22 139 unsigned __int8 uDamageDice; //1e 22
140 unsigned __int8 uDamageRoll; //1f 23 140 unsigned __int8 uDamageRoll; //1f 23
141 unsigned __int8 uDamageMod; //20 24 141 unsigned __int8 uDamageMod; //20 24
142 unsigned __int8 uMaterial; //21 25 142 unsigned __int8 uMaterial; //21 25
143 char _additional_value; //22 26 143 char _additional_value; //22 26
144 char _bonus_type; //23 27 144 char _bonus_type; //23 27
145 char _bonus_strength; //24 28 145 char _bonus_strength; //24 28
146 char field_25; // 25 29 146 char field_25; // 25 29
147 char field_26; //26 2A 147 char field_26; //26 2A
148 char field_27; // 27 2b 148 char field_27; // 27 2b
149 union 149 union
150 { 150 {
151 unsigned __int8 uChanceByTreasureLvl[6]; 151 unsigned __int8 uChanceByTreasureLvl[6];
152 struct { 152 struct {
153 unsigned __int8 uChanceByTreasureLvl1; // 28 2c 153 unsigned __int8 uChanceByTreasureLvl1; // 28 2c
154 unsigned __int8 uChanceByTreasureLvl2; // 29 2d 154 unsigned __int8 uChanceByTreasureLvl2; // 29 2d
155 unsigned __int8 uChanceByTreasureLvl3; // 2A 2e 155 unsigned __int8 uChanceByTreasureLvl3; // 2A 2e
156 unsigned __int8 uChanceByTreasureLvl4; // 2B 2f 156 unsigned __int8 uChanceByTreasureLvl4; // 2B 2f
157 unsigned __int8 uChanceByTreasureLvl5; // 2C 30 157 unsigned __int8 uChanceByTreasureLvl5; // 2C 30
158 unsigned __int8 uChanceByTreasureLvl6; // 2D 32 158 unsigned __int8 uChanceByTreasureLvl6; // 2D 32
159 }; 159 };
160 }; 160 };
161 unsigned char uItemID_Rep_St; //2e 32 161 unsigned char uItemID_Rep_St; //2e 32
162 char field_2f; 162 char field_2f;
163 }; 163 };
164 #pragma pack(pop) 164 #pragma pack(pop)
165 165
166 166
167 167
168 /* 177 */ 168 /* 177 */
223 char *Release(); 223 char *Release();
224 224
225 int uAllItemsCount; 225 int uAllItemsCount;
226 ItemDesc pItems[800]; //4-9604h 226 ItemDesc pItems[800]; //4-9604h
227 ItemEnchantment pEnchantments[24]; //9604h 227 ItemEnchantment pEnchantments[24]; //9604h
228 ItemSpecialEnchantment pSpecialEnchantments[72]; //97E4h 228 ItemSpecialEnchantment pSpecialEnchantments[72]; //97E4h -9FC4h
229 char field_9FC4[5000]; 229 char field_9FC4[5000];
230 char field_B348[5000]; 230 char field_B348[5000];
231 char field_C6D0[5000]; 231 char field_C6D0[5000];
232 char field_DA58[5000]; 232 char field_DA58[5000];
233 char field_EDE0[180]; 233 char field_EDE0[384];
234 unsigned __int16 potion_data[50][50]; // 77B2h*2=EF64h -102ECh 234 unsigned __int16 potion_data[50][50]; // 77B2h*2=EF64h -102ECh
235 unsigned __int16 potion_note[50][50]; // 8176h*2=102ECh -11674h 235 unsigned __int16 potion_note[50][50]; // 8176h*2=102ECh -11674h
236 char *pItemsTXT_Raw; //11674h 236 char *pItemsTXT_Raw; //11674h
237 char *pRndItemsTXT_Raw; 237 char *pRndItemsTXT_Raw;
238 char *pStdItemsTXT_Raw; //1167Ch 238 char *pStdItemsTXT_Raw; //1167Ch