Rev 109 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 109 | Rev 485 | ||
---|---|---|---|
Line 371... | Line 371... | ||
371 | { |
371 | { |
372 | words2reg ebx,x,xs ;x*65536+xs |
372 | words2reg ebx,x,xs ;x*65536+xs |
373 | words2reg ecx,y,ys ;y*65536+ys |
373 | words2reg ecx,y,ys ;y*65536+ys |
374 | mov edx,color |
374 | mov edx,color |
375 | mov eax,13 |
375 | mov eax,13 |
376 | int 0x40 |
376 | mcall |
377 | } |
377 | } |
Line 378... | Line 378... | ||
378 | 378 | ||
379 | ; FPS - Set Frame Per Second Display |
379 | ; FPS - Set Frame Per Second Display |
380 | fps_show_frequency=40 |
380 | fps_show_frequency=40 |
Line 388... | Line 388... | ||
388 | fps dd 0 |
388 | fps dd 0 |
389 | ttt dd 0 |
389 | ttt dd 0 |
390 | spdat: |
390 | spdat: |
391 | get_time: |
391 | get_time: |
392 | mov eax,3 |
392 | mov eax,3 |
393 | int 0x40 |
393 | mcall |
394 | cmp eax,[savetime] |
394 | cmp eax,[savetime] |
395 | jne new_time |
395 | jne new_time |
396 | inc [fps_cntr] |
396 | inc [fps_cntr] |
397 | cmp dword [ttt],0 |
397 | cmp dword [ttt],0 |
398 | je out_fps |
398 | je out_fps |
Line 407... | Line 407... | ||
407 | if ~(delcolor eq ) |
407 | if ~(delcolor eq ) |
408 | mov ebx,x*65536+36 |
408 | mov ebx,x*65536+36 |
409 | mov ecx,y*65536+7 |
409 | mov ecx,y*65536+7 |
410 | mov edx,delcolor |
410 | mov edx,delcolor |
411 | mov eax,13 |
411 | mov eax,13 |
412 | int 0x40 |
412 | mcall |
413 | end if |
413 | end if |
414 | mov dword [ttt],fps_show_frequency |
414 | mov dword [ttt],fps_show_frequency |
415 | mov eax,47 |
415 | mov eax,47 |
416 | mov ebx,6*65536 |
416 | mov ebx,6*65536 |
417 | ; mov bl,0 |
417 | ; mov bl,0 |
418 | mov edx,x*65536+y |
418 | mov edx,x*65536+y |
419 | mov esi,color |
419 | mov esi,color |
420 | mov ecx,[fps] |
420 | mov ecx,[fps] |
421 | int 0x40 |
421 | mcall |
422 | no_out_fps: |
422 | no_out_fps: |
423 | } |
423 | } |
Line 424... | Line 424... | ||
424 | 424 | ||
425 | ; COLLIMG - Collusion image's |
425 | ; COLLIMG - Collusion image's |
Line 495... | Line 495... | ||
495 | shl ecx,16 |
495 | shl ecx,16 |
496 | add cx,[arg3+4] |
496 | add cx,[arg3+4] |
497 | ; wordstoreg ecx,[arg3],[arg3+4] |
497 | ; wordstoreg ecx,[arg3],[arg3+4] |
498 | ; wordstoreg edx,x,y |
498 | ; wordstoreg edx,x,y |
499 | words2reg edx, x , y ;arg1*65536+arg2 |
499 | words2reg edx, x , y ;arg1*65536+arg2 |
500 | int 0x40 |
500 | mcall |
501 | } |
501 | } |
Line 502... | Line 502... | ||
502 | 502 | ||
503 | macro setframe x , y ,arg3 |
503 | macro setframe x , y ,arg3 |
504 | { |
504 | { |
505 | mov eax,7 |
505 | mov eax,7 |
506 | mov ebx,arg3 |
506 | mov ebx,arg3 |
507 | add ebx,8 |
507 | add ebx,8 |
508 | words2reg edx, x , y ;arg1*65536+arg2 |
508 | words2reg edx, x , y ;arg1*65536+arg2 |
509 | add edx,dword [arg3] |
509 | add edx,dword [arg3] |
510 | mov ecx,dword [arg3+4] |
510 | mov ecx,dword [arg3+4] |
511 | int 0x40 |
511 | mcall |
Line 512... | Line 512... | ||
512 | } |
512 | } |
513 | 513 | ||
Line 1382... | Line 1382... | ||
1382 | table_ptr dd 1 |
1382 | table_ptr dd 1 |
Line 1383... | Line 1383... | ||
1383 | 1383 | ||
1384 | gifmacend: |
1384 | gifmacend: |
Line 1385... | Line -... | ||
1385 | } |
- | |
1386 | 1385 | } |