Rev 3128 | Rev 3282 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3128 | Rev 3225 | ||
---|---|---|---|
Line 463... | Line 463... | ||
463 | $int 0x40 |
463 | $int 0x40 |
464 | } |
464 | } |
Line 465... | Line 465... | ||
465 | 465 | ||
466 | void DrawBar(dword x,y,w,h,EDX) |
466 | void DrawBar(dword x,y,w,h,EDX) |
467 | { |
467 | { |
468 | if (h<=0) || (h>65000) return; //bad boy :) |
468 | if (h<=0) || (h>60000) || (w<=0) || (w>60000) return; //bad boy :) |
469 | EAX = 13; |
469 | EAX = 13; |
470 | EBX = x<<16+w; |
470 | EBX = x<<16+w; |
471 | ECX = y<<16+h; |
471 | ECX = y<<16+h; |
472 | $int 0x40 |
472 | $int 0x40 |