Subversion Repositories Kolibri OS

Rev

Rev 7360 | Rev 7441 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7360 Rev 7415
Line 292... Line 292...
292
	;found min coord X
292
	;found min coord X
293
	mov ecx,[ebx+Object.FigCount]
293
	mov ecx,[ebx+Object.FigCount]
294
	jecxz .cycle2end
294
	jecxz .cycle2end
295
	mov edi,[ebx+Object.FigData]
295
	mov edi,[ebx+Object.FigData]
296
	push edi esi ;copy first min X
-
 
297
		@@:
296
	@@:
298
			mov eax,[edi]
297
		mov eax,[edi]
299
			dec ecx
298
		dec ecx
300
			jecxz .cycle2end
299
		jecxz .cycle2end
301
			add edi,4
300
		add edi,4
302
			or eax,eax
301
		or eax,eax
303
			jz @b
302
		jz @b
304
			cmp [eax+Figure.PoiCount],0
303
		cmp [eax+Figure.PoiCount],0
305
			je @b
304
		je @b
-
 
305
	push edi esi ;copy first min X
306
		lea esi,[eax+Figure.MinX]
306
		lea esi,[eax+Figure.MinX]
307
		lea edi,[ebx+Object.MinX]
307
		lea edi,[ebx+Object.MinX]
308
		movsd
308
		movsd
309
		movsd
309
		movsd
310
	pop esi edi
310
	pop esi edi
Line 318... Line 318...
318
		fld qword[eax+Figure.MinX]
318
		fld qword[eax+Figure.MinX]
319
		fcomp qword[ebx+Object.MinX]
319
		fcomp qword[ebx+Object.MinX]
320
		fstsw ax
320
		fstsw ax
321
		sahf
321
		sahf
322
		ja @f
322
		jae @f
323
			push edi esi
323
			push edi esi
324
			mov eax,[edi]
324
			mov eax,[edi]
325
			lea esi,[eax+Figure.MinX]
325
			lea esi,[eax+Figure.MinX]
326
			lea edi,[ebx+Object.MinX]
326
			lea edi,[ebx+Object.MinX]
327
			movsd
327
			movsd
328
			movsd
328
			movsd
Line 335... Line 335...
335
	;found min coord Y
335
	;found min coord Y
336
	mov ecx,[ebx+Object.FigCount]
336
	mov ecx,[ebx+Object.FigCount]
337
	jecxz .cycle3end
337
	jecxz .cycle3end
338
	mov edi,[ebx+Object.FigData]
338
	mov edi,[ebx+Object.FigData]
339
	push edi esi ;copy first min Y
-
 
340
		@@:
339
	@@:
341
			mov eax,[edi]
340
		mov eax,[edi]
342
			dec ecx
341
		dec ecx
343
			jecxz .cycle3end
342
		jecxz .cycle3end
344
			add edi,4
343
		add edi,4
345
			or eax,eax
344
		or eax,eax
346
			jz @b
345
		jz @b
347
			cmp [eax+Figure.PoiCount],0
346
		cmp [eax+Figure.PoiCount],0
348
			je @b
347
		je @b
-
 
348
	push edi esi ;copy first min Y
349
		lea esi,[eax+Figure.MinY]
349
		lea esi,[eax+Figure.MinY]
350
		lea edi,[ebx+Object.MinY]
350
		lea edi,[ebx+Object.MinY]
351
		movsd
351
		movsd
352
		movsd
352
		movsd
353
	pop esi edi
353
	pop esi edi
Line 361... Line 361...
361
		fld qword[eax+Figure.MinY]
361
		fld qword[eax+Figure.MinY]
362
		fcomp qword[ebx+Object.MinY]
362
		fcomp qword[ebx+Object.MinY]
363
		fstsw ax
363
		fstsw ax
364
		sahf
364
		sahf
365
		ja @f
365
		jae @f
366
			push edi esi
366
			push edi esi
367
			mov eax,[edi]
367
			mov eax,[edi]
368
			lea esi,[eax+Figure.MinY]
368
			lea esi,[eax+Figure.MinY]
369
			lea edi,[ebx+Object.MinY]
369
			lea edi,[ebx+Object.MinY]
370
			movsd
370
			movsd
371
			movsd
371
			movsd