Mercurial > mm7
annotate GammaControl.h @ 2221:c69013c186c7
for video
author | Ritor1 |
---|---|
date | Tue, 18 Feb 2014 16:18:20 +0600 |
parents | 9bd7522cdbbb |
children | d04017f3d2fa |
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 | |
22 | |
1458 | 23 void ( ***vdestructor_ptr)(GammaController *, bool); |
0 | 24 IDirectDrawSurface4 *pSurface; |
25 IDirectDrawGammaControl *pGammaControl; | |
26 DDGAMMARAMP pDefaultRamp; | |
27 DDGAMMARAMP field_60C; | |
28 float fGamma;//field_C0C; | |
29 }; | |
30 #pragma pack(pop) |