annotate GammaControl.h @ 193:821fd955c379

fixed potion data parsing. Somehow 3d render was affected
author Gloval
date Sat, 16 Feb 2013 18:46:59 +0400
parents 9c0607679772
children c45d51b3f4f4
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include "Render.h"
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
5 struct GammaController
Ritor1
parents:
diff changeset
6 {
Ritor1
parents:
diff changeset
7 GammaController();
Ritor1
parents:
diff changeset
8 inline ~GammaController() {} //----- (0044F22E)
Ritor1
parents:
diff changeset
9
Ritor1
parents:
diff changeset
10 void Initialize/*_44F4D9*/(float gamma);
Ritor1
parents:
diff changeset
11
Ritor1
parents:
diff changeset
12 void GetRamp();
Ritor1
parents:
diff changeset
13 double _44F377(DDGAMMARAMP *a1);
Ritor1
parents:
diff changeset
14 void SetGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
15 int InitGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2);
Ritor1
parents:
diff changeset
18
Ritor1
parents:
diff changeset
19 static bool IsGammaSupported();
Ritor1
parents:
diff changeset
20
Ritor1
parents:
diff changeset
21
Ritor1
parents:
diff changeset
22
Ritor1
parents:
diff changeset
23
Ritor1
parents:
diff changeset
24 void (__thiscall ***vdestructor_ptr)(GammaController *, bool);
Ritor1
parents:
diff changeset
25 IDirectDrawSurface4 *pSurface;
Ritor1
parents:
diff changeset
26 IDirectDrawGammaControl *pGammaControl;
Ritor1
parents:
diff changeset
27 DDGAMMARAMP pDefaultRamp;
Ritor1
parents:
diff changeset
28 DDGAMMARAMP field_60C;
Ritor1
parents:
diff changeset
29 float fGamma;//field_C0C;
Ritor1
parents:
diff changeset
30 };
Ritor1
parents:
diff changeset
31 #pragma pack(pop)