0
|
1 #pragma once
|
1016
|
2 #include "lib\legacy_dx\d3d.h"
|
0
|
3
|
|
4 #pragma pack(push, 1)
|
1103
|
5 class GammaController
|
0
|
6 {
|
1103
|
7 public:
|
0
|
8 GammaController();
|
|
9 inline ~GammaController() {} //----- (0044F22E)
|
|
10
|
|
11 void Initialize/*_44F4D9*/(float gamma);
|
|
12
|
|
13 void GetRamp();
|
|
14 double _44F377(DDGAMMARAMP *a1);
|
|
15 void SetGammaRamp(DDGAMMARAMP *pRamp);
|
|
16 int InitGammaRamp(DDGAMMARAMP *pRamp);
|
|
17
|
|
18 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2);
|
|
19
|
|
20 static bool IsGammaSupported();
|
|
21
|
|
22
|
|
23
|
|
24
|
|
25 void (__thiscall ***vdestructor_ptr)(GammaController *, bool);
|
|
26 IDirectDrawSurface4 *pSurface;
|
|
27 IDirectDrawGammaControl *pGammaControl;
|
|
28 DDGAMMARAMP pDefaultRamp;
|
|
29 DDGAMMARAMP field_60C;
|
|
30 float fGamma;//field_C0C;
|
|
31 };
|
|
32 #pragma pack(pop)
|