comparison mm7_5.cpp @ 1160:502b8b2e36b4

font cleaning
author Gloval
date Tue, 04 Jun 2013 01:37:23 +0400
parents ca415f6bac1c
children 29a8defbad9e
comparison
equal deleted inserted replaced
1154:8ce08eea96ed 1160:502b8b2e36b4
9306 { 9306 {
9307 assert(uTextureId != -1); 9307 assert(uTextureId != -1);
9308 ZBuffer_DoFill(pZBuffer, pIcons_LOD->GetTexture(uTextureId), iZValue); 9308 ZBuffer_DoFill(pZBuffer, pIcons_LOD->GetTexture(uTextureId), iZValue);
9309 } 9309 }
9310 9310
9311 //----- (0040F845) -------------------------------------------------------- 9311
9312 __int16 __fastcall sub_40F845(int a1, int a2, int a3, int a4, int a5, __int16 a6, int a7)
9313 {
9314 int v7; // edi@1
9315 int v8; // esi@1
9316 int v9; // ecx@2
9317 int v10; // eax@3
9318
9319 v7 = a1;
9320 v8 = a2;
9321 do
9322 {
9323 v9 = a3;
9324 do
9325 {
9326 v10 = *(char *)v8++;
9327 if ( (char)v10 )
9328 {
9329 if ( (char)v10 == 1 )
9330 {
9331 LOWORD(v10) = *(short *)(a5 + 2 * v10);
9332 *(short *)v7 = v10;
9333 }
9334 else
9335 {
9336 LOWORD(v10) = a6;
9337 *(short *)v7 = a6;
9338 }
9339 }
9340 v7 += 2;
9341 --v9;
9342 }
9343 while ( v9 );
9344 v7 = a7 + v7 - a3 - a3;
9345 --a4;
9346 }
9347 while ( a4 );
9348 return v10;
9349 }
9350 9312
9351 //----- (0040F89C) -------------------------------------------------------- 9313 //----- (0040F89C) --------------------------------------------------------
9352 void __fastcall ZBuffer_DoFill(int *pZBuffer, Texture *pTex, int uZValue) 9314 void __fastcall ZBuffer_DoFill(int *pZBuffer, Texture *pTex, int uZValue)
9353 { 9315 {
9354 void *v3; // eax@3 9316 void *v3; // eax@3