comparison Render.cpp @ 1185:24454b5c9268

more on acromage
author Gloval
date Fri, 07 Jun 2013 01:32:17 +0400
parents fa30ea497e94
children 0dbf6c4dd029
comparison
equal deleted inserted replaced
1184:a90dc4aee8f4 1185:24454b5c9268
10685 bool RenderD3D::DoesRaiseExceptions() 10685 bool RenderD3D::DoesRaiseExceptions()
10686 { 10686 {
10687 return true; 10687 return true;
10688 } 10688 }
10689 10689
10690 //----- (0040DBD3) --------------------------------------------------------
10691 void __fastcall Render::SetPixel(Vec2_int_ *pTargetXY, unsigned __int16 uColor)
10692 {
10693 pRenderer->BeginScene();
10694 if ( pRenderer->uNumSceneBegins )
10695 {
10696 int xVal = pTargetXY->x;
10697 int yVal = pTargetXY->y;
10698 if ( xVal >= 0 && xVal <= 639 && yVal >= 0 && yVal <= 479)
10699 {
10700 pRenderer->pTargetSurface[xVal + pRenderer->uTargetSurfacePitch * yVal] = uColor;
10701 }
10702 pRenderer->EndScene();
10703 }
10704 }
10705 10690
10706 //----- (004524D8) -------------------------------------------------------- 10691 //----- (004524D8) --------------------------------------------------------
10707 HWLTexture *RenderHWLContainer::LoadTexture(const char *pName, int bMipMaps) 10692 HWLTexture *RenderHWLContainer::LoadTexture(const char *pName, int bMipMaps)
10708 { 10693 {
10709 int v11; // eax@13 10694 int v11; // eax@13