annotate Texture.h @ 1250:c515e406df4a

aWinProc cleanup - removing unused vars, unnesting conditions, removeing a few DefWindowProcA calls
author Grumpy7
date Mon, 10 Jun 2013 04:16:49 +0200
parents 96a81634669e
children 0aeac0b9ca30
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include <stdio.h>
1206
ab6560001f5b arrays to std::arrays phase 2 - some more arrays converted
Grumpy7
parents: 1119
diff changeset
3 #include<array>
0
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5
Ritor1
parents:
diff changeset
6
Ritor1
parents:
diff changeset
7 /* 194 */
Ritor1
parents:
diff changeset
8 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
9 struct RGBTexture
Ritor1
parents:
diff changeset
10 {
Ritor1
parents:
diff changeset
11 RGBTexture();
Ritor1
parents:
diff changeset
12 void Release();
Ritor1
parents:
diff changeset
13 int _40E55E(const char *Filename, unsigned int a3);
Ritor1
parents:
diff changeset
14 unsigned int LoadFromFILE(FILE *pFile, unsigned int mode, unsigned int bCloseFile);
Ritor1
parents:
diff changeset
15 int DecodePCX(char *pPcx, unsigned __int16 *pOutPixels, unsigned int uNumPixels);
Ritor1
parents:
diff changeset
16 int Load(const char *pContainer, int mode);
Ritor1
parents:
diff changeset
17 int Reload(const char *pContainer);
Ritor1
parents:
diff changeset
18
Ritor1
parents:
diff changeset
19 char pName[16];
Ritor1
parents:
diff changeset
20 unsigned int uNumPixels;
Ritor1
parents:
diff changeset
21 unsigned __int16 uWidth;
Ritor1
parents:
diff changeset
22 unsigned __int16 uHeight;
Ritor1
parents:
diff changeset
23 __int16 field_18;
Ritor1
parents:
diff changeset
24 __int16 field_1A;
Ritor1
parents:
diff changeset
25 __int16 field_1C;
Ritor1
parents:
diff changeset
26 __int16 field_1E;
Ritor1
parents:
diff changeset
27 __int16 field_20;
Ritor1
parents:
diff changeset
28 __int16 field_22;
Ritor1
parents:
diff changeset
29 unsigned __int16 *pPixels;
Ritor1
parents:
diff changeset
30 };
Ritor1
parents:
diff changeset
31 #pragma pack(pop)
Ritor1
parents:
diff changeset
32
Ritor1
parents:
diff changeset
33
Ritor1
parents:
diff changeset
34
Ritor1
parents:
diff changeset
35 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
36 struct Texture
Ritor1
parents:
diff changeset
37 {
Ritor1
parents:
diff changeset
38 Texture();
Ritor1
parents:
diff changeset
39 void Release();
Ritor1
parents:
diff changeset
40 void *UnzipPalette();
Ritor1
parents:
diff changeset
41
Ritor1
parents:
diff changeset
42 char pName[16];
Ritor1
parents:
diff changeset
43 unsigned int uSizeOfMaxLevelOfDetail;
Ritor1
parents:
diff changeset
44 unsigned int uTextureSize;
Ritor1
parents:
diff changeset
45 unsigned __int16 uTextureWidth;
Ritor1
parents:
diff changeset
46 unsigned __int16 uTextureHeight;
Ritor1
parents:
diff changeset
47 __int16 uWidthLn2;
Ritor1
parents:
diff changeset
48 __int16 uHeightLn2;
Ritor1
parents:
diff changeset
49 __int16 uWidthMinus1;
Ritor1
parents:
diff changeset
50 __int16 uHeightMinus1;
Ritor1
parents:
diff changeset
51 short palette_id1;
Ritor1
parents:
diff changeset
52 short palette_id2;
Ritor1
parents:
diff changeset
53 unsigned int uDecompressedSize;
Ritor1
parents:
diff changeset
54 int pBits;
710
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 688
diff changeset
55 unsigned __int8 *pLevelOfDetail0_prolly_alpha_mask;
0
Ritor1
parents:
diff changeset
56 unsigned __int8 *pLevelOfDetail1;
Ritor1
parents:
diff changeset
57 unsigned __int8 *pLevelOfDetail2;
Ritor1
parents:
diff changeset
58 unsigned __int8 *pLevelOfDetail3;
Ritor1
parents:
diff changeset
59 unsigned __int16 *pPalette16;
Ritor1
parents:
diff changeset
60 unsigned __int8 *pPalette24;
Ritor1
parents:
diff changeset
61 };
Ritor1
parents:
diff changeset
62 #pragma pack(pop)
Ritor1
parents:
diff changeset
63
Ritor1
parents:
diff changeset
64
Ritor1
parents:
diff changeset
65
Ritor1
parents:
diff changeset
66
Ritor1
parents:
diff changeset
67
Ritor1
parents:
diff changeset
68
Ritor1
parents:
diff changeset
69
Ritor1
parents:
diff changeset
70
Ritor1
parents:
diff changeset
71
Ritor1
parents:
diff changeset
72
Ritor1
parents:
diff changeset
73
Ritor1
parents:
diff changeset
74
Ritor1
parents:
diff changeset
75
Ritor1
parents:
diff changeset
76
Ritor1
parents:
diff changeset
77
Ritor1
parents:
diff changeset
78
Ritor1
parents:
diff changeset
79
Ritor1
parents:
diff changeset
80 /* 323 */
Ritor1
parents:
diff changeset
81 enum TEXTURE_FRAME_TABLE_FLAGS
Ritor1
parents:
diff changeset
82 {
Ritor1
parents:
diff changeset
83 TEXTURE_FRAME_TABLE_MORE_FRAMES = 0x1,
Ritor1
parents:
diff changeset
84 TEXTURE_FRAME_TABLE_FIRST = 0x2,
Ritor1
parents:
diff changeset
85 };
Ritor1
parents:
diff changeset
86
Ritor1
parents:
diff changeset
87
Ritor1
parents:
diff changeset
88
Ritor1
parents:
diff changeset
89 /* 41 */
Ritor1
parents:
diff changeset
90 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
91 struct TextureFrame
Ritor1
parents:
diff changeset
92 {
Ritor1
parents:
diff changeset
93 char pTextureName[12];
Ritor1
parents:
diff changeset
94 __int16 uTextureID;
Ritor1
parents:
diff changeset
95 __int16 uAnimTime;
Ritor1
parents:
diff changeset
96 __int16 uAnimLength;
Ritor1
parents:
diff changeset
97 __int16 uFlags;
Ritor1
parents:
diff changeset
98 };
Ritor1
parents:
diff changeset
99 #pragma pack(pop)
Ritor1
parents:
diff changeset
100
Ritor1
parents:
diff changeset
101 /* 40 */
Ritor1
parents:
diff changeset
102 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
103 struct TextureFrameTable
Ritor1
parents:
diff changeset
104 {
Ritor1
parents:
diff changeset
105 //----- (0044D4C9) --------------------------------------------------------
Ritor1
parents:
diff changeset
106 inline TextureFrameTable()
Ritor1
parents:
diff changeset
107 {
Ritor1
parents:
diff changeset
108 pTextures = 0;
711
a5e587c8e30e some cleaning
Gloval
parents: 688
diff changeset
109 sNumTextures = 0;
0
Ritor1
parents:
diff changeset
110 }
Ritor1
parents:
diff changeset
111 int FromFileTxt(const char *Args);
Ritor1
parents:
diff changeset
112 void ToFile();
Ritor1
parents:
diff changeset
113 void FromFile(void *pSerialized);
711
a5e587c8e30e some cleaning
Gloval
parents: 688
diff changeset
114 void LoadAnimationSequenceAndPalettes(signed int uIconID);
0
Ritor1
parents:
diff changeset
115 unsigned int GetFrameTexture(int uFrameID, signed int a3);
Ritor1
parents:
diff changeset
116 unsigned int FindTextureByName(const char *Str2);
Ritor1
parents:
diff changeset
117
Ritor1
parents:
diff changeset
118
711
a5e587c8e30e some cleaning
Gloval
parents: 688
diff changeset
119 signed int sNumTextures;
0
Ritor1
parents:
diff changeset
120 struct TextureFrame *pTextures;
Ritor1
parents:
diff changeset
121 };
Ritor1
parents:
diff changeset
122 #pragma pack(pop)
Ritor1
parents:
diff changeset
123
Ritor1
parents:
diff changeset
124 extern struct TextureFrameTable *pTextureFrameTable;
Ritor1
parents:
diff changeset
125
Ritor1
parents:
diff changeset
126
Ritor1
parents:
diff changeset
127
Ritor1
parents:
diff changeset
128
Ritor1
parents:
diff changeset
129
1206
ab6560001f5b arrays to std::arrays phase 2 - some more arrays converted
Grumpy7
parents: 1119
diff changeset
130 extern std::array<struct RGBTexture, 45> pSavegameThumbnails;
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
131 extern std::array<Texture *, 2> pTexture_LloydBeacons;
0
Ritor1
parents:
diff changeset
132 extern Texture *pTexture_50635C;
Ritor1
parents:
diff changeset
133 extern Texture *pTexture_506368;
Ritor1
parents:
diff changeset
134 extern Texture *pTexture_50636C;
Ritor1
parents:
diff changeset
135 extern Texture *pTexture_506370;
Ritor1
parents:
diff changeset
136 extern Texture *pTexture_506374;
Ritor1
parents:
diff changeset
137 extern Texture *pTexture_506378;
Ritor1
parents:
diff changeset
138 extern Texture *pTexture_50637C;
Ritor1
parents:
diff changeset
139 extern Texture *pTexture_506380;
Ritor1
parents:
diff changeset
140 extern Texture *pTexture_506384;
Ritor1
parents:
diff changeset
141 extern Texture *pTexture_506388;
Ritor1
parents:
diff changeset
142 extern Texture *pTexture_50638C;
Ritor1
parents:
diff changeset
143 extern Texture *pTexture_506390;
Ritor1
parents:
diff changeset
144 extern Texture *pTexture_506394;
Ritor1
parents:
diff changeset
145 extern Texture *pTex_tab_an_7a__zoot_off;
Ritor1
parents:
diff changeset
146 extern Texture *pTex_tab_an_6a__zoom_off;
Ritor1
parents:
diff changeset
147 extern Texture *pTex_tab_an_7b__zoot_on;
Ritor1
parents:
diff changeset
148 extern Texture *pTex_tab_an_6b__zoom_on;
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
149 extern std::array<Texture *, 6> pTexture_TownPortalIcons; // [0]Harmonale, [1]Pierpont, [2]Nighon, [3]Evenmorn Island, [4]Celestia, [5]The Pit
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
150
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
151 extern std::array<Texture *, 12> dword_5063D8;
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
152 extern std::array<Texture *, 12> dword_506408;
0
Ritor1
parents:
diff changeset
153 extern Texture *pTexture_50643C; // idb
Ritor1
parents:
diff changeset
154 extern Texture *ptr_506440;
Ritor1
parents:
diff changeset
155 extern Texture *pTexture_506444;
Ritor1
parents:
diff changeset
156 extern Texture *pTexture_506448; // idb
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
157 extern std::array<std::array<Texture *, 2>, 9> pTextures_tabs;
0
Ritor1
parents:
diff changeset
158 extern Texture *pTexture_mapbordr; // idb
Ritor1
parents:
diff changeset
159 extern Texture *pTexture_pagemask; // idb
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
160 extern std::array<Texture *, 9> pSpellBookPagesTextr;
688
c0bfb386b15f some ui cleanup
Gloval
parents: 369
diff changeset
161 extern Texture *pSpellBookPagesTextr_9;
c0bfb386b15f some ui cleanup
Gloval
parents: 369
diff changeset
162 extern Texture *pSpellBookPagesTextr_10;
c0bfb386b15f some ui cleanup
Gloval
parents: 369
diff changeset
163 extern Texture *pSpellBookPagesTextr_11;
c0bfb386b15f some ui cleanup
Gloval
parents: 369
diff changeset
164 extern Texture *pSpellBookPagesTextr_12;
c0bfb386b15f some ui cleanup
Gloval
parents: 369
diff changeset
165 extern Texture *pSpellBookPagesTextr_13;
0
Ritor1
parents:
diff changeset
166 extern Texture *pTexture_AutonotesBook;
Ritor1
parents:
diff changeset
167 extern Texture *pTexture_CurrentBook;
Ritor1
parents:
diff changeset
168 extern Texture *pTex_moon_new;
Ritor1
parents:
diff changeset
169 extern Texture *pTex_moon_4;
Ritor1
parents:
diff changeset
170 extern Texture *pTex_moon_2;
Ritor1
parents:
diff changeset
171 extern Texture *pTex_moon_2_2;
Ritor1
parents:
diff changeset
172 extern Texture *pTex_moon_ful;
Ritor1
parents:
diff changeset
173
Ritor1
parents:
diff changeset
174
Ritor1
parents:
diff changeset
175
Ritor1
parents:
diff changeset
176 extern RGBTexture stru_506E40; // weak
Ritor1
parents:
diff changeset
177 extern RGBTexture pTexture_PCX;
Ritor1
parents:
diff changeset
178
Ritor1
parents:
diff changeset
179
Ritor1
parents:
diff changeset
180 extern int uTextureID_RestUI_restb4; // weak
Ritor1
parents:
diff changeset
181 extern int uTextureID_RestUI_restexit; // weak
Ritor1
parents:
diff changeset
182 extern int uTextureID_RestUI_restb3; // weak
Ritor1
parents:
diff changeset
183 extern int uTextureID_RestUI_restb1; // weak
Ritor1
parents:
diff changeset
184 extern int uTextureID_RestUI_restb2; // weak
Ritor1
parents:
diff changeset
185 extern int uTextureID_RestUI_restmain; // weak
Ritor1
parents:
diff changeset
186 extern unsigned int uTextureID_Leather;
Ritor1
parents:
diff changeset
187 extern int uTextureID_ar_dn_dn; // weak
Ritor1
parents:
diff changeset
188 extern int uTextureID_ar_dn_up; // weak
Ritor1
parents:
diff changeset
189 extern int uTextureID_ar_up_dn; // weak
Ritor1
parents:
diff changeset
190 extern int uTextureID_ar_up_up; // weak
Ritor1
parents:
diff changeset
191
Ritor1
parents:
diff changeset
192
Ritor1
parents:
diff changeset
193 extern int uTextureID_507698; // weak
Ritor1
parents:
diff changeset
194 extern int uTextureID_50769C; // weak
Ritor1
parents:
diff changeset
195 extern int uTextureID_5076A0; // weak
Ritor1
parents:
diff changeset
196 extern int uTextureID_5076A4; // weak
Ritor1
parents:
diff changeset
197 extern int uTextureID_5076A8; // weak
Ritor1
parents:
diff changeset
198 extern int uTextureID_5076AC; // weak
Ritor1
parents:
diff changeset
199 extern int uTextureID_5076B0; // weak
Ritor1
parents:
diff changeset
200 extern int uTextureID_5076B4; // weak
Ritor1
parents:
diff changeset
201 extern int uTextureID_Parchment; // weak
Ritor1
parents:
diff changeset
202 extern unsigned int uTextureID_mhp_yel;
Ritor1
parents:
diff changeset
203 extern unsigned int uTextureID_mhp_red;
Ritor1
parents:
diff changeset
204 extern unsigned int uTextureID_mhp_grn;
Ritor1
parents:
diff changeset
205 extern unsigned int uTextureID_mhp_capr;
Ritor1
parents:
diff changeset
206 extern unsigned int uTextureID_mhp_capl;
Ritor1
parents:
diff changeset
207 extern unsigned int uTextureID_mhp_bd;
Ritor1
parents:
diff changeset
208 extern unsigned int uTextureID_BUTTDESC2;
Ritor1
parents:
diff changeset
209 extern unsigned int uTextureID_x_x_u;
Ritor1
parents:
diff changeset
210 extern unsigned int uTextureID_BUTTMAKE2;
Ritor1
parents:
diff changeset
211 extern unsigned int uTextureID_BUTTMAKE;
Ritor1
parents:
diff changeset
212 extern unsigned int uTextureID_BUTTYES2;
Ritor1
parents:
diff changeset
213 extern unsigned int uTextureID_x_ok_u;
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
214 extern std::array<Texture *, 22> pPlayerPortraits;
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
215 extern std::array<Texture *, 9> pTexture_IC_KNIGHT;
0
Ritor1
parents:
diff changeset
216 extern Texture *pTexture_MAKESKY;
Ritor1
parents:
diff changeset
217 extern Texture *pTexture_MAKETOP;
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
218 extern std::array<Texture *, 20> pTextures_arrowr;
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
219 extern std::array<Texture *, 20> pTextures_arrowl;
0
Ritor1
parents:
diff changeset
220 extern Texture *pTexture_presleft;
Ritor1
parents:
diff changeset
221 extern Texture *pTexture_pressrigh;
Ritor1
parents:
diff changeset
222 extern Texture *pTexture_buttminu;
Ritor1
parents:
diff changeset
223 extern Texture *pTexture_buttplus;
362
38bfbee60146 Menu options
Ritor1
parents: 319
diff changeset
224 extern unsigned int uTextureID_Quit1;
38bfbee60146 Menu options
Ritor1
parents: 319
diff changeset
225 extern unsigned int uTextureID_Resume1;
38bfbee60146 Menu options
Ritor1
parents: 319
diff changeset
226 extern unsigned int uTextureID_Controls1;
38bfbee60146 Menu options
Ritor1
parents: 319
diff changeset
227 extern unsigned int uTextureID_Save1;
38bfbee60146 Menu options
Ritor1
parents: 319
diff changeset
228 extern unsigned int uTextureID_Load1;
38bfbee60146 Menu options
Ritor1
parents: 319
diff changeset
229 extern unsigned int uTextureID_New1;
38bfbee60146 Menu options
Ritor1
parents: 319
diff changeset
230 extern unsigned int uTextureID_Options;
0
Ritor1
parents:
diff changeset
231
Ritor1
parents:
diff changeset
232
Ritor1
parents:
diff changeset
233 extern unsigned int uTextureID_ib_td5_A;
Ritor1
parents:
diff changeset
234 extern unsigned int uTextureID_ib_td2_A; // weak
Ritor1
parents:
diff changeset
235 extern unsigned int uTextureID_ib_td1_A;
984
d982fffb8b96 CharacterUI_InventoryTab_Draw cleaned.
Nomad
parents: 948
diff changeset
236 extern int uTextureID_CharacterUI_InventoryBackground; // weak
0
Ritor1
parents:
diff changeset
237 extern int uTextureID_50795C; // weak
Ritor1
parents:
diff changeset
238
Ritor1
parents:
diff changeset
239
319
5a66be213cff Actor::Die
Nomad
parents: 135
diff changeset
240 extern unsigned int uTextureID_Btn_GameSettings;
0
Ritor1
parents:
diff changeset
241
Ritor1
parents:
diff changeset
242
319
5a66be213cff Actor::Die
Nomad
parents: 135
diff changeset
243 extern unsigned int uTextureID_Btn_Rest;
5a66be213cff Actor::Die
Nomad
parents: 135
diff changeset
244 extern unsigned int uTextureID_Btn_CastSpell;
5a66be213cff Actor::Die
Nomad
parents: 135
diff changeset
245 extern unsigned int uTextureID_Btn_ZoomIn;
5a66be213cff Actor::Die
Nomad
parents: 135
diff changeset
246 extern unsigned int uTextureID_Btn_ZoomOut;
0
Ritor1
parents:
diff changeset
247 extern unsigned int uTextureID_FONTPAL;
319
5a66be213cff Actor::Die
Nomad
parents: 135
diff changeset
248 extern unsigned int uTextureID_Btn_NPCRight;
5a66be213cff Actor::Die
Nomad
parents: 135
diff changeset
249 extern unsigned int uTextureID_Btn_NPCLeft;
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
250 extern std::array<unsigned int, 8> pTextureIDs_pMapDirs;
0
Ritor1
parents:
diff changeset
251
Ritor1
parents:
diff changeset
252
Ritor1
parents:
diff changeset
253 extern unsigned int uTextureID_BarRed;
Ritor1
parents:
diff changeset
254 extern unsigned int uTextureID_BarYellow;
Ritor1
parents:
diff changeset
255 extern unsigned int uTextureID_BarGreen;
Ritor1
parents:
diff changeset
256 extern unsigned int uTextureID_BarBlue;
Ritor1
parents:
diff changeset
257
Ritor1
parents:
diff changeset
258
Ritor1
parents:
diff changeset
259 extern unsigned int uTextureID_right_panel; // weak
Ritor1
parents:
diff changeset
260
Ritor1
parents:
diff changeset
261
Ritor1
parents:
diff changeset
262 extern RGBTexture *pTexture_StatusBar;
Ritor1
parents:
diff changeset
263 extern RGBTexture *pTexture_LeftFrame;
Ritor1
parents:
diff changeset
264 extern RGBTexture *pTexture_TopFrame;
Ritor1
parents:
diff changeset
265 extern RGBTexture *pTexture_BottomFrame;
Ritor1
parents:
diff changeset
266 extern RGBTexture *pTexture_RightFrame;
Ritor1
parents:
diff changeset
267
Ritor1
parents:
diff changeset
268
910
Ritor1
parents: 712
diff changeset
269 extern unsigned int uTextureID_right_panel_loop; // weak
0
Ritor1
parents:
diff changeset
270
Ritor1
parents:
diff changeset
271
Ritor1
parents:
diff changeset
272 extern Texture *pTexture_Leather;
Ritor1
parents:
diff changeset
273 extern Texture *pTexture_RestUI_CurrentSkyFrame; // idb
Ritor1
parents:
diff changeset
274 extern Texture *pTexture_RestUI_CurrentHourglassFrame; // idb
Ritor1
parents:
diff changeset
275
Ritor1
parents:
diff changeset
276
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
277 extern std::array<unsigned int, 5> uTextureID_Optkb;
0
Ritor1
parents:
diff changeset
278
Ritor1
parents:
diff changeset
279 extern unsigned int uTextureID_507C10; // weak
Ritor1
parents:
diff changeset
280 extern unsigned int uTextureID_507C14; // weak
Ritor1
parents:
diff changeset
281 extern unsigned int uTextureID_507C18; // weak
Ritor1
parents:
diff changeset
282 extern unsigned int uTextureID_507C1C; // weak
Ritor1
parents:
diff changeset
283 extern unsigned int uTextureID_507C20; // weak
Ritor1
parents:
diff changeset
284 extern unsigned int uTextureID_507C24; // weak
1207
96a81634669e arrays to std::arrays phase 3 - finishing global arrays
Grumpy7
parents: 1206
diff changeset
285 extern std::array<unsigned int, 10> pTextureIDs_GammaPositions;
0
Ritor1
parents:
diff changeset
286 extern unsigned int uTextureID_507C50; // weak
Ritor1
parents:
diff changeset
287 extern unsigned int uTextureID_507C54; // weak
Ritor1
parents:
diff changeset
288 extern unsigned int uTextureID_507C58; // weak
948
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
289
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
290
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
291 struct OptionsMenuSkin
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
292 {
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
293 OptionsMenuSkin();
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
294 void Relaease();
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
295
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
296 unsigned int uTextureID_Background; // 507C60
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
297 unsigned int uTextureID_TurnSpeed[3]; // 507C64
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
298 unsigned int uTextureID_ArrowLeft; // 507C70
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
299 unsigned int uTextureID_ArrowRight; // 507C74
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
300 unsigned int uTextureID_unused_0; // 507C78
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
301 unsigned int uTextureID_unused_1; // 507C7C
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
302 unsigned int uTextureID_unused_2; // 507C80
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
303 unsigned int uTextureID_FlipOnExit; // 507C84
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
304 unsigned int uTextureID_SoundLevels[10]; // 507C88
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
305 unsigned int uTextureID_AlwaysRun; // 507CB0
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
306 unsigned int uTextureID_WalkSound; // 507CB4
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
307 unsigned int uTextureID_ShowDamage; // 507CB8
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
308 };
5a2dbb00c399 Code cleaning.
Nomad
parents: 910
diff changeset
309 extern OptionsMenuSkin options_menu_skin; // 507C60
0
Ritor1
parents:
diff changeset
310
Ritor1
parents:
diff changeset
311
910
Ritor1
parents: 712
diff changeset
312 extern unsigned int uTextureID_detaliz_close_button; // weak
0
Ritor1
parents:
diff changeset
313 extern unsigned int uTextureID_MAGNIF_B; // weak
Ritor1
parents:
diff changeset
314 extern unsigned int uTextureID_BACKDOLL; // weak
Ritor1
parents:
diff changeset
315 extern unsigned int uTextureID_BACKHAND; // weak
Ritor1
parents:
diff changeset
316
Ritor1
parents:
diff changeset
317
Ritor1
parents:
diff changeset
318 extern Texture pTex_F7CE30;
Ritor1
parents:
diff changeset
319
Ritor1
parents:
diff changeset
320
Ritor1
parents:
diff changeset
321 extern RGBTexture stru_5773C4; // idb
Ritor1
parents:
diff changeset
322
Ritor1
parents:
diff changeset
323
Ritor1
parents:
diff changeset
324
Ritor1
parents:
diff changeset
325
Ritor1
parents:
diff changeset
326
Ritor1
parents:
diff changeset
327
Ritor1
parents:
diff changeset
328
Ritor1
parents:
diff changeset
329
Ritor1
parents:
diff changeset
330
Ritor1
parents:
diff changeset
331
Ritor1
parents:
diff changeset
332
Ritor1
parents:
diff changeset
333 struct stru355
Ritor1
parents:
diff changeset
334 {
Ritor1
parents:
diff changeset
335 int field_0;
Ritor1
parents:
diff changeset
336 int field_4;
Ritor1
parents:
diff changeset
337 int field_8;
Ritor1
parents:
diff changeset
338 int field_C;
Ritor1
parents:
diff changeset
339 int field_10;
Ritor1
parents:
diff changeset
340 int field_14;
Ritor1
parents:
diff changeset
341 int field_18;
Ritor1
parents:
diff changeset
342 int field_1C;
Ritor1
parents:
diff changeset
343 };
Ritor1
parents:
diff changeset
344
Ritor1
parents:
diff changeset
345 /* 390 */
Ritor1
parents:
diff changeset
346 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
347 struct stru350
Ritor1
parents:
diff changeset
348 {
Ritor1
parents:
diff changeset
349 stru350 *_450DDE();
Ritor1
parents:
diff changeset
350 bool _450DF1(const stru355 *p1, const stru355 *p2);
Ritor1
parents:
diff changeset
351 unsigned int _450F55(int a2);
Ritor1
parents:
diff changeset
352 int _450FB1(int a2);
Ritor1
parents:
diff changeset
353 int sub_451007_scale_image_bicubic(unsigned short *pSrc, int srcWidth, int srcHeight, int srcPitch,
Ritor1
parents:
diff changeset
354 unsigned short *pDst, int dstWidth, int dstHeight, int dstPitch,
Ritor1
parents:
diff changeset
355 int a9, int a10);
Ritor1
parents:
diff changeset
356
Ritor1
parents:
diff changeset
357 stru355 field_0;
Ritor1
parents:
diff changeset
358 stru355 field_20;
Ritor1
parents:
diff changeset
359 int field_40;
Ritor1
parents:
diff changeset
360 int field_44;
Ritor1
parents:
diff changeset
361 int field_48;
Ritor1
parents:
diff changeset
362 int field_4C;
Ritor1
parents:
diff changeset
363 int field_50;
Ritor1
parents:
diff changeset
364 int field_54;
Ritor1
parents:
diff changeset
365 int field_58;
Ritor1
parents:
diff changeset
366 int field_5C;
Ritor1
parents:
diff changeset
367 };
Ritor1
parents:
diff changeset
368 #pragma pack(pop)