"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "X11/Ygl.h" between
Ygl-4.2f.tar.gz and Ygl-4.2g.tar.gz

About: Ygl emulates SGI’s GL routines under X11.

Ygl.h  (Ygl-4.2f):Ygl.h  (Ygl-4.2g)
/* /*
* Ygl: Run GL programs with standard X11 routines. * Ygl: Run GL programs with standard X11 routines.
* (C) Fred Hucht 1993-2006 * (C) Fred Hucht 1993-2009
* EMail: fred@thp.Uni-Duisburg.de * EMail: fred@thp.Uni-DuE.de
* *
* $Id: Ygl.h,v 4.5 2005-02-08 17:01:45+01 fred Exp fred $ * $Id: Ygl.h,v 4.6 2009-09-18 12:01:11+02 fred Exp fred $
*/ */
#ifndef _YGL_INCLUDED_ #ifndef _YGL_INCLUDED_
#define _YGL_INCLUDED_ #define _YGL_INCLUDED_
#include <sys/types.h> #include <sys/types.h>
#ifdef _AUX_SOURCE #ifdef _AUX_SOURCE
# include <X11/Yglprefix.h> # include <X11/Yglprefix.h>
#endif #endif
skipping to change at line 526 skipping to change at line 526
extern void ringbell ( void ); extern void ringbell ( void );
extern Int32 getgdesc ( Int32 ); extern Int32 getgdesc ( Int32 );
extern void foreground ( void ); extern void foreground ( void );
extern void logicop ( Int32 ); extern void logicop ( Int32 );
extern void getmatrix ( Matrix ); extern void getmatrix ( Matrix );
/* for fsscale et al. */
extern void pntsize ( Int16 );
extern void pntsizef ( Float32 );
/********************* font.c */ /********************* font.c */
extern void loadXfont ( Int32 , Char8 * ); extern void loadXfont ( Int32 , Char8 * );
extern void font ( Int16 ); extern void font ( Int16 );
extern Int32 getfont ( void ); extern Int32 getfont ( void );
extern void getfontencoding ( Char8 * ); extern void getfontencoding ( Char8 * );
extern Int32 getheight ( void ); extern Int32 getheight ( void );
extern Int32 getdescender ( void ); extern Int32 getdescender ( void );
extern Int32 strwidth ( Char8 * ); extern Int32 strwidth ( Char8 * );
extern void charstr ( Char8 * ); extern void charstr ( Char8 * );
skipping to change at line 618 skipping to change at line 622
extern void gexit ( void ); extern void gexit ( void );
#ifdef _XLIB_H_ /* Declare if <X11/Xlib.h> is included */ #ifdef _XLIB_H_ /* Declare if <X11/Xlib.h> is included */
extern Int32 winX ( Display *, Window ); extern Int32 winX ( Display *, Window );
#endif /* _XLIB_H_ */ #endif /* _XLIB_H_ */
/* gl2ppm.c */ /* gl2ppm.c */
extern int gl2ppm ( const char * ); extern int gl2ppm ( const char * );
/* 3d.c */ /* 3d.c */
extern void cmov ( Coord, Coord, Coord ); extern void cmov ( Coord, Coord, Coord );
extern void cmovi ( Icoord, Icoord, Icoord ); extern void cmovi ( Icoord, Icoord, Icoord );
extern void cmovs ( Scoord, Scoord, Scoord ); extern void cmovs ( Scoord, Scoord, Scoord );
extern void pnt ( Coord, Coord, Coord ); extern void pnt ( Coord, Coord, Coord );
extern void pnti ( Icoord, Icoord, Icoord ); extern void pnti ( Icoord, Icoord, Icoord );
extern void pnts ( Scoord, Scoord, Scoord ); extern void pnts ( Scoord, Scoord, Scoord );
extern void move ( Coord, Coord, Coord ); extern void move ( Coord, Coord, Coord );
extern void movei ( Icoord, Icoord, Icoord ); extern void movei ( Icoord, Icoord, Icoord );
skipping to change at line 740 skipping to change at line 745
/* for Pete Riley */ /* for Pete Riley */
extern void drawmode ( Int32 ); extern void drawmode ( Int32 );
extern void iconsize ( Int32, Int32 ); extern void iconsize ( Int32, Int32 );
extern void overlay ( Int32 ); extern void overlay ( Int32 );
extern void pushattributes ( void ); extern void pushattributes ( void );
extern void popattributes ( void ); extern void popattributes ( void );
extern void fullscrn ( void ); extern void fullscrn ( void );
extern void endfullscrn ( void ); extern void endfullscrn ( void );
extern void scrmask ( Screencoord , Screencoord , Screencoord , Screencoord ); extern void scrmask ( Screencoord , Screencoord , Screencoord , Screencoord );
/* for fsscale et al. */ /* Added 2012 */
extern void pntsize ( Int16 ); extern void blanktime ( Int32 );
extern void pntsizef ( Float32 ); extern void defpattern ( Int16, Int16, Int16 * );
extern Int32 getpattern ( void );
extern void setpattern ( Int16 );
extern void writemask ( Colorindex );
/* not implemented (yet) */ /* not implemented (yet) */
#if 0 #if 0
extern void attachcursor ( Device, Device ); extern void attachcursor ( Device, Device );
extern void bbox2 ( Screencoord, Screencoord, Coord, Coord, Coord, Coord ); extern void bbox2 ( Screencoord, Screencoord, Coord, Coord, Coord, Coord );
extern void bbox2i ( Screencoord, Screencoord, Icoord, Icoord, Icoord, Icoord ); extern void bbox2i ( Screencoord, Screencoord, Icoord, Icoord, Icoord, Icoord );
extern void bbox2s ( Screencoord, Screencoord, Scoord, Scoord, Scoord, Scoord ); extern void bbox2s ( Screencoord, Screencoord, Scoord, Scoord, Scoord, Scoord );
extern void bgnsurface ( void ); extern void bgnsurface ( void );
extern void bgntrim ( void ); extern void bgntrim ( void );
extern void blankscreen ( Int32 ); extern void blankscreen ( Int32 );
extern void blanktime ( Int32 );
extern void blink ( Int16, Colorindex, Int16, Int16, Int16 ); extern void blink ( Int16, Colorindex, Int16, Int16, Int16 );
extern Int32 blkqread ( Int16 *, Int16 ); extern Int32 blkqread ( Int16 *, Int16 );
extern void chunksize ( Int32 ); extern void chunksize ( Int32 );
extern void clkoff ( void ); extern void clkoff ( void );
extern void clkon ( void ); extern void clkon ( void );
extern void colorf ( Float32 ); extern void colorf ( Float32 );
extern void compactify ( Int32 ); extern void compactify ( Int32 );
extern void crv ( Coord[4][3] ); extern void crv ( Coord[4][3] );
extern void crvn ( Int32, Coord[][3] ); extern void crvn ( Int32, Coord[][3] );
extern void curorigin ( Int16, Int16, Int16 ); extern void curorigin ( Int16, Int16, Int16 );
extern void cursoff ( void ); extern void cursoff ( void );
extern void curson ( void ); extern void curson ( void );
extern void curstype ( Int32 ); extern void curstype ( Int32 );
extern void curvebasis ( Int16 ); extern void curvebasis ( Int16 );
extern void curveit ( Int16 ); extern void curveit ( Int16 );
extern void curveprecision ( Int16 ); extern void curveprecision ( Int16 );
extern void cyclemap ( Int16, Int16, Int16 ); extern void cyclemap ( Int16, Int16, Int16 );
extern void defbasis ( Int32, Matrix ); extern void defbasis ( Int32, Matrix );
extern void defcursor ( Int16, Uint16 * ); extern void defcursor ( Int16, Uint16 * );
extern void defpattern ( Int16, Int16, Int16 * );
/*extern void defrasterfont ( Int16, Int16, Int16, Fontchar[], Int16, Int16[] );*/ /*extern void defrasterfont ( Int16, Int16, Int16, Fontchar[], Int16, Int16[] );*/
extern void deltag ( Int32 ); extern void deltag ( Int32 );
extern void editobj ( Int32 ); extern void editobj ( Int32 );
extern Int32 endselect ( Int16[] ); extern Int32 endselect ( Int16[] );
extern void endsurface ( void ); extern void endsurface ( void );
extern void endtrim ( void ); extern void endtrim ( void );
extern void finish ( void ); extern void finish ( void );
extern void fudge ( Int32, Int32 ); extern void fudge ( Int32, Int32 );
extern void gRGBmask ( Int16 *, Int16 *, Int16 * ); extern void gRGBmask ( Int16 *, Int16 *, Int16 * );
extern void gammaramp ( Int16[256], Int16[256], Int16[256] ); extern void gammaramp ( Int16[256], Int16[256], Int16[256] );
skipping to change at line 796 skipping to change at line 802
extern Int32 getbackface ( void ); extern Int32 getbackface ( void );
extern Int32 getbuffer ( void ); extern Int32 getbuffer ( void );
extern Int32 getcmmode ( void ); extern Int32 getcmmode ( void );
extern void getcursor ( Int16 *, Colorindex *, Colorindex *, Int32 * ); extern void getcursor ( Int16 *, Colorindex *, Colorindex *, Int32 * );
extern Int32 getdcm ( void ); extern Int32 getdcm ( void );
extern void getdev ( Int32, Device[], short[] ); extern void getdev ( Int32, Device[], short[] );
extern Int32 getdrawmode ( void ); extern Int32 getdrawmode ( void );
extern void getgpos ( Coord *, Coord *, Coord *, Coord * ); extern void getgpos ( Coord *, Coord *, Coord *, Coord * );
extern Int32 getmap ( void ); extern Int32 getmap ( void );
extern void getnurbsproperty (Int32, Float32 *); extern void getnurbsproperty (Int32, Float32 *);
extern Int32 getpattern ( void );
extern void getscrmask ( Screencoord *, Screencoord *, Screencoord *, Screenco ord * ); extern void getscrmask ( Screencoord *, Screencoord *, Screencoord *, Screenco ord * );
extern Int32 getshade ( void ); extern Int32 getshade ( void );
extern Int32 getsm ( void ); extern Int32 getsm ( void );
extern Int32 getwritemask ( void ); extern Int32 getwritemask ( void );
extern Int32 getzbuffer ( void ); extern Int32 getzbuffer ( void );
extern void greset ( void ); extern void greset ( void );
extern void gselect ( Int16 *, Int32 ); extern void gselect ( Int16 *, Int32 );
extern void icontitle ( char * ); extern void icontitle ( char * );
extern void imakebackground ( void ); extern void imakebackground ( void );
extern Int32 istag ( Int32 ); extern Int32 istag ( Int32 );
skipping to change at line 846 skipping to change at line 851
extern void pwlcurve (Int32, Float64 *,Int32, Int32); extern void pwlcurve (Int32, Float64 *,Int32, Int32);
extern void rcrv ( Coord[4][4] ); extern void rcrv ( Coord[4][4] );
extern void rcrvn ( Int32, Coord[4][4] ); extern void rcrvn ( Int32, Coord[4][4] );
extern void rpatch ( Matrix, Matrix, Matrix, Matrix ); extern void rpatch ( Matrix, Matrix, Matrix, Matrix );
extern void screenspace ( void ); extern void screenspace ( void );
extern void set_dither ( Int32 ); extern void set_dither ( Int32 );
extern void setcursor ( Int16, Colorindex, Colorindex ); extern void setcursor ( Int16, Colorindex, Colorindex );
extern void setdblights ( Int32 ); extern void setdblights ( Int32 );
extern void setmap ( Int16 ); extern void setmap ( Int16 );
extern void setnurbsproperty (Int32, Float32); extern void setnurbsproperty (Int32, Float32);
extern void setpattern ( Int16 );
extern void setvaluator ( Device, Int16, Int16, Int16 ); extern void setvaluator ( Device, Int16, Int16, Int16 );
extern void splf ( Int32, Coord[][3], Colorindex[] ); extern void splf ( Int32, Coord[][3], Colorindex[] );
extern void splf2 ( Int32, Coord[][2], Colorindex[] ); extern void splf2 ( Int32, Coord[][2], Colorindex[] );
extern void splf2i ( Int32, Icoord[][2], Colorindex[] ); extern void splf2i ( Int32, Icoord[][2], Colorindex[] );
extern void splf2s ( Int32, Scoord[][2], Colorindex[] ); extern void splf2s ( Int32, Scoord[][2], Colorindex[] );
extern void splfi ( Int32, Icoord[][3], Colorindex[] ); extern void splfi ( Int32, Icoord[][3], Colorindex[] );
extern void splfs ( Int32, Scoord[][3], Colorindex[] ); extern void splfs ( Int32, Scoord[][3], Colorindex[] );
extern void subpixel ( Int32 ); extern void subpixel ( Int32 );
extern void swapinterval ( Int16 ); extern void swapinterval ( Int16 );
extern void textport ( Screencoord, Screencoord, Screencoord, Screencoord ); extern void textport ( Screencoord, Screencoord, Screencoord, Screencoord );
extern void tpoff ( void ); extern void tpoff ( void );
extern void tpon ( void ); extern void tpon ( void );
extern void underlay ( Int32 ); extern void underlay ( Int32 );
extern void wmpack ( Uint32 ); extern void wmpack ( Uint32 );
extern void writemask ( Colorindex );
extern void zsource ( Int32 ); extern void zsource ( Int32 );
extern void zwritemask ( Int32 ); extern void zwritemask ( Int32 );
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* _YGL_INCLUDED_ */ #endif /* _YGL_INCLUDED_ */
 End of changes. 10 change blocks. 
11 lines changed or deleted 14 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS