annotate GammaControl.h @ 2057:b7485a6502f2

AgressorAtackInfo
author Ritor1
date Sun, 01 Dec 2013 20:13:48 +0600
parents 934074e7fcc1
children 9bd7522cdbbb
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 0
diff changeset
2 #include "lib\legacy_dx\d3d.h"
1391
cc9a3a24d61d Moved stru11, stru12 and some SW Rendering stuff to the archives.
Nomad
parents: 1103
diff changeset
3 #include "OSAPI.h"
0
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1016
diff changeset
6 class GammaController
0
Ritor1
parents:
diff changeset
7 {
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1016
diff changeset
8 public:
0
Ritor1
parents:
diff changeset
9 GammaController();
Ritor1
parents:
diff changeset
10 inline ~GammaController() {} //----- (0044F22E)
Ritor1
parents:
diff changeset
11
Ritor1
parents:
diff changeset
12 void Initialize/*_44F4D9*/(float gamma);
Ritor1
parents:
diff changeset
13
Ritor1
parents:
diff changeset
14 void GetRamp();
Ritor1
parents:
diff changeset
15 double _44F377(DDGAMMARAMP *a1);
Ritor1
parents:
diff changeset
16 void SetGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
17 int InitGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
18
Ritor1
parents:
diff changeset
19 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2);
Ritor1
parents:
diff changeset
20
Ritor1
parents:
diff changeset
21 static bool IsGammaSupported();
Ritor1
parents:
diff changeset
22
Ritor1
parents:
diff changeset
23
Ritor1
parents:
diff changeset
24
Ritor1
parents:
diff changeset
25
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1391
diff changeset
26 void ( ***vdestructor_ptr)(GammaController *, bool);
0
Ritor1
parents:
diff changeset
27 IDirectDrawSurface4 *pSurface;
Ritor1
parents:
diff changeset
28 IDirectDrawGammaControl *pGammaControl;
Ritor1
parents:
diff changeset
29 DDGAMMARAMP pDefaultRamp;
Ritor1
parents:
diff changeset
30 DDGAMMARAMP field_60C;
Ritor1
parents:
diff changeset
31 float fGamma;//field_C0C;
Ritor1
parents:
diff changeset
32 };
Ritor1
parents:
diff changeset
33 #pragma pack(pop)