annotate Texture.h @ 180:d8aa322a19e5

VideoSound(work)
author Ritor1
date Wed, 19 Dec 2012 18:04:28 +0600
parents b39bdc150e90
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include <stdio.h>
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 /* 194 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 struct RGBTexture
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 RGBTexture();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 void Release();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 int _40E55E(const char *Filename, unsigned int a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 unsigned int LoadFromFILE(FILE *pFile, unsigned int mode, unsigned int bCloseFile);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 int DecodePCX(char *pPcx, unsigned __int16 *pOutPixels, unsigned int uNumPixels);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 int Load(const char *pContainer, int mode);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 int Reload(const char *pContainer);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 char pName[16];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 unsigned int uNumPixels;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 unsigned __int16 uWidth;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 unsigned __int16 uHeight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 __int16 field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 __int16 field_1A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 __int16 field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 __int16 field_1E;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 __int16 field_20;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 __int16 field_22;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 unsigned __int16 *pPixels;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 struct Texture
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 Texture();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 void Release();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 void *UnzipPalette();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 char pName[16];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 unsigned int uSizeOfMaxLevelOfDetail;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 unsigned int uTextureSize;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 unsigned __int16 uTextureWidth;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 unsigned __int16 uTextureHeight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 __int16 uWidthLn2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 __int16 uHeightLn2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 __int16 uWidthMinus1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 __int16 uHeightMinus1;
1
ac0fb48cd27a Texture, hwl loading, video player
Nomad
parents: 0
diff changeset
50 short palette_id1;
ac0fb48cd27a Texture, hwl loading, video player
Nomad
parents: 0
diff changeset
51 short palette_id2;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 unsigned int uDecompressedSize;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 int pBits;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 unsigned __int8 *pLevelOfDetail0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 unsigned __int8 *pLevelOfDetail1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 unsigned __int8 *pLevelOfDetail2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 unsigned __int8 *pLevelOfDetail3;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 unsigned __int16 *pPalette16;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 unsigned __int8 *pPalette24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79 /* 323 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80 enum TEXTURE_FRAME_TABLE_FLAGS
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
81 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82 TEXTURE_FRAME_TABLE_MORE_FRAMES = 0x1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83 TEXTURE_FRAME_TABLE_FIRST = 0x2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 /* 41 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90 struct TextureFrame
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92 char pTextureName[12];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93 __int16 uTextureID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94 __int16 uAnimTime;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95 __int16 uAnimLength;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96 __int16 uFlags;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
98 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
99
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
100 /* 40 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 struct TextureFrameTable
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 //----- (0044D4C9) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 inline TextureFrameTable()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107 pTextures = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 uNumTextures = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 int FromFileTxt(const char *Args);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111 void ToFile();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112 void FromFile(void *pSerialized);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113 unsigned int LoadAnimationSequenceAndPalettes(unsigned int uIconID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
114 unsigned int GetFrameTexture(int uFrameID, signed int a3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
115 unsigned int FindTextureByName(const char *Str2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
116
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
117
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
118 unsigned int uNumTextures;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
119 struct TextureFrame *pTextures;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
120 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
121 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
122
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123 extern struct TextureFrameTable *pTextureFrameTable;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129 extern Texture *pTexture_LloydBeacons[2];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130 extern Texture *pTexture_50635C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 extern Texture *pTexture_506368;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 extern Texture *pTexture_50636C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 extern Texture *pTexture_506370;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 extern Texture *pTexture_506374;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135 extern Texture *pTexture_506378;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
136 extern Texture *pTexture_50637C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137 extern Texture *pTexture_506380;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138 extern Texture *pTexture_506384;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
139 extern Texture *pTexture_506388;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140 extern Texture *pTexture_50638C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
141 extern Texture *pTexture_506390;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142 extern Texture *pTexture_506394;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143 extern Texture *pTex_tab_an_7a__zoot_off;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144 extern Texture *pTex_tab_an_6a__zoom_off;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
145 extern Texture *pTex_tab_an_7b__zoot_on;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
146 extern Texture *pTex_tab_an_6b__zoom_on;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
147 extern Texture *pTexture_TownPortalHarmn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
148 extern Texture *pTexture_TownPortalElf;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
149 extern Texture *pTexture_TownPortalWarlock;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
150 extern Texture *pTexture_TownPortalIsland;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
151 extern Texture *pTexture_TownPortalHeaven;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
152 extern Texture *pTexture_TownPortalHell;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
153 extern Texture *dword_5063D8[];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
154 extern Texture *dword_506404[];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
155 extern Texture *dword_506434[];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
156 extern Texture *pTexture_50643C; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
157 extern Texture *ptr_506440;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
158 extern Texture *pTexture_506444;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
159 extern Texture *pTexture_506448; // idb
84
b39bdc150e90 Some inventory stuff
Nomad
parents: 44
diff changeset
160 extern Texture *pTextures_tabs[8][2];
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
161 extern Texture *pTexture_mapbordr; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
162 extern Texture *pTexture_pagemask; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
163 extern Texture *pTextures_5064A0[14];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
164 extern Texture *pTexture_AutonotesBook;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
165 extern Texture *pTexture_CurrentBook;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
166 extern Texture *pTex_moon_new;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
167 extern Texture *pTex_moon_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
168 extern Texture *pTex_moon_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
169 extern Texture *pTex_moon_2_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
170 extern Texture *pTex_moon_ful;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
171
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
172
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
173
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
174 extern RGBTexture stru_506E40; // weak
44
916bec351934 22.10.12(pCurrentScreen)
Ritor1
parents: 43
diff changeset
175 extern RGBTexture pTexture_PCX;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
176
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
177
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
178 extern int uTextureID_RestUI_restb4; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
179 extern int uTextureID_RestUI_restexit; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
180 extern int uTextureID_RestUI_restb3; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
181 extern int uTextureID_RestUI_restb1; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
182 extern int uTextureID_RestUI_restb2; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
183 extern int uTextureID_RestUI_restmain; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
184 extern unsigned int uTextureID_Leather;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
185 extern int uTextureID_ar_dn_dn; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
186 extern int uTextureID_ar_dn_up; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
187 extern int uTextureID_ar_up_dn; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
188 extern int uTextureID_ar_up_up; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
189
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
190
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
191 extern int uTextureID_507698; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
192 extern int uTextureID_50769C; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
193 extern int uTextureID_5076A0; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
194 extern int uTextureID_5076A4; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
195 extern int uTextureID_5076A8; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
196 extern int uTextureID_5076AC; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
197 extern int uTextureID_5076B0; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
198 extern int uTextureID_5076B4; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
199 extern int uTextureID_Parchment; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
200 extern unsigned int uTextureID_mhp_yel;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
201 extern unsigned int uTextureID_mhp_red;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
202 extern unsigned int uTextureID_mhp_grn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
203 extern unsigned int uTextureID_mhp_capr;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
204 extern unsigned int uTextureID_mhp_capl;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
205 extern unsigned int uTextureID_mhp_bd;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
206 extern unsigned int uTextureID_BUTTDESC2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
207 extern unsigned int uTextureID_x_x_u;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
208 extern unsigned int uTextureID_BUTTMAKE2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
209 extern unsigned int uTextureID_BUTTMAKE;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
210 extern unsigned int uTextureID_BUTTYES2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
211 extern unsigned int uTextureID_x_ok_u;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
212 extern Texture *pPlayerPortraits[22];
43
484492a6dd28 Прорисовка окна создания персонажа готова, но не решена проблема кликабельности доступных навыков
Ritor1
parents: 2
diff changeset
213 extern Texture *pTexture_IC_KNIGHT[8];
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
214 extern Texture *pTexture_MAKESKY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
215 extern Texture *pTexture_MAKETOP;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
216 extern Texture *pTextures_arrowr[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
217 extern Texture *pTextures_arrowl[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
218 extern Texture *pTexture_presleft;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
219 extern Texture *pTexture_pressrigh;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
220 extern Texture *pTexture_buttminu;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
221 extern Texture *pTexture_buttplus;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
222 extern unsigned int uTextureID_50792C; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
223 extern unsigned int uTextureID_507930; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
224 extern unsigned int uTextureID_507934; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
225 extern unsigned int uTextureID_507938; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
226 extern unsigned int uTextureID_50793C; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
227 extern unsigned int uTextureID_507940; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
228 extern unsigned int uTextureID_507944; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
229
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
230
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
231 extern unsigned int uTextureID_ib_td5_A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
232 extern unsigned int uTextureID_ib_td2_A; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
233 extern unsigned int uTextureID_ib_td1_A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
234 extern int uTextureID_507958; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
235 extern int uTextureID_50795C; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
236
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
237
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
238 extern unsigned int uTextureID_507970;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
239
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
240
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
241 extern unsigned int uTextureID_507978;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
242 extern unsigned int uTextureID_50797C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
243 extern unsigned int uTextureID_507980;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
244 extern unsigned int uTextureID_507984;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
245 extern unsigned int uTextureID_FONTPAL;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
246 extern unsigned int uTextureID_50798C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
247 extern unsigned int uTextureID_507990;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
248 extern unsigned int pTextureIDs_pMapDirs[8];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
249
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
250
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
251 extern unsigned int uTextureID_BarRed;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
252 extern unsigned int uTextureID_BarYellow;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
253 extern unsigned int uTextureID_BarGreen;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
254 extern unsigned int uTextureID_BarBlue;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
255
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
256
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
257 extern unsigned int uTextureID_right_panel; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
258
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
259
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
260 extern RGBTexture *pTexture_StatusBar;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
261 extern RGBTexture *pTexture_LeftFrame;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
262 extern RGBTexture *pTexture_TopFrame;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
263 extern RGBTexture *pTexture_BottomFrame;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
264 extern RGBTexture *pTexture_RightFrame;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
265
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
266
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
267 extern unsigned int uTextureID_507B04; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
268
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
269
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
270 extern Texture *pTexture_Leather;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
271 extern Texture *pTexture_RestUI_CurrentSkyFrame; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
272 extern Texture *pTexture_RestUI_CurrentHourglassFrame; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
273
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
274
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
275 extern unsigned int uTextureID_507BF4; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
276 extern unsigned int uTextureID_507BF8; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
277 extern unsigned int uTextureID_507BFC; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
278 extern unsigned int uTextureID_507C00; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
279 extern unsigned int uTextureID_507C04; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
280
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
281
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
282 extern unsigned int uTextureID_507C10; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
283 extern unsigned int uTextureID_507C14; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
284 extern unsigned int uTextureID_507C18; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
285 extern unsigned int uTextureID_507C1C; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
286 extern unsigned int uTextureID_507C20; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
287 extern unsigned int uTextureID_507C24; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
288 extern unsigned int pTextureIDs_GammaPositions[10];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
289 extern unsigned int uTextureID_507C50; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
290 extern unsigned int uTextureID_507C54; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
291 extern unsigned int uTextureID_507C58; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
292 extern unsigned int uTextureID_507C60; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
293 extern unsigned int uTextureID_507C64[]; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
294 extern unsigned int uTextureID_507C68; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
295 extern unsigned int uTextureID_507C6C; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
296 extern unsigned int uTextureID_507C70; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
297 extern unsigned int uTextureID_507C74; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
298 extern unsigned int uTextureID_507C84; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
299 extern unsigned int pTextureIDs_SoundLevels[10];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
300 extern unsigned int uTextureID_507CB0; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
301 extern unsigned int uTextureID_507CB4; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
302 extern unsigned int uTextureID_507CB8; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
303
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
304
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
305 extern unsigned int uTextureID_5118C8; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
306 extern unsigned int uTextureID_MAGNIF_B; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
307 extern unsigned int uTextureID_BACKDOLL; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
308 extern unsigned int uTextureID_BACKHAND; // weak
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
309
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
310
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
311 extern Texture pTex_F7CE30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
312
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
313
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
314 extern RGBTexture stru_5773C4; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
315
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
316
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
317
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
318
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
319
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
320
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
321
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
322
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
323
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
324
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
325
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
326 struct stru355
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
327 {
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
328 int field_0;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
329 int field_4;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
330 int field_8;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
331 int field_C;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
332 int field_10;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
333 int field_14;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
334 int field_18;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
335 int field_1C;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
336 };
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
337
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
338 /* 390 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
339 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
340 struct stru350
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
341 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
342 stru350 *_450DDE();
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
343 bool _450DF1(const stru355 *p1, const stru355 *p2);
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
344 unsigned int _450F55(int a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
345 int _450FB1(int a2);
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
346 int sub_451007_scale_image_bicubic(unsigned short *pSrc, int srcWidth, int srcHeight, int srcPitch,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
347 unsigned short *pDst, int dstWidth, int dstHeight, int dstPitch,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
348 int a9, int a10);
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
349
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
350 stru355 field_0;
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 1
diff changeset
351 stru355 field_20;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
352 int field_40;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
353 int field_44;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
354 int field_48;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
355 int field_4C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
356 int field_50;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
357 int field_54;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
358 int field_58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
359 int field_5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
360 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
361 #pragma pack(pop)