annotate GammaControl.h @ 2318:133882370e83

far_clip and near_clip for draw terrain
author Ritor1
date Thu, 20 Mar 2014 17:38:29 +0600
parents 9bd7522cdbbb
children d04017f3d2fa
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 0
diff changeset
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
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1016
diff changeset
6 class GammaController
0
Ritor1
parents:
diff changeset
7 {
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1016
diff changeset
8 public:
0
Ritor1
parents:
diff changeset
9 GammaController();
Ritor1
parents:
diff changeset
10 inline ~GammaController() {} //----- (0044F22E)
Ritor1
parents:
diff changeset
11
Ritor1
parents:
diff changeset
12 void Initialize/*_44F4D9*/(float gamma);
Ritor1
parents:
diff changeset
13
Ritor1
parents:
diff changeset
14 void GetRamp();
Ritor1
parents:
diff changeset
15 double _44F377(DDGAMMARAMP *a1);
Ritor1
parents:
diff changeset
16 void SetGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
17 int InitGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
18
Ritor1
parents:
diff changeset
19 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2);
Ritor1
parents:
diff changeset
20
Ritor1
parents:
diff changeset
21
Ritor1
parents:
diff changeset
22
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1391
diff changeset
23 void ( ***vdestructor_ptr)(GammaController *, bool);
0
Ritor1
parents:
diff changeset
24 IDirectDrawSurface4 *pSurface;
Ritor1
parents:
diff changeset
25 IDirectDrawGammaControl *pGammaControl;
Ritor1
parents:
diff changeset
26 DDGAMMARAMP pDefaultRamp;
Ritor1
parents:
diff changeset
27 DDGAMMARAMP field_60C;
Ritor1
parents:
diff changeset
28 float fGamma;//field_C0C;
Ritor1
parents:
diff changeset
29 };
Ritor1
parents:
diff changeset
30 #pragma pack(pop)