ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.172 by root, Mon Apr 2 19:29:27 2007 UTC vs.
Revision 1.173 by root, Wed Apr 4 02:43:29 2007 UTC

1609 int py = y * T; 1609 int py = y * T;
1610 1610
1611 if (cell->stat_hp) 1611 if (cell->stat_hp)
1612 { 1612 {
1613 int width = cell->stat_width * T; 1613 int width = cell->stat_width * T;
1614 int thick = sh / 28 + 1 + cell->stat_width; 1614 int thick = (sh * T / 32) / 28 + 1 + cell->stat_width;
1615 1615
1616 glColor3ub (0, 0, 0); 1616 glColor3ub (0, 0, 0);
1617 glRectf (px + 1, py - thick - 2, 1617 glRectf (px + 1, py - thick - 2,
1618 px + width - 1, py); 1618 px + width - 1, py);
1619 1619

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines