annotate Texture.h @ 730:79ad0526166c

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