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.229 by root, Mon Aug 13 16:20:17 2007 UTC vs.
Revision 1.233 by root, Tue Aug 21 02:39:17 2007 UTC

2549 const_iv (GL_INTENSITY), 2549 const_iv (GL_INTENSITY),
2550 const_iv (GL_LUMINANCE), 2550 const_iv (GL_LUMINANCE),
2551 const_iv (GL_LUMINANCE_ALPHA), 2551 const_iv (GL_LUMINANCE_ALPHA),
2552 const_iv (GL_FLOAT), 2552 const_iv (GL_FLOAT),
2553 const_iv (GL_UNSIGNED_INT_8_8_8_8_REV), 2553 const_iv (GL_UNSIGNED_INT_8_8_8_8_REV),
2554 const_iv (GL_COMPRESSED_ALPHA_ARB),
2555 const_iv (GL_COMPRESSED_LUMINANCE_ARB),
2556 const_iv (GL_COMPRESSED_LUMINANCE_ALPHA_ARB),
2557 const_iv (GL_COMPRESSED_INTENSITY_ARB),
2558 const_iv (GL_COMPRESSED_RGB_ARB),
2559 const_iv (GL_COMPRESSED_RGBA_ARB),
2554 const_iv (GL_COMPILE), 2560 const_iv (GL_COMPILE),
2555 const_iv (GL_PROXY_TEXTURE_1D), 2561 const_iv (GL_PROXY_TEXTURE_1D),
2556 const_iv (GL_PROXY_TEXTURE_2D), 2562 const_iv (GL_PROXY_TEXTURE_2D),
2557 const_iv (GL_TEXTURE_1D), 2563 const_iv (GL_TEXTURE_1D),
2558 const_iv (GL_TEXTURE_2D), 2564 const_iv (GL_TEXTURE_2D),
2597 const_iv (GL_PERSPECTIVE_CORRECTION_HINT), 2603 const_iv (GL_PERSPECTIVE_CORRECTION_HINT),
2598 const_iv (GL_POINT_SMOOTH_HINT), 2604 const_iv (GL_POINT_SMOOTH_HINT),
2599 const_iv (GL_LINE_SMOOTH_HINT), 2605 const_iv (GL_LINE_SMOOTH_HINT),
2600 const_iv (GL_POLYGON_SMOOTH_HINT), 2606 const_iv (GL_POLYGON_SMOOTH_HINT),
2601 const_iv (GL_GENERATE_MIPMAP_HINT), 2607 const_iv (GL_GENERATE_MIPMAP_HINT),
2608 const_iv (GL_TEXTURE_COMPRESSION_HINT),
2602 const_iv (GL_FASTEST), 2609 const_iv (GL_FASTEST),
2603 const_iv (GL_DONT_CARE), 2610 const_iv (GL_DONT_CARE),
2604 const_iv (GL_NICEST), 2611 const_iv (GL_NICEST),
2605 const_iv (GL_V2F), 2612 const_iv (GL_V2F),
2606 const_iv (GL_V3F), 2613 const_iv (GL_V3F),
2614 2621
2615 texture_av = newAV (); 2622 texture_av = newAV ();
2616 AvREAL_off (texture_av); 2623 AvREAL_off (texture_av);
2617} 2624}
2618 2625
2626void
2627disable_GL_EXT_blend_func_separate ()
2628 CODE:
2629 gl.BlendFuncSeparate = 0;
2630 gl.BlendFuncSeparateEXT = 0;
2631
2619char * 2632char *
2620gl_vendor () 2633gl_vendor ()
2621 CODE: 2634 CODE:
2622 RETVAL = (char *)glGetString (GL_VENDOR); 2635 RETVAL = (char *)glGetString (GL_VENDOR);
2623 OUTPUT: 2636 OUTPUT:
2743 glTexCoord2f (s, t); 2756 glTexCoord2f (s, t);
2744 2757
2745void glRect (float x1, float y1, float x2, float y2) 2758void glRect (float x1, float y1, float x2, float y2)
2746 CODE: 2759 CODE:
2747 glRectf (x1, y1, x2, y2); 2760 glRectf (x1, y1, x2, y2);
2761
2762void glRect_lineloop (float x1, float y1, float x2, float y2)
2763 CODE:
2764 glBegin (GL_LINE_LOOP);
2765 glVertex2f (x1, y1);
2766 glVertex2f (x2, y1);
2767 glVertex2f (x2, y2);
2768 glVertex2f (x1, y2);
2769 glEnd ();
2748 2770
2749PROTOTYPES: ENABLE 2771PROTOTYPES: ENABLE
2750 2772
2751void glBegin (int mode) 2773void glBegin (int mode)
2752 2774

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines