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.122 by root, Fri Jun 23 22:35:15 2006 UTC vs.
Revision 1.123 by root, Wed Jun 28 23:41:11 2006 UTC

1528void 1528void
1529draw_magicmap (CFClient::Map self, int dx, int dy, int w, int h, unsigned char *data) 1529draw_magicmap (CFClient::Map self, int dx, int dy, int w, int h, unsigned char *data)
1530 CODE: 1530 CODE:
1531{ 1531{
1532 static float color[16][3] = { 1532 static float color[16][3] = {
1533 { 0.00, 0.00, 0.00 }, 1533 { 0.00F, 0.00F, 0.00F },
1534 { 1.00, 1.00, 1.00 }, 1534 { 1.00F, 1.00F, 1.00F },
1535 { 0.00, 0.00, 0.55 }, 1535 { 0.00F, 0.00F, 0.55F },
1536 { 1.00, 0.00, 0.00 }, 1536 { 1.00F, 0.00F, 0.00F },
1537 1537
1538 { 1.00, 0.54, 0.00 }, 1538 { 1.00F, 0.54F, 0.00F },
1539 { 0.11, 0.56, 1.00 }, 1539 { 0.11F, 0.56F, 1.00F },
1540 { 0.93, 0.46, 0.00 }, 1540 { 0.93F, 0.46F, 0.00F },
1541 { 0.18, 0.54, 0.34 }, 1541 { 0.18F, 0.54F, 0.34F },
1542 1542
1543 { 0.56, 0.73, 0.56 }, 1543 { 0.56F, 0.73F, 0.56F },
1544 { 0.80, 0.80, 0.80 }, 1544 { 0.80F, 0.80F, 0.80F },
1545 { 0.55, 0.41, 0.13 }, 1545 { 0.55F, 0.41F, 0.13F },
1546 { 0.99, 0.77, 0.26 }, 1546 { 0.99F, 0.77F, 0.26F },
1547 1547
1548 { 0.74, 0.65, 0.41 }, 1548 { 0.74F, 0.65F, 0.41F },
1549 1549
1550 { 0.00, 1.00, 1.00 }, 1550 { 0.00F, 1.00F, 1.00F },
1551 { 1.00, 0.00, 1.00 }, 1551 { 1.00F, 0.00F, 1.00F },
1552 { 1.00, 1.00, 0.00 }, 1552 { 1.00F, 1.00F, 0.00F },
1553 }; 1553 };
1554 1554
1555 int x, y; 1555 int x, y;
1556 1556
1557 glEnable (GL_TEXTURE_2D); 1557 glEnable (GL_TEXTURE_2D);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines