plib-cvs Mailing List for PLIB (Page 43)
Brought to you by:
sjbaker
You can subscribe to this list here.
2002 |
Jan
(25) |
Feb
(10) |
Mar
(60) |
Apr
(49) |
May
(54) |
Jun
(94) |
Jul
(82) |
Aug
(251) |
Sep
(366) |
Oct
(17) |
Nov
(20) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(12) |
Feb
(8) |
Mar
(2) |
Apr
(4) |
May
(5) |
Jun
(8) |
Jul
(23) |
Aug
(8) |
Sep
(7) |
Oct
(5) |
Nov
(20) |
Dec
(20) |
2004 |
Jan
(19) |
Feb
(70) |
Mar
(108) |
Apr
(24) |
May
(6) |
Jun
(5) |
Jul
|
Aug
(8) |
Sep
(18) |
Oct
(27) |
Nov
|
Dec
(13) |
2005 |
Jan
(19) |
Feb
(13) |
Mar
(1) |
Apr
|
May
(10) |
Jun
(1) |
Jul
(10) |
Aug
(5) |
Sep
(2) |
Oct
(2) |
Nov
(6) |
Dec
(4) |
2006 |
Jan
(9) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sebastian U. <ud...@us...> - 2002-08-25 12:04:57
|
Update of /cvsroot/plib/plib/src/sg In directory usw-pr-cvs1:/tmp/cvs-serv25954 Modified Files: sg.dsp Log Message: Added sgdIsect.cxx and sgPerlinNoise.cxx Index: sg.dsp =================================================================== RCS file: /cvsroot/plib/plib/src/sg/sg.dsp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- sg.dsp 17 Dec 2001 22:44:09 -0000 1.12 +++ sg.dsp 25 Aug 2002 12:04:54 -0000 1.13 @@ -106,7 +106,15 @@ # End Source File # Begin Source File +SOURCE=.\sgdIsect.cxx +# End Source File +# Begin Source File + SOURCE=.\sgIsect.cxx +# End Source File +# Begin Source File + +SOURCE=.\sgPerlinNoise.cxx # End Source File # End Target # End Project |
From: Sebastian U. <ud...@us...> - 2002-08-25 11:59:37
|
Update of /cvsroot/plib/plib/src/sg In directory usw-pr-cvs1:/tmp/cvs-serv24355 Modified Files: sgPerlinNoise.cxx Log Message: Removed DOS line endings Index: sgPerlinNoise.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/sg/sgPerlinNoise.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- sgPerlinNoise.cxx 24 Aug 2002 23:22:13 -0000 1.1 +++ sgPerlinNoise.cxx 25 Aug 2002 11:59:34 -0000 1.2 @@ -1,294 +1,294 @@ - - -/* - sgPerlinNoise - - This is a class to implement coherent noise over 1, 2, or 3 - dimensions. The implementation is based on the Ken Perlin's - noise function and borrows heavily from Matt Zucker's implementation. -*/ - - [...557 lines suppressed...] +{ + int i ; + + for ( i = 0 ; i < SG_PERLIN_NOISE_WRAP_INDEX ; i++ ) + { + sgSetVec3 ( gradTable [ i ], randFloat(), randFloat(), randFloat() ) ; + sgNormalizeVec3 ( gradTable [ i ] ) ; + } + + for ( i = 0 ; i < SG_PERLIN_NOISE_WRAP_INDEX + 2 ; i++ ) + { + gradTable [ SG_PERLIN_NOISE_WRAP_INDEX + i ][ 0 ] = gradTable [ i ][ 0 ] ; + gradTable [ SG_PERLIN_NOISE_WRAP_INDEX + i ][ 1 ] = gradTable [ i ][ 1 ] ; + gradTable [ SG_PERLIN_NOISE_WRAP_INDEX + i ][ 2 ] = gradTable [ i ][ 2 ] ; + } + + initPermTable () ; +} + + |
From: Steve B. <sj...@us...> - 2002-08-24 23:37:54
|
Update of /cvsroot/plib/plib/src/ssg In directory usw-pr-cvs1:/tmp/cvs-serv8373/plib/src/ssg Modified Files: ssgLoadFLT.cxx Log Message: Remove compilation warning. Index: ssgLoadFLT.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadFLT.cxx,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- ssgLoadFLT.cxx 10 Jun 2002 16:34:30 -0000 1.30 +++ ssgLoadFLT.cxx 24 Aug 2002 23:37:51 -0000 1.31 @@ -186,6 +186,7 @@ #if !defined(BYTE_ORDER) || BYTE_ORDER != BIG_ENDIAN +#ifdef PROBE_ENDIAN static void _swab16(const void *src, void *dst, int n) { ushort *s = (ushort *)src; @@ -196,6 +197,7 @@ ((t & 0x00ffU) << 8)); } } +#endif static void _swab32(const void *src, void *dst, int n) { |
From: Steve B. <sj...@us...> - 2002-08-24 23:37:54
|
Update of /cvsroot/plib/plib/doc/sg In directory usw-pr-cvs1:/tmp/cvs-serv8373/plib/doc/sg Modified Files: index.html Log Message: Remove compilation warning. Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/sg/index.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- index.html 24 Aug 2002 23:22:13 -0000 1.18 +++ index.html 24 Aug 2002 23:37:51 -0000 1.19 @@ -558,6 +558,8 @@ void sgVectorProductVec3 ( sgVec3 dst, sgVec3 a, sgVec3 b ) + SGfloat sgLerp ( SGfloat a, SGfloat b, SGfloat f ) + void sgLerp2 ( sgVec2 dst, sgVec2 a, sgVec2 b, SGfloat f ) void sgLerp3 ( sgVec3 dst, sgVec3 a, sgVec3 b, SGfloat f ) void sgLerp4 ( sgVec4 dst, sgVec4 a, sgVec4 b, SGfloat f ) @@ -693,7 +695,7 @@ </tr> <tr> <td>SG_PROJECTION</td> - <td>Forth column not 0,0,0,1.</td> + <td>Fourth column not 0,0,0,1.</td> </tr> </table> |
From: Steve B. <sj...@us...> - 2002-08-24 23:22:16
|
Update of /cvsroot/plib/plib/src/sg In directory usw-pr-cvs1:/tmp/cvs-serv5373/plib/src/sg Modified Files: Makefile.am sg.h Added Files: sgPerlinNoise.cxx Log Message: Added Perlin Noise functions - plus documentation. --- NEW FILE: sgPerlinNoise.cxx --- /* sgPerlinNoise This is a class to implement coherent noise over 1, 2, or 3 dimensions. The implementation is based on the Ken Perlin's noise function and borrows heavily from Matt Zucker's implementation. */ #include <stdio.h> #include <time.h> #include <math.h> #include "sg.h" static unsigned int *permTable = NULL ; [...255 lines suppressed...] { int i ; for ( i = 0 ; i < SG_PERLIN_NOISE_WRAP_INDEX ; i++ ) { sgSetVec3 ( gradTable [ i ], randFloat(), randFloat(), randFloat() ) ; sgNormalizeVec3 ( gradTable [ i ] ) ; } for ( i = 0 ; i < SG_PERLIN_NOISE_WRAP_INDEX + 2 ; i++ ) { gradTable [ SG_PERLIN_NOISE_WRAP_INDEX + i ][ 0 ] = gradTable [ i ][ 0 ] ; gradTable [ SG_PERLIN_NOISE_WRAP_INDEX + i ][ 1 ] = gradTable [ i ][ 1 ] ; gradTable [ SG_PERLIN_NOISE_WRAP_INDEX + i ][ 2 ] = gradTable [ i ][ 2 ] ; } initPermTable () ; } Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/src/sg/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Makefile.am 18 Dec 2001 04:06:04 -0000 1.6 +++ Makefile.am 24 Aug 2002 23:22:13 -0000 1.7 @@ -2,7 +2,9 @@ include_HEADERS = sg.h -libplibsg_a_SOURCES = sg.cxx sgd.cxx sgIsect.cxx sgdIsect.cxx +libplibsg_a_SOURCES = sg.cxx sgd.cxx \ + sgIsect.cxx sgdIsect.cxx \ + sgPerlinNoise.cxx INCLUDES = -I$(top_srcdir)/src/util Index: sg.h =================================================================== RCS file: /cvsroot/plib/plib/src/sg/sg.h,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- sg.h 11 Aug 2002 19:52:07 -0000 1.44 +++ sg.h 24 Aug 2002 23:22:13 -0000 1.45 @@ -574,6 +574,10 @@ extern void sgVectorProductVec3 ( sgVec3 dst, const sgVec3 a, const sgVec3 b ) ; +inline SGfloat sgLerp ( const SGfloat a, const SGfloat b, const SGfloat f ) +{ + return a + f * ( b - a ) ; +} inline void sgLerpVec4 ( sgVec4 dst, const sgVec4 a, const sgVec4 b, const SGfloat f ) { @@ -2795,6 +2799,86 @@ [...66 lines suppressed...] + sgVec3 gradTable [ SG_PERLIN_NOISE_WRAP_INDEX * 2 + 2 ] ; + +public: + + sgPerlinNoise_3D () ; + + void regenerate () ; + + SGfloat getNoise ( sgVec3 pos ) ; + SGfloat getNoise ( SGfloat x, SGfloat y, SGfloat z ) + { + sgVec3 p ; + sgSetVec3 ( p, x, y, z ) ; + return getNoise ( p ) ; + } +} ; + #endif |
From: Steve B. <sj...@us...> - 2002-08-24 23:22:16
|
Update of /cvsroot/plib/plib/doc/sg In directory usw-pr-cvs1:/tmp/cvs-serv5373/plib/doc/sg Modified Files: index.html Log Message: Added Perlin Noise functions - plus documentation. Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/sg/index.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- index.html 24 Aug 2002 20:36:20 -0000 1.17 +++ index.html 24 Aug 2002 23:22:13 -0000 1.18 @@ -870,6 +870,45 @@ void sgSetMat4 ( sgMat4 dst, sgdMat4 src ) ; void sgSetCoord ( sgCoord *dst, sgdCoord *src ) ; </pre> +<H3>Perlin Noise.</H3> +There are three classes that implement Perlin Noise functions +(in one, two and three dimensions). +<pre> + +class sgPerlinNoise_1D +{ + sgPerlinNoise_1D () ; + void regenerate () ; + SGfloat getNoise ( SGfloat x ) ; +} ; + +class sgPerlinNoise_2D +{ + sgPerlinNoise_2D () ; + void regenerate () ; + SGfloat getNoise ( sgVec2 pos ) ; + SGfloat getNoise ( SGfloat x, SGfloat y ) ; +} ; + +class sgPerlinNoise_3D +{ + sgPerlinNoise_3D () ; + void regenerate () ; + SGfloat getNoise ( sgVec3 pos ) ; + SGfloat getNoise ( SGfloat x, SGfloat y, SGfloat z ) ; +} ; + +</pre> +In each case, you simply construct the class, then call 'getNoise' +with the coordinate (either one, two or three-dimensional) at which +you need the value for the noise function. Perlin noise is both +repeatable (if you make the same request twice, you get the same +result) and continuous (there are no large jumps between results +for points that are close to one-another). +<p> +Calling 'regenerate' will cause the function to subsequently +generate a different noise pattern (presuming you didn't re-seed +the 'rand()' function to the same value before each call). <H3>Spring/Mass/Damper model.</H3> Many applications can greatly benefit from some simple dynamics modelling. SG includes two classes that taken together implement |
From: James J. <pu...@us...> - 2002-08-24 23:18:41
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv4862 Modified Files: puLargeInput.cxx Log Message: Fixed warnings -- note, need to change PU_KEY_PAGE_UP and DOWN to change pages rather than go to top and bottom Index: puLargeInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puLargeInput.cxx,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- puLargeInput.cxx 21 Aug 2002 18:36:15 -0000 1.35 +++ puLargeInput.cxx 24 Aug 2002 23:18:37 -0000 1.36 @@ -395,8 +395,6 @@ float bottom_value = bottom_slider ? bottom_slider->getFloatValue () : 0.0 ; - float right_value = right_slider->getFloatValue () ; - int beg_pos // Position in window of start of line, in pixels = int(( box_width - max_width ) * bottom_value ) ; //// int end_pos // Position in window of end of line, in pixels @@ -541,9 +539,8 @@ int start_pos = beg_pos ; int end_pos // Position in window of end of line, in pixels - = start_pos + legendFont.getFloatStringWidth ( val ) ; + = start_pos + (int)legendFont.getFloatStringWidth ( val ) ; - int nch = strlen ( val ) ; if ( end_pos > start_pos ) // If we actually have text in the line { char * lastonleft = val ; @@ -631,7 +628,7 @@ char temp_char = val[ cursor_position ] ; val [ cursor_position ] = '\0' ; - xx = legendFont.getFloatStringWidth ( " " ) ; + xx = (int)legendFont.getFloatStringWidth ( " " ) ; yy = (int)( abox.max[1] - abox.min[1] - legendFont.getStringHeight () * 1.5 + top_line_in_window * line_size ) ; // Offset y-coord for unprinted lines @@ -731,8 +728,6 @@ float bottom_value = bottom_slider ? bottom_slider->getFloatValue () : 0.0 ; - float right_value = right_slider->getFloatValue () ; - int beg_pos // Position in window of start of line, in pixels = int( ( box_width - max_width ) * bottom_value ) ; // int end_pos // Position in window of end of line, in pixels @@ -921,14 +916,14 @@ switch ( key ) { case PU_KEY_PAGE_UP : - while ( old_text [ cursor_position ] != NULL ) /* Move the cursor to the top of the data */ + while ( old_text [ cursor_position ] != '\0' ) /* Move the cursor to the top of the data */ cursor_position-- ; select_start_position = select_end_position = cursor_position ; setTopLineInWindow ( ((top_line_in_window - lines_in_window + 2)<0) ? 0 : (top_line_in_window - lines_in_window + 2) ); right_slider->setValue (1.0f - float(top_line_in_window) / num_lines ) ; break; case PU_KEY_PAGE_DOWN : - while ( old_text [ cursor_position ] != NULL ) /* Move the cursor to the end of the data */ + while ( old_text [ cursor_position ] != '\0' ) /* Move the cursor to the end of the data */ cursor_position++ ; select_start_position = select_end_position = cursor_position ; setTopLineInWindow ( ((top_line_in_window + lines_in_window - 2)>num_lines) ? (num_lines + 2) : (top_line_in_window + lines_in_window - 2) ); /* Plus two for consistancy - JCJ 20 Jun 2002 */ |
From: Sebastian U. <ud...@us...> - 2002-08-24 20:55:44
|
Update of /cvsroot/plib/CVSROOT In directory usw-pr-cvs1:/tmp/cvs-serv4904 Modified Files: syncmail Log Message: Updated to rev. 1.20 from cvs-syncmail CVS repository Index: syncmail =================================================================== RCS file: /cvsroot/plib/CVSROOT/syncmail,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- syncmail 23 May 2002 19:18:53 -0000 1.12 +++ syncmail 24 Aug 2002 20:55:41 -0000 1.13 @@ -47,6 +47,10 @@ -u Produce a unified diff (smaller). + -S TEXT + --subject-prefix=TEXT + Preprend TEXT to the email subject line. + --quiet / -q Don't print as much status to stdout. @@ -71,7 +75,7 @@ [...82 lines suppressed...] verbose = 0 elif opt in ('-f', '--fromhost'): @@ -289,7 +297,7 @@ # $CVSROOT, followed by the list of files that are changing. if not args: usage(1, 'No CVS module specified') - subject = args[0] + subject = subject_prefix + args[0] specs = string.split(args[0]) del args[0] @@ -303,7 +311,7 @@ if verbose: print 'Mailing %s...' % string.join(people, COMMASPACE) - if specs == ['-', 'Imported', 'sources']: + if specs[-3:] == ['-', 'Imported', 'sources']: return if specs[-3:] == ['-', 'New', 'directory']: del specs[-3:] |
From: Sebastian U. <ud...@us...> - 2002-08-24 20:36:24
|
Update of /cvsroot/plib/plib/doc/ssgAux In directory usw-pr-cvs1:/tmp/cvs-serv31061/ssgAux Modified Files: index.html Log Message: Minor HTML code cleanups Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssgAux/index.html,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- index.html 24 Aug 2002 17:40:32 -0000 1.8 +++ index.html 24 Aug 2002 20:36:20 -0000 1.9 @@ -40,7 +40,7 @@ </TD> <TD> <center> -<IMG SRC="snapshot.png"> +<IMG SRC="snapshot.png" ALT="ssgAux screenshot" WIDTH=417 HEIGHT=309> <br> This image was created entirely from ssgAux primitives. </center> @@ -551,12 +551,17 @@ into the code and shared between however many lens flares there are in the scene. <hr> -<hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> |
From: Sebastian U. <ud...@us...> - 2002-08-24 20:36:24
|
Update of /cvsroot/plib/plib/doc/sg In directory usw-pr-cvs1:/tmp/cvs-serv31061/sg Modified Files: index.html Log Message: Minor HTML code cleanups Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/sg/index.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- index.html 11 Aug 2002 19:52:07 -0000 1.16 +++ index.html 24 Aug 2002 20:36:20 -0000 1.17 @@ -199,7 +199,7 @@ </ul> </TD> <TD> -<center><IMG SRC="triangle_params.png"></center> +<center><IMG SRC="triangle_params.png" ALT="Triangle" WIDTH=256 HEIGHT=256></center> </TD> </TR> </TABLE> |
Update of /cvsroot/plib/plib/doc/ssg In directory usw-pr-cvs1:/tmp/cvs-serv31061/ssg Modified Files: LoaderWriter.html branches.html index.html non_class.html ssgBase.html ssgContext.html ssgEntity.html ssgLeaf.html state.html Log Message: Minor HTML code cleanups Index: LoaderWriter.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/LoaderWriter.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- LoaderWriter.html 27 Oct 2001 05:34:47 -0000 1.11 +++ LoaderWriter.html 24 Aug 2002 20:36:20 -0000 1.12 @@ -299,11 +299,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> Index: branches.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/branches.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- branches.html 27 Oct 2001 05:34:47 -0000 1.5 +++ branches.html 24 Aug 2002 20:36:20 -0000 1.6 @@ -287,11 +287,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/index.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- index.html 27 Oct 2001 05:34:47 -0000 1.10 +++ index.html 24 Aug 2002 20:36:20 -0000 1.11 @@ -141,11 +141,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> Index: non_class.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/non_class.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- non_class.html 7 Aug 2002 06:15:24 -0000 1.28 +++ non_class.html 24 Aug 2002 20:36:20 -0000 1.29 @@ -964,11 +964,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> Index: ssgBase.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/ssgBase.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ssgBase.html 27 Oct 2001 05:34:47 -0000 1.5 +++ ssgBase.html 24 Aug 2002 20:36:20 -0000 1.6 @@ -217,11 +217,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> Index: ssgContext.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/ssgContext.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ssgContext.html 27 Oct 2001 05:34:47 -0000 1.5 +++ ssgContext.html 24 Aug 2002 20:36:20 -0000 1.6 @@ -167,11 +167,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> Index: ssgEntity.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/ssgEntity.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ssgEntity.html 27 Oct 2001 05:34:47 -0000 1.4 +++ ssgEntity.html 24 Aug 2002 20:36:20 -0000 1.5 @@ -130,11 +130,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> Index: ssgLeaf.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/ssgLeaf.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ssgLeaf.html 16 Dec 2001 18:46:37 -0000 1.6 +++ ssgLeaf.html 24 Aug 2002 20:36:20 -0000 1.7 @@ -289,11 +289,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> Index: state.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssg/state.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- state.html 17 Dec 2001 05:09:09 -0000 1.6 +++ state.html 24 Aug 2002 20:36:20 -0000 1.7 @@ -239,11 +239,17 @@ </tr> </table> <hr> +<table> +<tr> +<td> +<a href="http://validator.w3.org/check/referer"><img border="0" src="../valid-html40.png" alt="Valid HTML 4.0!" height="31" width="88"></a> +<td> <ADDRESS> <A HREF="http://www.sjbaker.org"> Steve J. Baker.</A> <<A HREF="mailto:sjb...@ai...">sjb...@ai...</A>> </ADDRESS> +</table> </BODY> </HTML> |
From: Steve B. <sj...@us...> - 2002-08-24 17:49:15
|
Update of /cvsroot/plib/plib/src/ssgAux In directory usw-pr-cvs1:/tmp/cvs-serv22755/plib/src/ssgAux Modified Files: ssgaLensFlare.cxx Log Message: Fix a couple of state problems. Index: ssgaLensFlare.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssgAux/ssgaLensFlare.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ssgaLensFlare.cxx 24 Aug 2002 16:56:53 -0000 1.1 +++ ssgaLensFlare.cxx 24 Aug 2002 17:49:12 -0000 1.2 @@ -137,8 +137,6 @@ static int preDraw ( ssgEntity * ) { glDisable ( GL_DEPTH_TEST ) ; - glDisable ( GL_CULL_FACE ) ; - glEnable ( GL_BLEND ) ; glBlendFunc ( GL_ONE, GL_ONE ) ; return TRUE ; } @@ -147,7 +145,6 @@ static int postDraw ( ssgEntity * ) { glEnable ( GL_DEPTH_TEST ) ; - glEnable ( GL_CULL_FACE ) ; glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ; return TRUE ; } @@ -188,11 +185,8 @@ flareState -> setTexture ( flareTexture ) ; flareState -> setTranslucent () ; flareState -> enable ( GL_TEXTURE_2D ) ; - - flareState -> setShadeModel ( GL_SMOOTH ) ; flareState -> enable ( GL_BLEND ) ; flareState -> disable ( GL_LIGHTING ) ; - flareState -> setTranslucent () ; flareState -> ref () ; setKidState ( flareState ) ; } @@ -268,22 +262,22 @@ sgVec3 vx ; - sgSetVec3 ( vx, position[0]+sz, position[1]+sz, position[2] ) ; + sgSetVec3 ( vx, position[0]+sz, position[1]-sz, position[2] ) ; c0 -> set ( flare[i].color, vv ) ; t0 -> set ( & texCoords[0], vv ) ; v0 -> set ( vx, vv++ ) ; - sgSetVec3 ( vx, position[0]+sz, position[1]-sz, position[2] ) ; + sgSetVec3 ( vx, position[0]+sz, position[1]+sz, position[2] ) ; c0 -> set ( flare[i].color, vv ) ; t0 -> set ( & texCoords[2], vv ) ; v0 -> set ( vx, vv++ ) ; - sgSetVec3 ( vx, position[0]-sz, position[1]-sz, position[2] ) ; + sgSetVec3 ( vx, position[0]-sz, position[1]+sz, position[2] ) ; c0 -> set ( flare[i].color, vv ) ; t0 -> set ( & texCoords[4], vv ) ; v0 -> set ( vx, vv++ ) ; - sgSetVec3 ( vx, position[0]-sz, position[1]+sz, position[2] ) ; + sgSetVec3 ( vx, position[0]-sz, position[1]-sz, position[2] ) ; c0 -> set ( flare[i].color, vv ) ; t0 -> set ( & texCoords[6], vv ) ; v0 -> set ( vx, vv++ ) ; |
From: Steve B. <sj...@us...> - 2002-08-24 17:40:35
|
Update of /cvsroot/plib/plib/doc/ssgAux In directory usw-pr-cvs1:/tmp/cvs-serv19589/plib/doc/ssgAux Modified Files: index.html Added Files: snapshot.png Log Message: Added a sceeen-shot. --- NEW FILE: snapshot.png --- (This appears to be a binary file; contents omitted.) Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssgAux/index.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- index.html 24 Aug 2002 17:17:41 -0000 1.7 +++ index.html 24 Aug 2002 17:40:32 -0000 1.8 @@ -20,9 +20,12 @@ </TR> </TABLE> <H2>Introduction</H2> +<TABLE> +<TR> +<TD> PLIB/ssgAux is a suite of auxiliary libraries that build higher level classes on top of the basic SSG classes. -Currently we have: +<p> <ul> [...100 lines suppressed...] @@ -480,7 +495,7 @@ ck . update () ; if ( fountain != NULL ) - fountain -> update ( ck.getDeltaTime () ) ; + fountain -> update ( ck.getDeltaTime () ) ; } </pre> @@ -528,8 +543,8 @@ ... - myTransform -> addKid ( myLightSource ) ; - myTransform -> addKid ( new ssgaLensFlare ) ; + myTransform -> addKid ( myLightSource ) ; + myTransform -> addKid ( new ssgaLensFlare ) ; </pre> It contains a (hard-coded) 256x128 texture map which is compiled |
From: Steve B. <sj...@us...> - 2002-08-24 17:17:44
|
Update of /cvsroot/plib/plib/doc/ssgAux In directory usw-pr-cvs1:/tmp/cvs-serv14913/plib/doc/ssgAux Modified Files: index.html Log Message: Added Lens Flare documentation - and added an index. Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/ssgAux/index.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- index.html 14 Aug 2002 00:41:01 -0000 1.6 +++ index.html 24 Aug 2002 17:17:41 -0000 1.7 @@ -22,7 +22,18 @@ <H2>Introduction</H2> PLIB/ssgAux is a suite of auxiliary libraries that build higher level classes on top of the basic SSG classes. -<p> +Currently we have: +<ul> +<li><A HREF="#ssgaShape">ssgaShape - Abstract Base Class</A> +<li><A HREF="#ssgaCube">ssgaCube - Makes a cube.</A> +<li><A HREF="#ssgaPatch">ssgaPatch - Makes a Bezier patch.</A> +<li><A HREF="#ssgaTeapot">ssgaTeapot - Makes a Teapot.</A> +<li><A HREF="#ssgaSphere">ssgaSphere - Makes a Sphere.</A> [...92 lines suppressed...] +eg: +<pre> + + ssgTransform *myTransform ; + ssgBranch *myLightSource ; + + /* Set up myTransform and myLightsource */ + ... + + myTransform -> addKid ( myLightSource ) ; + myTransform -> addKid ( new ssgaLensFlare ) ; + +</pre> +It contains a (hard-coded) 256x128 texture map which is compiled +into the code and shared between however many lens flares there +are in the scene. <hr> <hr> <ADDRESS> |
From: Steve B. <sj...@us...> - 2002-08-24 16:56:56
|
Update of /cvsroot/plib/plib/src/ssgAux In directory usw-pr-cvs1:/tmp/cvs-serv2755/plib/src/ssgAux Modified Files: Makefile.am ssgAux.h Added Files: ssgaLensFlare.cxx ssgaLensFlare.h ssgaLensFlareTexture.cxx Log Message: Added Lens Flare to ssgAux. --- NEW FILE: ssgaLensFlare.cxx --- #include "ssgAux.h" #undef _SSG_PUBLIC #include "../ssg/ssgLocal.h" /* Lens flares are an effect that happens in the lens - your eye or a camera lens. As such, they are completely invisible if the light itself is not visible - which should mean that if the light is culled then so is the lens flare. This suggests that the bsphere center should be at the light point and the radius should be tiny. However, if you have a multi-facetted display, pretending to be a single display rather than a lot of separate 'cameras' then you may want to set the SSGA_CONTINUOUS_DISPLAY_SURFACE flag. [...276 lines suppressed...] /* Lens flares are best generated in eye-space (because they actually occur inside the lens of your eye). Hence we call 'update' with the current modelview matrix - it generates the geometry in eye-space - which means that we have to render it with the identity matrix on the stack. */ update ( m ) ; _ssgPushMatrix ( _ssgaIdentity ) ; glPushMatrix () ; glLoadMatrixf ( (float *) _ssgaIdentity ) ; ssgBranch::cull ( f, _ssgaIdentity, FALSE ) ; glPopMatrix () ; _ssgPopMatrix () ; } --- NEW FILE: ssgaLensFlare.h --- #include "ssgaShapes.h" class ssgaLensFlare : public ssgaShape { ssgVtxTable *vt ; ssgVertexArray *v0 ; ssgNormalArray *n0 ; ssgColourArray *c0 ; ssgTexCoordArray *t0 ; void update ( sgMat4 m ) ; protected: virtual void copy_from ( ssgaLensFlare *src, int clone_flags ) ; public: ssgaLensFlare () ; ssgaLensFlare ( int nt ) ; virtual ~ssgaLensFlare () ; virtual ssgBase *clone ( int clone_flags = 0 ) ; virtual void regenerate () ; virtual const char *getTypeName ( void ) ; virtual void cull ( sgFrustum *f, sgMat4 m, int test_needed ) ; } ; unsigned char *_ssgaGetLensFlareTexture () ; --- NEW FILE: ssgaLensFlareTexture.cxx --- static unsigned char lens_flare_texture [] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, [...2016 lines suppressed...] 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ; unsigned char *_ssgaGetLensFlareTexture () { return lens_flare_texture ; } Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/src/ssgAux/Makefile.am,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Makefile.am 4 Aug 2002 05:53:44 -0000 1.8 +++ Makefile.am 24 Aug 2002 16:56:53 -0000 1.9 @@ -1,13 +1,15 @@ lib_LIBRARIES = libplibssgaux.a -include_HEADERS = ssgAux.h ssgaShapes.h ssgaParticleSystem.h ssgaWaveSystem.h +include_HEADERS = ssgAux.h ssgaShapes.h ssgaLensFlare.h ssgaParticleSystem.h ssgaWaveSystem.h libplibssgaux_a_SOURCES = ssgAux.cxx \ ssgaShapes.cxx \ ssgaPatch.cxx \ ssgaParticleSystem.cxx \ ssgaWaveSystem.cxx \ + ssgaLensFlare.cxx \ + ssgaLensFlareTexture.cxx \ ssgaTeapot.cxx INCLUDES = -I$(top_srcdir)/src/sg -I$(top_srcdir)/src/ssg Index: ssgAux.h =================================================================== RCS file: /cvsroot/plib/plib/src/ssgAux/ssgAux.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- ssgAux.h 4 Aug 2002 05:53:44 -0000 1.11 +++ ssgAux.h 24 Aug 2002 16:56:53 -0000 1.12 @@ -30,6 +30,7 @@ #include "ssgaShapes.h" #include "ssgaParticleSystem.h" #include "ssgaWaveSystem.h" +#include "ssgaLensFlare.h" #define _SSGA_TYPE_SHAPE 0x00008000 @@ -40,6 +41,7 @@ #define _SSGA_TYPE_TEAPOT 0x00020000 #define _SSGA_TYPE_PARTICLESYSTEM 0x00040000 #define _SSGA_TYPE_WAVESYSTEM 0x00080000 +#define _SSGA_TYPE_LENSFLARE 0x00100000 inline int ssgaTypeShape () { return _SSGA_TYPE_SHAPE | ssgTypeBranch ();} inline int ssgaTypeCube () { return _SSGA_TYPE_CUBE | ssgaTypeShape ();} @@ -51,6 +53,8 @@ { return _SSGA_TYPE_PARTICLESYSTEM | ssgaTypeShape ();} inline int ssgaTypeWaveSystem () { return _SSGA_TYPE_WAVESYSTEM | ssgaTypeShape ();} +inline int ssgaTypeLensFlare () + { return _SSGA_TYPE_LENSFLARE | ssgaTypeShape ();} void ssgaInit () ; |
From: Steve B. <sj...@us...> - 2002-08-24 16:56:56
|
Update of /cvsroot/plib/plib/examples/src/ssg/water In directory usw-pr-cvs1:/tmp/cvs-serv2755/plib/examples/src/ssg/water Modified Files: water.cxx Log Message: Added Lens Flare to ssgAux. Index: water.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/water/water.cxx,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- water.cxx 15 Aug 2002 10:30:31 -0000 1.17 +++ water.cxx 24 Aug 2002 16:56:52 -0000 1.18 @@ -42,6 +42,8 @@ puSlider *wavePolycountSlider= (puSlider *) NULL ; ssgRoot *scene = NULL ; +ssgaLensFlare *sun_obj = NULL ; +ssgTransform *sun = NULL ; ssgTransform *teapot = NULL ; ssgTransform *pedestal = NULL ; ssgaWaveSystem *ocean = NULL ; @@ -72,6 +74,7 @@ float cam_range = 25.0f ; sgCoord campos = { { 0, -20, 8 }, { 0, -30, 0 } } ; +sgVec3 sunpos = { 400, 300, 50 } ; int enableTexGen ( ssgEntity * ) { @@ -579,9 +582,7 @@ Set up the Sun. */ - sgVec3 sunposn ; - sgSetVec3 ( sunposn, 0.1f, -1.0f, 0.1f ) ; - ssgGetLight ( 0 ) -> setPosition ( sunposn ) ; + ssgGetLight ( 0 ) -> setPosition ( sunpos ) ; } @@ -738,10 +739,17 @@ pedestal -> setTransform ( & pedpos ) ; pedestal -> addKid ( ped_obj ) ; + sun_obj = new ssgaLensFlare () ; + + sun = new ssgTransform ; + sun -> setTransform ( sunpos ) ; + sun -> addKid ( sun_obj ) ; + scene = new ssgRoot ; scene -> addKid ( ocean ) ; scene -> addKid ( pedestal ) ; scene -> addKid ( teapot ) ; + scene -> addKid ( sun ) ; } |
From: Sebastian U. <ud...@us...> - 2002-08-21 22:05:17
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv9920 Modified Files: puTriSlider.cxx Log Message: John F. Fay: Corrected one call to sprintf in puTriSlider::draw () Index: puTriSlider.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puTriSlider.cxx,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- puTriSlider.cxx 3 Aug 2002 22:44:48 -0000 1.21 +++ puTriSlider.cxx 21 Aug 2002 22:05:13 -0000 1.22 @@ -48,7 +48,7 @@ val = 0.5f ; char str_value[10] ; - sprintf (str_value, "%d", getFloatValue () ) ; + sprintf (str_value, "%g", getFloatValue () ) ; draw_slider_box ( dx, dy, abox, val, str_value ) ; |
From: Sebastian U. <ud...@us...> - 2002-08-21 18:36:20
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv2780 Modified Files: pu.cxx puFont.cxx puLargeInput.cxx puMenuBar.cxx Log Message: John F. Fay: Updates Index: pu.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.cxx,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- pu.cxx 3 Aug 2002 22:44:48 -0000 1.54 +++ pu.cxx 21 Aug 2002 18:36:15 -0000 1.55 @@ -239,7 +239,6 @@ while ( local_objects_to_delete != NULL ) { puObject *next_ob = local_objects_to_delete -> getNextObject() ; - //if ( !local_objects_to_delete->IsItSubWidget() ) delete local_objects_to_delete ; local_objects_to_delete = next_ob ; } Index: puFont.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puFont.cxx,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- puFont.cxx 31 Jul 2002 16:07:38 -0000 1.17 +++ puFont.cxx 21 Aug 2002 18:36:15 -0000 1.18 @@ -81,7 +81,7 @@ if ( res > max_res ) max_res = res; - return (float) max_res ; + return float(max_res) ; } #endif // #ifdef _PU_USE_GLUT_FONTS Index: puLargeInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puLargeInput.cxx,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- puLargeInput.cxx 3 Aug 2002 22:44:48 -0000 1.34 +++ puLargeInput.cxx 21 Aug 2002 18:36:15 -0000 1.35 @@ -785,7 +785,6 @@ if ( ( x - length ) < ( prev_length - x ) ) i-- ; // Mouse is closer to previous character than next character - i++ ; } // Now process the mouse click itself. Index: puMenuBar.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puMenuBar.cxx,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- puMenuBar.cxx 12 Jul 2002 03:23:33 -0000 1.15 +++ puMenuBar.cxx 21 Aug 2002 18:36:15 -0000 1.16 @@ -64,11 +64,7 @@ if ( x_siz < (x_max - x_min) ) x_siz = x_max - x_min ; // Adjust the present size if ( y_siz < (y_max - y_min) ) y_siz = y_max - y_min ; - //int x_pos = glutGet ( (GLenum)GLUT_WINDOW_X ) ; - //int y_pos = glutGet ( (GLenum)GLUT_WINDOW_Y ) ; - glutReshapeWindow ( x_siz, y_siz ) ; - //glutPositionWindow ( x_pos + x_min, y_pos ) ; // Unneccessary - JCJ 6 Jun 2002 x_min = par_box->min[0] - x_min ; y_min = y_siz - ( par_box->max[1] - par_box->min[1] ) ; |
From: Sebastian U. <ud...@us...> - 2002-08-18 19:01:44
|
Update of /cvsroot/plib/plib/src/util In directory usw-pr-cvs1:/tmp/cvs-serv6230 Modified Files: ul.cxx Log Message: In ulStrDup, use memcpy () instead of strcpy () Index: ul.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/util/ul.cxx,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- ul.cxx 20 Jun 2002 06:39:36 -0000 1.27 +++ ul.cxx 18 Aug 2002 19:01:40 -0000 1.28 @@ -365,8 +365,10 @@ char *ulStrDup ( const char *s ) { - char *ret = new char [ strlen(s)+1 ] ; - strcpy ( ret, s ) ; + int s_sz = strlen ( s ) + 1 ; + char *ret = new char [ s_sz ] ; + + memcpy ( ret, s, s_sz ) ; return ret ; } |
From: Sebastian U. <ud...@us...> - 2002-08-18 17:38:49
|
Update of /cvsroot/plib/plib/src/sl In directory usw-pr-cvs1:/tmp/cvs-serv17508 Removed Files: README.freebsd README.linux README.openbsd README.sgi README.unix README.win Log Message: Removed outdated SL README files --- README.freebsd DELETED --- --- README.linux DELETED --- --- README.openbsd DELETED --- --- README.sgi DELETED --- --- README.unix DELETED --- --- README.win DELETED --- |
From: Sebastian U. <ud...@us...> - 2002-08-18 15:07:02
|
Update of /cvsroot/plib/plib/examples In directory usw-pr-cvs1:/tmp/cvs-serv12074 Added Files: COPYING.DATA Log Message: Added COPYING.DATA file --- NEW FILE: COPYING.DATA --- All fonts, textures, models and other data is licensed under the same license as the code unless otherwise stated. Please see COPYING for more details. |
From: Sebastian U. <ud...@us...> - 2002-08-18 01:06:03
|
Update of /cvsroot/plib/plib/demos/p-guide/src In directory usw-pr-cvs1:/tmp/cvs-serv28341 Modified Files: LoadSave.cxx PropertiesWindow.cxx StatusWindow.cxx WidgetWindow.cxx WriteCode.cxx pGuide.cxx Log Message: Cleanups Index: LoadSave.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/LoadSave.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- LoadSave.cxx 18 Aug 2002 00:23:11 -0000 1.5 +++ LoadSave.cxx 18 Aug 2002 01:05:58 -0000 1.6 @@ -81,10 +81,10 @@ extern puFileSelector *file_selector ; // Duplication checking -void chk_dupname ( WidgetList *new_wid ) ; -puInput *dup_newname = (puInput *)NULL ; -puDialogBox *dup_dialog = (puDialogBox *)NULL ; -WidgetList *nextwid ; +static void chk_dupname ( WidgetList *new_wid ) ; +static puInput *dup_newname = (puInput *)NULL ; +static puDialogBox *dup_dialog = (puDialogBox *)NULL ; +static WidgetList *nextwid ; [...63 lines suppressed...] void loadProject ( puObject *ob ) { extern puInput *window_name ; @@ -707,7 +707,7 @@ /* Done checking name for duplication */ } -void chk_dupname_ok_cb ( puObject *ob ) +static void chk_dupname_ok_cb ( puObject *ob ) { /* The user's new name from the dialog has already been set to the object_name*/ /* Close dialogbox and update main window ...*/ @@ -719,7 +719,7 @@ chk_dupname(nextwid); } -void chk_dupname ( WidgetList *new_wid ) +static void chk_dupname ( WidgetList *new_wid ) { if (!new_wid) return; Index: PropertiesWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/PropertiesWindow.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- PropertiesWindow.cxx 18 Aug 2002 00:23:11 -0000 1.3 +++ PropertiesWindow.cxx 18 Aug 2002 01:05:58 -0000 1.4 @@ -96,7 +96,7 @@ // PUI Callback Functions: -void cb_properties_close (puObject *obj) +static void cb_properties_close (puObject *obj) { /* Save the changes ... Needed? */ if ( puActiveWidget() ) @@ -111,7 +111,7 @@ // Data setting standard callbacks [...80 lines suppressed...] } -void cb_float4 (puObject *obj) +static void cb_float4 (puObject *obj) { /*Set the first floating storage value */ if (active_widget) active_widget->floatval4 = obj->getFloatValue(); } -void cb_float5 (puObject *obj) +static void cb_float5 (puObject *obj) { /*Set the first floating storage value */ if (active_widget) active_widget->floatval5 = obj->getFloatValue(); } -void cb_float6 (puObject *obj) +static void cb_float6 (puObject *obj) { /*Set the first floating storage value */ if (active_widget) Index: StatusWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/StatusWindow.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- StatusWindow.cxx 18 Aug 2002 00:23:11 -0000 1.5 +++ StatusWindow.cxx 18 Aug 2002 01:05:58 -0000 1.6 @@ -52,19 +52,19 @@ puInput *object_position_x ; puInput *object_position_y ; -puInput *object_label ; -puComboBox *object_vert_label_place ; -puComboBox *object_horz_label_place ; -puInput *object_legend ; -puComboBox *object_vert_legend_place ; -puComboBox *object_horz_legend_place ; +static puInput *object_label ; +static puComboBox *object_vert_label_place ; [...282 lines suppressed...] @@ -857,7 +857,7 @@ } } -void autolock_cb ( puObject *ob ) +static void autolock_cb ( puObject *ob ) { if ( ob->getIntegerValue () == 1 ) autolock = true ; @@ -867,8 +867,8 @@ // Setup Menubar -char *file_submenu [] = { "Exit", "------------", "Export Code", "------------", "Save Project", "Load Project", "New Project", NULL } ; -puCallback file_submenu_cb [] = { quit_cb, NULL, write_code_cb, NULL, saveProject_cb, loadProject_cb, clear_cb, NULL } ; +static char *file_submenu [] = { "Exit", "------------", "Export Code", "------------", "Save Project", "Load Project", "New Project", NULL } ; +static puCallback file_submenu_cb [] = { quit_cb, NULL, write_code_cb, NULL, saveProject_cb, loadProject_cb, clear_cb, NULL } ; // Function to define the window Index: WidgetWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/WidgetWindow.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- WidgetWindow.cxx 18 Aug 2002 00:23:11 -0000 1.5 +++ WidgetWindow.cxx 18 Aug 2002 01:05:58 -0000 1.6 @@ -34,7 +34,7 @@ puButton *active_button = (puButton *)NULL ; // Widget window parameters -int widget_window = 0 ; // Window handle +static int widget_window = 0 ; // Window handle // GLUT Widget Window Callbacks @@ -99,7 +99,7 @@ // PUI Callback Functions: [...148 lines suppressed...] selected_object_sticky = ( glutGetModifiers () & GLUT_ACTIVE_CTRL ) ? 1 : 0 ; selected_object_type = PUCLASS_BISLIDER ; @@ -239,7 +239,7 @@ active_button = (puButton *)ob ; } -void trislider_cb ( puObject *ob ) +static void trislider_cb ( puObject *ob ) { selected_object_sticky = ( glutGetModifiers () & GLUT_ACTIVE_CTRL ) ? 1 : 0 ; selected_object_type = PUCLASS_TRISLIDER ; @@ -247,7 +247,7 @@ active_button = (puButton *)ob ; } -void spinbox_cb ( puObject *ob ) +static void spinbox_cb ( puObject *ob ) { selected_object_sticky = ( glutGetModifiers () & GLUT_ACTIVE_CTRL ) ? 1 : 0 ; selected_object_type = PUCLASS_SPINBOX ; Index: WriteCode.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/WriteCode.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- WriteCode.cxx 18 Aug 2002 00:23:11 -0000 1.6 +++ WriteCode.cxx 18 Aug 2002 01:05:58 -0000 1.7 @@ -547,14 +547,14 @@ // TO DO: Allow the user to customize colour and style - char *place_name [] = { "PUPLACE_TOP_LEFT", "PUPLACE_TOP_CENTERED", "PUPLACE_TOP_RIGHT", - "PUPLACE_CENTERED_LEFT", "PUPLACE_CENTERED_RIGHT", - "PUPLACE_BOTTOM_LEFT", "PUPLACE_BOTTOM_CENTERED", "PUPLACE_BOTTOM_RIGHT", - "PUPLACE_CENTERED_CENTERED", - "PUPLACE_ABOVE_LEFT", "PUPLACE_ABOVE_RIGHT", - "PUPLACE_BELOW_LEFT", "PUPLACE_BELOW_RIGHT", - "PUPLACE_UPPER_LEFT", "PUPLACE_UPPER_RIGHT", - "PUPLACE_LOWER_LEFT", "PUPLACE_LOWER_RIGHT" } ; + const char *place_name [] = { "PUPLACE_TOP_LEFT", "PUPLACE_TOP_CENTERED", "PUPLACE_TOP_RIGHT", + "PUPLACE_CENTERED_LEFT", "PUPLACE_CENTERED_RIGHT", + "PUPLACE_BOTTOM_LEFT", "PUPLACE_BOTTOM_CENTERED", "PUPLACE_BOTTOM_RIGHT", + "PUPLACE_CENTERED_CENTERED", + "PUPLACE_ABOVE_LEFT", "PUPLACE_ABOVE_RIGHT", + "PUPLACE_BELOW_LEFT", "PUPLACE_BELOW_RIGHT", + "PUPLACE_UPPER_LEFT", "PUPLACE_UPPER_RIGHT", + "PUPLACE_LOWER_LEFT", "PUPLACE_LOWER_RIGHT" } ; if ( wid->label_text ) { Index: pGuide.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/pGuide.cxx,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- pGuide.cxx 18 Aug 2002 00:23:11 -0000 1.7 +++ pGuide.cxx 18 Aug 2002 01:05:58 -0000 1.8 @@ -20,6 +20,10 @@ $Id$ */ +#ifdef VERSION +#undef VERSION +#endif + #define VERSION = "0.1a" // Program to allow the user to build a PUI Graphical User Interface @@ -33,14 +37,14 @@ puObject *active_object = (puObject *)NULL ; WidgetList *active_widget = (WidgetList *)NULL ; -short activity_flag = 0 ; // 0 - inactive; 1 - moving; 2 - resizing xmin, 3 - resizing ymin, 4 - resizing xmax, 5 - resizing ymax -int resize_symmetric = 1 ; -int resize_corner = 0 ; +static short activity_flag = 0 ; // 0 - inactive; 1 - moving; 2 - resizing xmin, 3 - resizing ymin, 4 - resizing xmax, 5 - resizing ymax +static int resize_symmetric = 1 ; +static int resize_corner = 0 ; -int mouse_x_position_in_object = 0 ; -int mouse_y_position_in_object = 0 ; +static int mouse_x_position_in_object = 0 ; +static int mouse_y_position_in_object = 0 ; -int pguide_last_buttons = 0 ; // Because puMouse isn't called, we have to do our own last_buttons checking +static int pguide_last_buttons = 0 ; // Because puMouse isn't called, we have to do our own last_buttons checking // Main window parameters int main_window = 0 ; // Main window handle @@ -53,7 +57,7 @@ main_window_color_b = 1.0, main_window_color_a = 1.0 ; bool main_window_changed = false ; -bool done_first_setup = false ; +static bool done_first_setup = false ; bool currently_loading = false ; static int ctrl_key_down = 0 ; @@ -70,7 +74,7 @@ bool autolock = false ; // Properties popup -puPopupMenu *context_menu; +static puPopupMenu *context_menu; // From the status window: extern void setStatusWidgets ( WidgetList *wid ) ; @@ -80,7 +84,7 @@ // Properties Callback -void cb_edit_properties ( puObject *ob ) +static void cb_edit_properties ( puObject *ob ) { if (properties_window) { @@ -96,7 +100,7 @@ define_properties_window(); } -void cb_lock_toggle ( puObject *ob ) +static void cb_lock_toggle ( puObject *ob ) { WidgetList *wid = widgets ; while ( wid ) @@ -112,7 +116,7 @@ } } -void cb_popup_delete ( puObject *ob ) +static void cb_popup_delete ( puObject *ob ) { WidgetList *wid = widgets ; WidgetList *prv = (WidgetList *)NULL ; @@ -460,7 +464,7 @@ } else { context_menu->hide(); } - } else /*if ( context_menu->isVisible() == 1) { context_menu->hide(); } /* The user did something funny, so hide the menu since they've been naughty */ + } else /*if ( context_menu->isVisible() == 1) { context_menu->hide(); } * The user did something funny, so hide the menu since they've been naughty */ { // Downclick: Place a new widget, activate an existing widget, deactivate widget, or select from menu. if ( updown == GLUT_DOWN ) |
From: Sebastian U. <ud...@us...> - 2002-08-18 00:23:14
|
Update of /cvsroot/plib/plib/demos/p-guide/src In directory usw-pr-cvs1:/tmp/cvs-serv20773 Modified Files: CreateWidget.cxx LoadSave.cxx PropertiesWindow.cxx StatusWindow.cxx WidgetList.h WidgetWindow.cxx WriteCode.cxx pGuide.cxx Log Message: Changed copying permission statement according to FSF recommendation Index: CreateWidget.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/CreateWidget.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CreateWidget.cxx 8 May 2002 22:49:55 -0000 1.1 +++ CreateWidget.cxx 18 Aug 2002 00:23:11 -0000 1.2 @@ -1,20 +1,23 @@ /* - P-GUIDE - PUI-based Graphical User Interface Designer + This file is part of P-GUIDE - + PUI-based Graphical User Interface Designer. Copyright (C) 2002 John F. Fay - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + P-GUIDE is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, + P-GUIDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with P-GUIDE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + $Id$ */ // Create Widget function for GUI Builder Index: LoadSave.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/LoadSave.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- LoadSave.cxx 15 Aug 2002 04:15:17 -0000 1.4 +++ LoadSave.cxx 18 Aug 2002 00:23:11 -0000 1.5 @@ -1,20 +1,23 @@ /* - P-GUIDE - PUI-based Graphical User Interface Designer + This file is part of P-GUIDE - + PUI-based Graphical User Interface Designer. Copyright (C) 2002 John F. Fay - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + P-GUIDE is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, + P-GUIDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with P-GUIDE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + $Id$ */ Index: PropertiesWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/PropertiesWindow.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- PropertiesWindow.cxx 15 Aug 2002 04:15:17 -0000 1.2 +++ PropertiesWindow.cxx 18 Aug 2002 00:23:11 -0000 1.3 @@ -1,20 +1,23 @@ /* - P-GUIDE - PUI-based Graphical User Interface Designer + This file is part of P-GUIDE - + PUI-based Graphical User Interface Designer. Copyright (C) 2002 John F. Fay - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + P-GUIDE is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, + P-GUIDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with P-GUIDE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + $Id$ */ // Status Window Index: StatusWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/StatusWindow.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- StatusWindow.cxx 15 Aug 2002 04:15:17 -0000 1.4 +++ StatusWindow.cxx 18 Aug 2002 00:23:11 -0000 1.5 @@ -1,20 +1,23 @@ /* - P-GUIDE - PUI-based Graphical User Interface Designer + This file is part of P-GUIDE - + PUI-based Graphical User Interface Designer. Copyright (C) 2002 John F. Fay - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + P-GUIDE is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, + P-GUIDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with P-GUIDE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + $Id$ */ // Status Window Index: WidgetList.h =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/WidgetList.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- WidgetList.h 4 Aug 2002 04:45:49 -0000 1.2 +++ WidgetList.h 18 Aug 2002 00:23:11 -0000 1.3 @@ -1,20 +1,23 @@ /* - P-GUIDE - PUI-based Graphical User Interface Designer + This file is part of P-GUIDE - + PUI-based Graphical User Interface Designer. Copyright (C) 2002 John F. Fay - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + P-GUIDE is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, + P-GUIDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with P-GUIDE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + $Id$ */ // Data Structure Definition Index: WidgetWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/WidgetWindow.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- WidgetWindow.cxx 15 Aug 2002 04:15:17 -0000 1.4 +++ WidgetWindow.cxx 18 Aug 2002 00:23:11 -0000 1.5 @@ -1,20 +1,23 @@ /* - P-GUIDE - PUI-based Graphical User Interface Designer + This file is part of P-GUIDE - + PUI-based Graphical User Interface Designer. Copyright (C) 2002 John F. Fay - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + P-GUIDE is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, + P-GUIDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with P-GUIDE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + $Id$ */ // Widget Window Index: WriteCode.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/WriteCode.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- WriteCode.cxx 15 Aug 2002 04:15:17 -0000 1.5 +++ WriteCode.cxx 18 Aug 2002 00:23:11 -0000 1.6 @@ -1,20 +1,23 @@ /* - P-GUIDE - PUI-based Graphical User Interface Designer + This file is part of P-GUIDE - + PUI-based Graphical User Interface Designer. Copyright (C) 2002 John F. Fay - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + P-GUIDE is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, + P-GUIDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with P-GUIDE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + $Id$ */ // Function to write the actual code Index: pGuide.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/pGuide.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- pGuide.cxx 15 Aug 2002 05:00:23 -0000 1.6 +++ pGuide.cxx 18 Aug 2002 00:23:11 -0000 1.7 @@ -1,20 +1,23 @@ /* - P-GUIDE - PUI-based Graphical User Interface Designer + This file is part of P-GUIDE - + PUI-based Graphical User Interface Designer. Copyright (C) 2002 John F. Fay - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + P-GUIDE is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, + P-GUIDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software + along with P-GUIDE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + $Id$ */ #define VERSION = "0.1a" |
From: Sebastian U. <ud...@us...> - 2002-08-18 00:09:52
|
Update of /cvsroot/plib/plib/demos/ttt3d/src In directory usw-pr-cvs1:/tmp/cvs-serv17963 Modified Files: cell.cxx cell.h game.cxx game.h gfx.cxx gfx.h gui.cxx gui.h level.h material.cxx material.h p3d.h puzzle.cxx puzzle.h sound.cxx sound.h status.cxx status.h ttt3d.cxx Log Message: Added copyright notices and copying permission statement Index: cell.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/cell.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- cell.cxx 10 Jun 2002 22:13:30 -0000 1.2 +++ cell.cxx 18 Aug 2002 00:09:46 -0000 1.3 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "p3d.h" #include <plib/ssgAux.h> Index: cell.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/cell.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- cell.h 20 Jun 2001 05:40:10 -0000 1.1 +++ cell.h 18 Aug 2002 00:09:46 -0000 1.2 @@ -1,3 +1,25 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ ssgTransform *makeBlueWireCube() ; Index: game.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/game.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- game.cxx 10 Jun 2002 22:13:31 -0000 1.3 +++ game.cxx 18 Aug 2002 00:09:46 -0000 1.4 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include <stdio.h> #include <stdlib.h> Index: game.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/game.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- game.h 20 Jun 2001 05:40:10 -0000 1.1 +++ game.h 18 Aug 2002 00:09:46 -0000 1.2 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #define STILL_PLAYING 0 #define HUMAN_WIN 1 Index: gfx.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/gfx.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- gfx.cxx 10 Jun 2002 22:13:31 -0000 1.3 +++ gfx.cxx 18 Aug 2002 00:09:46 -0000 1.4 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "p3d.h" Index: gfx.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/gfx.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gfx.h 20 Jun 2001 05:40:10 -0000 1.1 +++ gfx.h 18 Aug 2002 00:09:46 -0000 1.2 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + class GFX { Index: gui.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/gui.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gui.cxx 20 Jun 2001 05:40:10 -0000 1.1 +++ gui.cxx 18 Aug 2002 00:09:46 -0000 1.2 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "p3d.h" #include "plib/pu.h" Index: gui.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/gui.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gui.h 20 Jun 2001 05:40:10 -0000 1.1 +++ gui.h 18 Aug 2002 00:09:46 -0000 1.2 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + class GUI { Index: level.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/level.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- level.h 21 Jun 2001 02:11:06 -0000 1.2 +++ level.h 18 Aug 2002 00:09:46 -0000 1.3 @@ -1,3 +1,25 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ class Level Index: material.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/material.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- material.cxx 10 Jun 2002 22:13:31 -0000 1.2 +++ material.cxx 18 Aug 2002 00:09:46 -0000 1.3 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "p3d.h" Index: material.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/material.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- material.h 10 Jun 2002 22:13:31 -0000 1.2 +++ material.h 18 Aug 2002 00:09:46 -0000 1.3 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + struct Material { Index: p3d.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/p3d.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- p3d.h 10 Jun 2002 22:13:31 -0000 1.2 +++ p3d.h 18 Aug 2002 00:09:46 -0000 1.3 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include <stdio.h> #include <stdlib.h> Index: puzzle.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/puzzle.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puzzle.cxx 20 Jun 2001 05:40:10 -0000 1.1 +++ puzzle.cxx 18 Aug 2002 00:09:46 -0000 1.2 @@ -1,3 +1,25 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ #include "p3d.h" Index: puzzle.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/puzzle.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puzzle.h 20 Jun 2001 05:40:10 -0000 1.1 +++ puzzle.h 18 Aug 2002 00:09:46 -0000 1.2 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #define MAX_GRID 4 Index: sound.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/sound.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- sound.cxx 10 Jun 2002 22:13:31 -0000 1.2 +++ sound.cxx 18 Aug 2002 00:09:46 -0000 1.3 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "p3d.h" Index: sound.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/sound.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- sound.h 10 Jun 2002 22:13:31 -0000 1.2 +++ sound.h 18 Aug 2002 00:09:46 -0000 1.3 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #define SOUND_AHOOGA 0 #define SOUND_CLAP 1 Index: status.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/status.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- status.cxx 10 Jun 2002 22:13:31 -0000 1.3 +++ status.cxx 18 Aug 2002 00:09:46 -0000 1.4 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "p3d.h" #ifdef WIN32 Index: status.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/status.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- status.h 10 Jun 2002 22:13:31 -0000 1.2 +++ status.h 18 Aug 2002 00:09:46 -0000 1.3 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + void drawStatusText ( int score ) ; Index: ttt3d.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/ttt3d.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ttt3d.cxx 10 Jun 2002 22:13:31 -0000 1.3 +++ ttt3d.cxx 18 Aug 2002 00:09:46 -0000 1.4 @@ -1,3 +1,26 @@ +/* + This file is part of TTT3D - Steve's 3D TicTacToe Player. + Copyright (C) 2001 Steve Baker + + TTT3D is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + TTT3D is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with TTT3D; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "p3d.h" #include <signal.h> |
From: Sebastian U. <ud...@us...> - 2002-08-18 00:01:50
|
Update of /cvsroot/plib/plib/examples/src/fnt/data In directory usw-pr-cvs1:/tmp/cvs-serv16339 Modified Files: README Log Message: s/Andy/Andrew/ Index: README =================================================================== RCS file: /cvsroot/plib/plib/examples/src/fnt/data/README,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- README 17 Aug 2002 23:32:52 -0000 1.5 +++ README 18 Aug 2002 00:01:45 -0000 1.6 @@ -1,11 +1,11 @@ -These antialiased '.txf' fonts were generated by Andy Ross from +These antialiased '.txf' fonts were generated by Andrew Ross from Ghostscript fonts using his afm2txf script which can be found in the 'tools' area of PLIB. All Ghostscript fonts used were GPL and Copyright (C) URW++ Design & Development Incorporated. -Things that make them better than existing fonts are (quoted from Andy): +Things that make them better than existing fonts are (quoted from Andrew): + They are complete. Each one has glyphs rendered for every printable ASCII character. No more property confusion from different strings |