annotate GUIProgressBar.h @ 895:a5456f17ab36

Sky looks slightly better.
author Nomad
date Wed, 03 Apr 2013 21:22:51 +0200
parents 137c59c3dbc4
children 0aeac0b9ca30
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;
Ritor1
parents:
diff changeset
31 char field_10;
Ritor1
parents:
diff changeset
32 char field_11;
Ritor1
parents:
diff changeset
33 char field_12;
Ritor1
parents:
diff changeset
34 char field_13;
Ritor1
parents:
diff changeset
35 char field_14;
Ritor1
parents:
diff changeset
36 char field_15;
Ritor1
parents:
diff changeset
37 char field_16;
Ritor1
parents:
diff changeset
38 char field_17;
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;
Ritor1
parents:
diff changeset
44 Texture field_E0;
Ritor1
parents:
diff changeset
45 Texture pBardata;
Ritor1
parents:
diff changeset
46 Texture pLoadingProgress;
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;