annotate GUIProgressBar.h @ 2438:c10c639f8365

* Fixed releasing movie for movie-less transitions.
author a.parshin
date Thu, 24 Jul 2014 00:31:49 +0300
parents 6d5877899730
children 5abd8fc8f1c6
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include "Texture.h"
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5 /* 278 */
Ritor1
parents:
diff changeset
6 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
7 struct GUIProgressBar
Ritor1
parents:
diff changeset
8 {
Ritor1
parents:
diff changeset
9 enum Type: unsigned __int32
Ritor1
parents:
diff changeset
10 {
434
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 0
diff changeset
11 TYPE_None = 0,
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 0
diff changeset
12 TYPE_Fullscreen = 1,
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 0
diff changeset
13 TYPE_Box = 2
0
Ritor1
parents:
diff changeset
14 };
Ritor1
parents:
diff changeset
15
434
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 0
diff changeset
16 bool Initialize(Type type);
0
Ritor1
parents:
diff changeset
17 void Reset(unsigned __int8 uMaxProgress);
Ritor1
parents:
diff changeset
18 void Progress();
Ritor1
parents:
diff changeset
19 void Release();
Ritor1
parents:
diff changeset
20 void Draw();
Ritor1
parents:
diff changeset
21
Ritor1
parents:
diff changeset
22 __int16 uX;
Ritor1
parents:
diff changeset
23 __int16 uY;
Ritor1
parents:
diff changeset
24 __int16 uWidth;
Ritor1
parents:
diff changeset
25 __int16 uHeight;
Ritor1
parents:
diff changeset
26 char field_8;
Ritor1
parents:
diff changeset
27 char field_9;
Ritor1
parents:
diff changeset
28 char uProgressMax;
Ritor1
parents:
diff changeset
29 char uProgressCurrent;
Ritor1
parents:
diff changeset
30 Type uType;
2429
6d5877899730 * -novideo disables shop videos
a.parshin
parents: 1262
diff changeset
31 char field_10[8];
6d5877899730 * -novideo disables shop videos
a.parshin
parents: 1262
diff changeset
32 //char field_11;
6d5877899730 * -novideo disables shop videos
a.parshin
parents: 1262
diff changeset
33 //char field_12;
6d5877899730 * -novideo disables shop videos
a.parshin
parents: 1262
diff changeset
34 //char field_13;
6d5877899730 * -novideo disables shop videos
a.parshin
parents: 1262
diff changeset
35 //char field_14;
6d5877899730 * -novideo disables shop videos
a.parshin
parents: 1262
diff changeset
36 //char field_15;
6d5877899730 * -novideo disables shop videos
a.parshin
parents: 1262
diff changeset
37 //char field_16;
6d5877899730 * -novideo disables shop videos
a.parshin
parents: 1262
diff changeset
38 //char field_17;
0
Ritor1
parents:
diff changeset
39 RGBTexture pLoadingBg;
Ritor1
parents:
diff changeset
40 RGBTexture field_40;
Ritor1
parents:
diff changeset
41 RGBTexture field_68;
Ritor1
parents:
diff changeset
42 RGBTexture field_90;
Ritor1
parents:
diff changeset
43 RGBTexture field_B8;
1262
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 434
diff changeset
44 struct Texture field_E0;
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 434
diff changeset
45 struct Texture pBardata;
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 434
diff changeset
46 struct Texture pLoadingProgress;
0
Ritor1
parents:
diff changeset
47 };
Ritor1
parents:
diff changeset
48 #pragma pack(pop)
Ritor1
parents:
diff changeset
49
Ritor1
parents:
diff changeset
50
Ritor1
parents:
diff changeset
51
Ritor1
parents:
diff changeset
52 extern struct GUIProgressBar *pGameLoadingUI_ProgressBar;