Mercurial > mm7
diff 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 |
line wrap: on
line diff
--- a/Engine/Graphics/IRender.h Fri Oct 10 18:28:04 2014 +0300 +++ b/Engine/Graphics/IRender.h Fri Oct 10 19:23:27 2014 +0300 @@ -140,6 +140,26 @@ + inline IRender() + { + pActiveZBuffer = 0; + pDirectDraw4 = 0; + pFrontBuffer4 = 0; + pBackBuffer4 = 0; + pTargetSurface = 0; + uTargetSurfacePitch = 0; + bUseColoredLights = 0; + bTinting = 0; + bUsingSpecular = 0; + uFogColor = 0; + memset(pHDWaterBitmapIDs, 0, sizeof(pHDWaterBitmapIDs)); + hd_water_current_frame = 0; + hd_water_tile_id = 0; + pBeforePresentFunction = 0; + bFogEnabled; + memset(pBillboardRenderListD3D, 0, sizeof(pBillboardRenderListD3D)); + uNumBillboardsToDraw = 0; + } int *pActiveZBuffer; IDirectDraw4 *pDirectDraw4;