Fixed some boxes issues. Matrix is still buggy

svn-id: r3620
This commit is contained in:
Vincent Hamm 2002-02-22 16:06:09 +00:00
parent f92ed783cb
commit 8168c0b11d
5 changed files with 40 additions and 22 deletions

View file

@ -776,10 +776,10 @@ void BoxTest(int num) {
Sint16 rx1[4], ry1[4];
scumm.getBoxCoordinates(num, &box);
rx1[0] = box.ul.x*2; ry1[0] = box.ul.y*2;
rx1[1] = box.ur.x*2; ry1[1] = box.ur.y*2;
rx1[2] = box.lr.x*2; ry1[2] = box.lr.y*2;
rx1[3] = box.ll.x*2; ry1[3] = box.ll.y*2;
rx1[0] = box.ul.x*2; ry1[0] = box.ul.y*2+32;
rx1[1] = box.ur.x*2; ry1[1] = box.ur.y*2+32;
rx1[2] = box.lr.x*2; ry1[2] = box.lr.y*2+32;
rx1[3] = box.ll.x*2; ry1[3] = box.ll.y*2+32;
filledPolygonColor(screen, &rx1[0], &ry1[0], 4, 255);
SDL_UpdateRect(screen, 0,0,0,0);