Mercurial > mm7
annotate GammaControl.h @ 1955:0c5326e2044a
pActorBuffs[11] to pActorBuffs[ACTOR_BUFF_FATE]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:16:52 -0700 |
parents | 934074e7fcc1 |
children | 9bd7522cdbbb |
rev | line source |
---|---|
0 | 1 #pragma once |
1016 | 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 | 4 |
5 #pragma pack(push, 1) | |
1103 | 6 class GammaController |
0 | 7 { |
1103 | 8 public: |
0 | 9 GammaController(); |
10 inline ~GammaController() {} //----- (0044F22E) | |
11 | |
12 void Initialize/*_44F4D9*/(float gamma); | |
13 | |
14 void GetRamp(); | |
15 double _44F377(DDGAMMARAMP *a1); | |
16 void SetGammaRamp(DDGAMMARAMP *pRamp); | |
17 int InitGammaRamp(DDGAMMARAMP *pRamp); | |
18 | |
19 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2); | |
20 | |
21 static bool IsGammaSupported(); | |
22 | |
23 | |
24 | |
25 | |
1458 | 26 void ( ***vdestructor_ptr)(GammaController *, bool); |
0 | 27 IDirectDrawSurface4 *pSurface; |
28 IDirectDrawGammaControl *pGammaControl; | |
29 DDGAMMARAMP pDefaultRamp; | |
30 DDGAMMARAMP field_60C; | |
31 float fGamma;//field_C0C; | |
32 }; | |
33 #pragma pack(pop) |