Mercurial > mm7
diff Render.cpp @ 2216:3f375342de12
window->GetWidth() continue
author | Ritor1 |
---|---|
date | Sat, 15 Feb 2014 16:00:19 +0600 |
parents | e9625ad08541 |
children | 744ed51880ed |
line wrap: on
line diff
--- a/Render.cpp Fri Feb 14 18:08:30 2014 +0600 +++ b/Render.cpp Sat Feb 15 16:00:19 2014 +0600 @@ -1954,11 +1954,11 @@ //----- (0049E992) -------------------------------------------------------- Render::Render() { - Render *v1; // esi@1 + //Render *v1; // esi@1 int v2; // eax@1 char v3; // zf@1 - v1 = this; + //v1 = this; this->pDirectDraw4 = 0; this->pFrontBuffer4 = 0; this->pBackBuffer4 = 0; @@ -1969,41 +1969,41 @@ //this->pSomeSurface2 = 0; //RenderHWLContainer::RenderHWLContainer(&this->pD3DBitmaps); //RenderHWLContainer::RenderHWLContainer(&v1->pD3DSprites); - v1->bWindowMode = 1; - //v1->field_40054 = 0; - //v1->field_10 = 640; - //v1->field_14 = 480; - //v1->field_40030 = 0; - //v1->field_4002C = 0; - v1->pActiveZBuffer = 0; - v1->pDefaultZBuffer = 0; - v1->raster_clip_y = 0; - v1->raster_clip_x = 0; - v1->raster_clip_z = 639; - v1->raster_clip_w = 479; - //v1->field_4003C = 0x004EED80; - //v1->field_40040 = dword_4EED78; - v1->uClipZ = 640; - //v1->field_40044 = 2; - //v1->field_40048 = 6; - v1->pFrontBuffer4 = 0; - v1->pBackBuffer4 = 0; - //v1->pColorKeySurface4 = 0; - v1->pDirectDraw4 = 0; - v1->pRenderD3D = 0; - v1->uNumSceneBegins = 0; - v1->uNumD3DSceneBegins = 0; - v1->using_software_screen_buffer = 0; - v1->pTargetSurface = 0; - v1->uTargetSurfacePitch = 0; - v1->uClipY = 0; - v1->uClipX = 0; - v1->uClipW = 480; - v1->bClip = 1; - //v1->bColorKeySupported = 0; - v1->bRequiredTextureStagesAvailable = 0; - v1->bTinting = 1; - //LOBYTE(v1->field_103668) = 0; + this->bWindowMode = 1; + //this->field_40054 = 0; + //this->field_10 = 640; + //this->field_14 = 480; + //this->field_40030 = 0; + //this->field_4002C = 0; + this->pActiveZBuffer = 0; + this->pDefaultZBuffer = 0; + this->raster_clip_y = 0; + this->raster_clip_x = 0; + this->raster_clip_z = 639; + this->raster_clip_w = 479; + //this->field_4003C = 0x004EED80; + //this->field_40040 = dword_4EED78; + this->uClipZ = 640; + //this->field_40044 = 2; + //this->field_40048 = 6; + this->pFrontBuffer4 = 0; + this->pBackBuffer4 = 0; + //this->pColorKeySurface4 = 0; + this->pDirectDraw4 = 0; + this->pRenderD3D = 0; + this->uNumSceneBegins = 0; + this->uNumD3DSceneBegins = 0; + this->using_software_screen_buffer = 0; + this->pTargetSurface = 0; + this->uTargetSurfacePitch = 0; + this->uClipY = 0; + this->uClipX = 0; + this->uClipW = 480; + this->bClip = 1; + //this->bColorKeySupported = 0; + this->bRequiredTextureStagesAvailable = 0; + this->bTinting = 1; + //LOBYTE(this->field_103668) = 0; uNumBillboardsToDraw = 0; bFogEnabled = false;