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.207 by root, Fri Jul 20 18:19:45 2007 UTC vs.
Revision 1.208 by root, Sat Jul 21 16:07:53 2007 UTC

2386 const_iv (GL_COLOR_LOGIC_OP), 2386 const_iv (GL_COLOR_LOGIC_OP),
2387 const_iv (GL_SEPARABLE_2D), 2387 const_iv (GL_SEPARABLE_2D),
2388 const_iv (GL_CONVOLUTION_2D), 2388 const_iv (GL_CONVOLUTION_2D),
2389 const_iv (GL_CONVOLUTION_BORDER_MODE), 2389 const_iv (GL_CONVOLUTION_BORDER_MODE),
2390 const_iv (GL_CONSTANT_BORDER), 2390 const_iv (GL_CONSTANT_BORDER),
2391 const_iv (GL_POINTS),
2391 const_iv (GL_LINES), 2392 const_iv (GL_LINES),
2392 const_iv (GL_LINE_STRIP), 2393 const_iv (GL_LINE_STRIP),
2393 const_iv (GL_LINE_LOOP), 2394 const_iv (GL_LINE_LOOP),
2394 const_iv (GL_QUADS), 2395 const_iv (GL_QUADS),
2395 const_iv (GL_QUAD_STRIP), 2396 const_iv (GL_QUAD_STRIP),
2396 const_iv (GL_TRIANGLES), 2397 const_iv (GL_TRIANGLES),
2397 const_iv (GL_TRIANGLE_STRIP), 2398 const_iv (GL_TRIANGLE_STRIP),
2398 const_iv (GL_TRIANGLE_FAN), 2399 const_iv (GL_TRIANGLE_FAN),
2400 const_iv (GL_POLYGON),
2399 const_iv (GL_PERSPECTIVE_CORRECTION_HINT), 2401 const_iv (GL_PERSPECTIVE_CORRECTION_HINT),
2400 const_iv (GL_POINT_SMOOTH_HINT), 2402 const_iv (GL_POINT_SMOOTH_HINT),
2401 const_iv (GL_LINE_SMOOTH_HINT), 2403 const_iv (GL_LINE_SMOOTH_HINT),
2402 const_iv (GL_POLYGON_SMOOTH_HINT), 2404 const_iv (GL_POLYGON_SMOOTH_HINT),
2403 const_iv (GL_GENERATE_MIPMAP_HINT), 2405 const_iv (GL_GENERATE_MIPMAP_HINT),
2498void glFrustum (double left, double right, double bottom, double top, double near_, double far_) 2500void glFrustum (double left, double right, double bottom, double top, double near_, double far_)
2499 2501
2500# near_ and far_ are due to microsofts buggy "c" compiler 2502# near_ and far_ are due to microsofts buggy "c" compiler
2501void glOrtho (double left, double right, double bottom, double top, double near_, double far_) 2503void glOrtho (double left, double right, double bottom, double top, double near_, double far_)
2502 2504
2505PROTOTYPES: DISABLE
2506
2503void glViewport (int x, int y, int width, int height) 2507void glViewport (int x, int y, int width, int height)
2504 2508
2505void glScissor (int x, int y, int width, int height) 2509void glScissor (int x, int y, int width, int height)
2506 2510
2507void glTranslate (float x, float y, float z = 0.) 2511void glTranslate (float x, float y, float z = 0.)
2514 2518
2515void glRotate (float angle, float x, float y, float z) 2519void glRotate (float angle, float x, float y, float z)
2516 CODE: 2520 CODE:
2517 glRotatef (angle, x, y, z); 2521 glRotatef (angle, x, y, z);
2518 2522
2519void glBegin (int mode)
2520
2521void glEnd ()
2522
2523void glColor (float r, float g, float b, float a = 1.0) 2523void glColor (float r, float g, float b, float a = 1.0)
2524 PROTOTYPE: @
2525 ALIAS: 2524 ALIAS:
2526 glColor_premultiply = 1 2525 glColor_premultiply = 1
2527 CODE: 2526 CODE:
2528 if (ix) 2527 if (ix)
2529 { 2528 {
2532 b *= a; 2531 b *= a;
2533 } 2532 }
2534 // microsoft visual "c" rounds instead of truncating... 2533 // microsoft visual "c" rounds instead of truncating...
2535 glColor4f (r, g, b, a); 2534 glColor4f (r, g, b, a);
2536 2535
2537void glInterleavedArrays (int format, int stride, char *data)
2538
2539void glDrawElements (int mode, int count, int type, char *indices)
2540
2541# 1.2 void glDrawRangeElements (int mode, int start, int end
2542
2543void glRasterPos (float x, float y, float z = 0.) 2536void glRasterPos (float x, float y, float z = 0.)
2544 CODE: 2537 CODE:
2545 glRasterPos3f (0, 0, z); 2538 glRasterPos3f (0, 0, z);
2546 glBitmap (0, 0, 0, 0, x, y, 0); 2539 glBitmap (0, 0, 0, 0, x, y, 0);
2547 2540
2551 2544
2552void glTexCoord (float s, float t) 2545void glTexCoord (float s, float t)
2553 CODE: 2546 CODE:
2554 glTexCoord2f (s, t); 2547 glTexCoord2f (s, t);
2555 2548
2549PROTOTYPES: ENABLE
2550
2551void glBegin (int mode)
2552
2553void glEnd ()
2554
2555void glPointSize (GLfloat size)
2556
2557void glLineWidth (GLfloat width)
2558
2559void glInterleavedArrays (int format, int stride, char *data)
2560
2561void glDrawElements (int mode, int count, int type, char *indices)
2562
2563# 1.2 void glDrawRangeElements (int mode, int start, int end
2564
2556void glTexEnv (int target, int pname, float param) 2565void glTexEnv (int target, int pname, float param)
2557 CODE: 2566 CODE:
2558 glTexEnvf (target, pname, param); 2567 glTexEnvf (target, pname, param);
2559 2568
2560void glTexParameter (int target, int pname, float param) 2569void glTexParameter (int target, int pname, float param)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines