comparison Engine/Graphics/IRender.h @ 2526:b1c516bf1102

IRender c-tor
author a.parshin
date Fri, 10 Oct 2014 19:23:27 +0300
parents 4cc81f981afb
children 400edd7b0407
comparison
equal deleted inserted replaced
2525:4cc81f981afb 2526:b1c516bf1102
138 138
139 139
140 140
141 141
142 142
143 inline IRender()
144 {
145 pActiveZBuffer = 0;
146 pDirectDraw4 = 0;
147 pFrontBuffer4 = 0;
148 pBackBuffer4 = 0;
149 pTargetSurface = 0;
150 uTargetSurfacePitch = 0;
151 bUseColoredLights = 0;
152 bTinting = 0;
153 bUsingSpecular = 0;
154 uFogColor = 0;
155 memset(pHDWaterBitmapIDs, 0, sizeof(pHDWaterBitmapIDs));
156 hd_water_current_frame = 0;
157 hd_water_tile_id = 0;
158 pBeforePresentFunction = 0;
159 bFogEnabled;
160 memset(pBillboardRenderListD3D, 0, sizeof(pBillboardRenderListD3D));
161 uNumBillboardsToDraw = 0;
162 }
143 163
144 int *pActiveZBuffer; 164 int *pActiveZBuffer;
145 IDirectDraw4 *pDirectDraw4; 165 IDirectDraw4 *pDirectDraw4;
146 IDirectDrawSurface4 *pFrontBuffer4; 166 IDirectDrawSurface4 *pFrontBuffer4;
147 IDirectDrawSurface4 *pBackBuffer4; 167 IDirectDrawSurface4 *pBackBuffer4;