annotate GammaControl.h @ 52:0f4ed4f0f472

BLV minimap: 1/3
author Nomad
date Wed, 24 Oct 2012 17:02:44 +0200
parents 8b8875f5b359
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "Render.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 struct GammaController
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 GammaController();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 inline ~GammaController() {} //----- (0044F22E)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 void Initialize/*_44F4D9*/(float gamma);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 void GetRamp();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 double _44F377(DDGAMMARAMP *a1);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 void SetGammaRamp(DDGAMMARAMP *pRamp);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 int InitGammaRamp(DDGAMMARAMP *pRamp);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 static bool IsGammaSupported();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 void (__thiscall ***vdestructor_ptr)(GammaController *, bool);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 IDirectDrawSurface4 *pSurface;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 IDirectDrawGammaControl *pGammaControl;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 DDGAMMARAMP pDefaultRamp;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 DDGAMMARAMP field_60C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 float fGamma;//field_C0C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 #pragma pack(pop)