comparison Render.cpp @ 2216:3f375342de12

window->GetWidth() continue
author Ritor1
date Sat, 15 Feb 2014 16:00:19 +0600
parents e9625ad08541
children 744ed51880ed
comparison
equal deleted inserted replaced
2215:e9625ad08541 2216:3f375342de12
1952 1952
1953 1953
1954 //----- (0049E992) -------------------------------------------------------- 1954 //----- (0049E992) --------------------------------------------------------
1955 Render::Render() 1955 Render::Render()
1956 { 1956 {
1957 Render *v1; // esi@1 1957 //Render *v1; // esi@1
1958 int v2; // eax@1 1958 int v2; // eax@1
1959 char v3; // zf@1 1959 char v3; // zf@1
1960 1960
1961 v1 = this; 1961 //v1 = this;
1962 this->pDirectDraw4 = 0; 1962 this->pDirectDraw4 = 0;
1963 this->pFrontBuffer4 = 0; 1963 this->pFrontBuffer4 = 0;
1964 this->pBackBuffer4 = 0; 1964 this->pBackBuffer4 = 0;
1965 //this->pColorKeySurface4 = 0; 1965 //this->pColorKeySurface4 = 0;
1966 //this->pDirectDraw2 = 0; 1966 //this->pDirectDraw2 = 0;
1967 //this->pFrontBuffer2 = 0; 1967 //this->pFrontBuffer2 = 0;
1968 //this->pBackBuffer2 = 0; 1968 //this->pBackBuffer2 = 0;
1969 //this->pSomeSurface2 = 0; 1969 //this->pSomeSurface2 = 0;
1970 //RenderHWLContainer::RenderHWLContainer(&this->pD3DBitmaps); 1970 //RenderHWLContainer::RenderHWLContainer(&this->pD3DBitmaps);
1971 //RenderHWLContainer::RenderHWLContainer(&v1->pD3DSprites); 1971 //RenderHWLContainer::RenderHWLContainer(&v1->pD3DSprites);
1972 v1->bWindowMode = 1; 1972 this->bWindowMode = 1;
1973 //v1->field_40054 = 0; 1973 //this->field_40054 = 0;
1974 //v1->field_10 = 640; 1974 //this->field_10 = 640;
1975 //v1->field_14 = 480; 1975 //this->field_14 = 480;
1976 //v1->field_40030 = 0; 1976 //this->field_40030 = 0;
1977 //v1->field_4002C = 0; 1977 //this->field_4002C = 0;
1978 v1->pActiveZBuffer = 0; 1978 this->pActiveZBuffer = 0;
1979 v1->pDefaultZBuffer = 0; 1979 this->pDefaultZBuffer = 0;
1980 v1->raster_clip_y = 0; 1980 this->raster_clip_y = 0;
1981 v1->raster_clip_x = 0; 1981 this->raster_clip_x = 0;
1982 v1->raster_clip_z = 639; 1982 this->raster_clip_z = 639;
1983 v1->raster_clip_w = 479; 1983 this->raster_clip_w = 479;
1984 //v1->field_4003C = 0x004EED80; 1984 //this->field_4003C = 0x004EED80;
1985 //v1->field_40040 = dword_4EED78; 1985 //this->field_40040 = dword_4EED78;
1986 v1->uClipZ = 640; 1986 this->uClipZ = 640;
1987 //v1->field_40044 = 2; 1987 //this->field_40044 = 2;
1988 //v1->field_40048 = 6; 1988 //this->field_40048 = 6;
1989 v1->pFrontBuffer4 = 0; 1989 this->pFrontBuffer4 = 0;
1990 v1->pBackBuffer4 = 0; 1990 this->pBackBuffer4 = 0;
1991 //v1->pColorKeySurface4 = 0; 1991 //this->pColorKeySurface4 = 0;
1992 v1->pDirectDraw4 = 0; 1992 this->pDirectDraw4 = 0;
1993 v1->pRenderD3D = 0; 1993 this->pRenderD3D = 0;
1994 v1->uNumSceneBegins = 0; 1994 this->uNumSceneBegins = 0;
1995 v1->uNumD3DSceneBegins = 0; 1995 this->uNumD3DSceneBegins = 0;
1996 v1->using_software_screen_buffer = 0; 1996 this->using_software_screen_buffer = 0;
1997 v1->pTargetSurface = 0; 1997 this->pTargetSurface = 0;
1998 v1->uTargetSurfacePitch = 0; 1998 this->uTargetSurfacePitch = 0;
1999 v1->uClipY = 0; 1999 this->uClipY = 0;
2000 v1->uClipX = 0; 2000 this->uClipX = 0;
2001 v1->uClipW = 480; 2001 this->uClipW = 480;
2002 v1->bClip = 1; 2002 this->bClip = 1;
2003 //v1->bColorKeySupported = 0; 2003 //this->bColorKeySupported = 0;
2004 v1->bRequiredTextureStagesAvailable = 0; 2004 this->bRequiredTextureStagesAvailable = 0;
2005 v1->bTinting = 1; 2005 this->bTinting = 1;
2006 //LOBYTE(v1->field_103668) = 0; 2006 //LOBYTE(this->field_103668) = 0;
2007 uNumBillboardsToDraw = 0; 2007 uNumBillboardsToDraw = 0;
2008 bFogEnabled = false; 2008 bFogEnabled = false;
2009 2009
2010 hd_water_tile_id = -1; 2010 hd_water_tile_id = -1;
2011 hd_water_current_frame = 0; 2011 hd_water_current_frame = 0;