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.90 by root, Sun May 21 00:34:58 2006 UTC vs.
Revision 1.92 by elmex, Tue May 23 17:30:18 2006 UTC

559#ifndef _WIN32 559#ifndef _WIN32
560 setsockopt (fd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof (val)); 560 setsockopt (fd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof (val));
561#endif 561#endif
562 562
563char * 563char *
564gl_vendor ()
565 CODE:
566 RETVAL = (char *)glGetString (GL_VENDOR);
567 OUTPUT:
568 RETVAL
569
570char *
564gl_version () 571gl_version ()
565 CODE: 572 CODE:
566 RETVAL = (char *)glGetString (GL_VERSION); 573 RETVAL = (char *)glGetString (GL_VERSION);
567 OUTPUT: 574 OUTPUT:
568 RETVAL 575 RETVAL
1676 1683
1677void glDrawElements (int mode, int count, int type, char *indices) 1684void glDrawElements (int mode, int count, int type, char *indices)
1678 1685
1679# 1.2 void glDrawRangeElements (int mode, int start, int end 1686# 1.2 void glDrawRangeElements (int mode, int start, int end
1680 1687
1688void glRasterPos (float x, float y, float z = 0.)
1689 CODE:
1690 glRasterPos3f (0, 0, z);
1691 glBitmap (0, 0, 0, 0, x, y, 0);
1692
1681void glVertex (float x, float y, float z = 0.) 1693void glVertex (float x, float y, float z = 0.)
1682 CODE: 1694 CODE:
1683 glVertex3f (x, y, z); 1695 glVertex3f (x, y, z);
1684 1696
1685void glTexCoord (float s, float t) 1697void glTexCoord (float s, float t)
1712 1724
1713void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, char *data) 1725void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, char *data)
1714 1726
1715void glCopyTexImage2D (int target, int level, int internalformat, int x, int y, int width, int height, int border) 1727void glCopyTexImage2D (int target, int level, int internalformat, int x, int y, int width, int height, int border)
1716 1728
1717void glRasterPos (int x, int y) 1729void glDrawPixels (int width, int height, int format, int type, char *pixels)
1718 CODE:
1719 glRasterPos2i (x, y);
1720 1730
1721void glCopyPixels (int x, int y, int width, int height, int type = GL_COLOR) 1731void glCopyPixels (int x, int y, int width, int height, int type = GL_COLOR)
1722 1732
1723int glGenTexture () 1733int glGenTexture ()
1724 CODE: 1734 CODE:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines