plib-cvs Mailing List for PLIB (Page 44)
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-17 23:58:41
|
Update of /cvsroot/plib/plib/demos/exposer/src In directory usw-pr-cvs1:/tmp/cvs-serv15537 Modified Files: boneGUI.cxx boneGUI.h bones.cxx bones.h event.cxx event.h exposer.cxx exposer.h floor.cxx floor.h load_save.cxx load_save.h merge_tweens.cxx model.cxx model.h timebox.cxx timebox.h vertices.cxx vertices.h Log Message: Added copyright notices and copying permission statement Index: boneGUI.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/boneGUI.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- boneGUI.cxx 10 Jun 2002 22:43:20 -0000 1.2 +++ boneGUI.cxx 17 Aug 2002 23:58:38 -0000 1.3 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" static puSlider *XtranslateSlider ; Index: boneGUI.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/boneGUI.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- boneGUI.h 22 Jul 2001 18:49:15 -0000 1.1 +++ boneGUI.h 17 Aug 2002 23:58:38 -0000 1.2 @@ -1,3 +1,26 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 hide_headingCB ( puObject *ob ) ; void hide_pitchCB ( puObject *ob ) ; Index: bones.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/bones.cxx,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- bones.cxx 10 Jun 2002 22:43:22 -0000 1.15 +++ bones.cxx 17 Aug 2002 23:58:38 -0000 1.16 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" static sgVec3 curr_translate = { 0.0f, 0.0f, 0.0f } ; Index: bones.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/bones.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- bones.h 22 Jul 2001 18:49:15 -0000 1.5 +++ bones.h 17 Aug 2002 23:58:38 -0000 1.6 @@ -1,3 +1,25 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 ROOT_BONE 9999 Index: event.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/event.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- event.cxx 22 Jul 2001 16:41:34 -0000 1.4 +++ event.cxx 17 Aug 2002 23:58:38 -0000 1.5 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" Index: event.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/event.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- event.h 22 Jul 2001 16:41:34 -0000 1.4 +++ event.h 17 Aug 2002 23:58:38 -0000 1.5 @@ -1,3 +1,25 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 Event Index: exposer.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/exposer.cxx,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- exposer.cxx 10 Jun 2002 22:43:23 -0000 1.20 +++ exposer.cxx 17 Aug 2002 23:58:38 -0000 1.21 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" static int curr_button = 0 ; Index: exposer.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/exposer.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- exposer.h 22 Jul 2001 23:45:03 -0000 1.8 +++ exposer.h 17 Aug 2002 23:58:38 -0000 1.9 @@ -1,3 +1,26 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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: floor.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/floor.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- floor.cxx 28 Dec 2001 23:01:14 -0000 1.2 +++ floor.cxx 17 Aug 2002 23:58:38 -0000 1.3 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" static unsigned char Texture0 [] = Index: floor.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/floor.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- floor.h 22 Jul 2001 07:09:10 -0000 1.1 +++ floor.h 17 Aug 2002 23:58:38 -0000 1.2 @@ -1,3 +1,26 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 Floor { Index: load_save.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/load_save.cxx,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- load_save.cxx 10 Jun 2002 22:43:24 -0000 1.10 +++ load_save.cxx 17 Aug 2002 23:58:38 -0000 1.11 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" #define FILE_SELECTOR_ARGS (640-320)/2,(480-270)/2,320,270,1 Index: load_save.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/load_save.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- load_save.h 19 Jan 2002 20:37:21 -0000 1.4 +++ load_save.h 17 Aug 2002 23:58:38 -0000 1.5 @@ -1,3 +1,26 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 loadCB ( puObject * ) ; void scloadCB ( puObject * ) ; Index: merge_tweens.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/merge_tweens.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- merge_tweens.cxx 10 Jun 2002 22:43:24 -0000 1.3 +++ merge_tweens.cxx 17 Aug 2002 23:58:38 -0000 1.4 @@ -1,3 +1,26 @@ +/* + merge_tweens - Merges multiple '.bones' files written from ExPoser + Copyright (C) 2001 Steve Baker + + 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. + + This program 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 + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "merge_tweens.h" Index: model.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/model.cxx,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- model.cxx 10 Jun 2002 22:43:24 -0000 1.7 +++ model.cxx 17 Aug 2002 23:58:38 -0000 1.8 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" static int rootBone = -1 ; Index: model.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/model.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- model.h 22 Jul 2001 23:45:03 -0000 1.3 +++ model.h 17 Aug 2002 23:58:38 -0000 1.4 @@ -1,3 +1,26 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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$ +*/ + ssgBranch *extractBones ( ssgBranch *root ) ; ssgEntity *makeTweenCopy ( ssgEntity *root ) ; Index: timebox.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/timebox.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- timebox.cxx 10 Jun 2002 22:43:24 -0000 1.5 +++ timebox.cxx 17 Aug 2002 23:58:38 -0000 1.6 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" #define MODE_ADD 0 Index: timebox.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/timebox.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- timebox.h 22 Jul 2001 16:41:34 -0000 1.4 +++ timebox.h 17 Aug 2002 23:58:38 -0000 1.5 @@ -1,3 +1,25 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 TimeBox Index: vertices.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/vertices.cxx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- vertices.cxx 10 Jun 2002 22:43:24 -0000 1.2 +++ vertices.cxx 17 Aug 2002 23:58:38 -0000 1.3 @@ -1,3 +1,27 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 "exposer.h" Index: vertices.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/vertices.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- vertices.h 22 Jul 2001 18:49:15 -0000 1.1 +++ vertices.h 17 Aug 2002 23:58:38 -0000 1.2 @@ -1,3 +1,26 @@ +/* + This file is part of ExPoser - A Tool for Animating PLIB Critters. + Copyright (C) 2001 Steve Baker + + ExPoser 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. + + ExPoser 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 ExPoser; 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 extractVertices ( ssgBranch *root ) ; float getLowestVertexZ () ; |
From: Sebastian U. <ud...@us...> - 2002-08-17 23:32:56
|
Update of /cvsroot/plib/plib/examples/src/fnt/data In directory usw-pr-cvs1:/tmp/cvs-serv10812 Modified Files: README Log Message: Added copyright information Index: README =================================================================== RCS file: /cvsroot/plib/plib/examples/src/fnt/data/README,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- README 14 Aug 2002 22:40:44 -0000 1.4 +++ README 17 Aug 2002 23:32:52 -0000 1.5 @@ -1,7 +1,8 @@ -These antialiased '.txf' fonts were generated from Ghostscript fonts -(published under the terms of the GPL) by Andy Ross using his afm2txf -script which can be found in the 'tools' area of PLIB. +These antialiased '.txf' fonts were generated by Andy 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): |
From: Sebastian U. <ud...@us...> - 2002-08-17 21:08:40
|
Update of /cvsroot/plib/plib In directory usw-pr-cvs1:/tmp/cvs-serv12789 Modified Files: AUTHORS Log Message: Took the freedom to add Andy Ross for his FNT-releated contributions Index: AUTHORS =================================================================== RCS file: /cvsroot/plib/plib/AUTHORS,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- AUTHORS 5 Aug 2002 22:46:35 -0000 1.13 +++ AUTHORS 17 Aug 2002 21:08:38 -0000 1.14 @@ -28,6 +28,7 @@ Apologies to anyone I've left out - please let me know who you are and I'll add you in. + Andrew Ross Christopher St.John Christian Mayer Darrell Walisser |
From: Sebastian U. <ud...@us...> - 2002-08-17 21:04:43
|
Update of /cvsroot/plib/plib/examples/src/fnt/data In directory usw-pr-cvs1:/tmp/cvs-serv11722 Removed Files: COPYING.FONTS Log Message: Removed COPYING.FONTS again as fonts fall under the top-level GPL file --- COPYING.FONTS DELETED --- |
From: Sebastian U. <ud...@us...> - 2002-08-17 20:56:31
|
Update of /cvsroot/plib/plib/tools/src/txfdump In directory usw-pr-cvs1:/tmp/cvs-serv9152 Added Files: txfdump.pl Log Message: Adding "txfdump" script by Andy Ross to the repository --- NEW FILE: txfdump.pl --- #!/usr/bin/perl -w use strict; ## txfdump.pl - A .txf font file parser and image extractor ## ## Usage: txfdump.pl blahblah.txf ## ## Human readable font metric information will be printed to stdout, ## and a blahblah.pgm file will be written containing the texture ## image from the file. Note that the resulting image will be ## vertically reflected, owing to the difference between cartesian x/y ## coordinates used by .txf and the screen raster convention of the ## .pgm format (well, and the author's laziness). Load it up in your ## favorite viewer and flip it if you care. ## ## Copyright (C) 2002 Andrew James Ross ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License version 2 as ## published by the Free Software Foundation. my $file = shift or die; open TXF, $file or die; # Start out assuming intel byte order # These get used in the getshort/getint functions below my $shortType = "v"; my $longType = "V"; sub getsbyte { my $v=getbyte(); if($v>127) { $v-=256; } return $v; } sub getbyte { my $val; read TXF, $val, 1 or die; return ord $val; } sub getshort { my $val; read TXF, $val, 2 or die; return unpack $shortType, $val; } sub getint { my $val; read TXF, $val, 4 or die; return unpack $longType, $val; } # Check the magic number; it is endian-independant my $magic = sprintf "0x%8.8x", getint(); die "Bad magic number ($magic)" if $magic ne "0x667874ff"; # Read the next four bytes to determine endianness my $endian = sprintf "0x%8.8x", getint(); if($endian eq "0x12345678") { } elsif($endian eq "0x78563412") { # Network byte order $shortType = "n"; $longType = "N"; } else { die "Bad endianness tag ($endian)"; } # Read the rest of the header my $format = getint(); my $texwid = getint(); my $texhgt = getint(); my $linehgt = getint(); my $unk = getint(); my $nglyph = getint(); printf "Magic $magic Endian $endian Format 0x%8.8x\n", $format; print "Texture: ${texwid}x$texhgt Line: $linehgt Glyphs: $nglyph Unk: $unk\n"; # Read each glyph's metadata for(my $i=0; $i<$nglyph; $i++) { print "Glyph $i\n"; my $c = getshort(); print " char: $c ('", chr($c), "')\n"; print " width: ", getbyte(), "\n"; print " height: ", getbyte(), "\n"; print " xoff: ", getsbyte(), "\n"; print " yoff: ", getsbyte(), "\n"; print " step: ", getbyte(), "\n"; print " unk: ", getbyte(), "\n"; print " X: ", getshort(), "\n"; print " Y: ", getshort(), "\n"; } # The rest of the file is an image. Write it out as a .pgm file with # the same name as the font file. $file =~ s/\.txf$/.pgm/; open PGM, ">$file" or die; print PGM "P2\n$texwid $texhgt\n255\n"; if($format == 0) { for(my $i=0; $i<($texwid*$texhgt); $i++) { print PGM getbyte(), " "; } } else { for(my $i=0; $i<($texwid*$texhgt/8); $i++) { my $byte = getbyte(); for(my $j=0; $j<8; $j++) { print PGM ($byte & (1<<$j)) ? "255 " : "0 "; } } } |
From: Sebastian U. <ud...@us...> - 2002-08-17 20:55:04
|
Update of /cvsroot/plib/plib/tools/src/txfdump In directory usw-pr-cvs1:/tmp/cvs-serv8688/txfdump Log Message: Directory /cvsroot/plib/plib/tools/src/txfdump added to the repository |
From: Sebastian U. <ud...@us...> - 2002-08-15 19:30:39
|
Update of /cvsroot/plib/plib/tools/src/afm2txf In directory usw-pr-cvs1:/tmp/cvs-serv29826 Modified Files: afm2txf.pl Log Message: Fixed typo Index: afm2txf.pl =================================================================== RCS file: /cvsroot/plib/plib/tools/src/afm2txf/afm2txf.pl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- afm2txf.pl 14 Aug 2002 23:47:06 -0000 1.2 +++ afm2txf.pl 15 Aug 2002 19:30:36 -0000 1.3 @@ -148,7 +148,7 @@ # # Generate the .txf file # -print STDERR "Generating GLUT font file...\n"; +print STDERR "Generating textured font file...\n"; # Prune undefined glyphs foreach my $c (keys %metrics) { |
From: Steve B. <sj...@us...> - 2002-08-15 10:30:34
|
Update of /cvsroot/plib/plib/examples/src/ssg/water/data In directory usw-pr-cvs1:/tmp/cvs-serv11438/plib/examples/src/ssg/water/data Modified Files: ocean.rgb Log Message: Made water translucent, lightened texture to avoid image darkening with multitextures. Index: ocean.rgb =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/water/data/ocean.rgb,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Binary files /tmp/cvs6XfvcN and /tmp/cvse8Xlhr differ |
From: Steve B. <sj...@us...> - 2002-08-15 10:30:34
|
Update of /cvsroot/plib/plib/examples/src/ssg/water In directory usw-pr-cvs1:/tmp/cvs-serv11438/plib/examples/src/ssg/water Modified Files: water.cxx Log Message: Made water translucent, lightened texture to avoid image darkening with multitextures. Index: water.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/water/water.cxx,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- water.cxx 15 Aug 2002 05:45:35 -0000 1.16 +++ water.cxx 15 Aug 2002 10:30:31 -0000 1.17 @@ -17,8 +17,6 @@ #define VIEW_GUI_BASE 20 #define FONT_COLOUR 1,1,1,1 -ulClock *clock ; - puSlider *trainLengthSlider = (puSlider *) NULL ; puSlider *trainSpeedSlider = (puSlider *) NULL ; puSlider *trainLambdaSlider = (puSlider *) NULL ; @@ -427,35 +425,30 @@ [...89 lines suppressed...] sgCoord pedpos = { { 0, 0, -1.5 }, { 0, 0, 0 } } ; @@ -715,7 +707,7 @@ trains[2] . setWaveHeight ( 0.1f ) ; ocean = new ssgaWaveSystem ( 10000 ) ; - ocean -> setColour ( WHITE ) ; + ocean -> setColour ( TRANSLUCENT_WHITE ) ; ocean -> setSize ( 100 ) ; ocean -> setTexScale ( 3, 3 ) ; ocean -> setCenter ( pos ) ; @@ -757,8 +749,6 @@ { static puFont *sorority ; static fntTexFont *fnt ; - - clock = new ulClock () ; fnt = new fntTexFont () ; fnt -> load ( "data/sorority.txf" ) ; |
From: Steve B. <sj...@us...> - 2002-08-15 05:45:39
|
Update of /cvsroot/plib/plib/examples/src/ssg/water In directory usw-pr-cvs1:/tmp/cvs-serv19797/plib/examples/src/ssg/water Modified Files: water.cxx Log Message: Added multitexture to water demo. Index: water.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/water/water.cxx,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- water.cxx 15 Aug 2002 04:59:53 -0000 1.15 +++ water.cxx 15 Aug 2002 05:45:35 -0000 1.16 @@ -77,17 +77,34 @@ int enableTexGen ( ssgEntity * ) { +#ifdef GL_ARB_multitexture + int tx ; + glGetIntegerv ( GL_TEXTURE_BINDING_2D, &tx ) ; + glActiveTextureARB ( GL_TEXTURE1_ARB ) ; +#endif glTexGeni ( GL_S, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP ) ; glTexGeni ( GL_T, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP ) ; glEnable ( GL_TEXTURE_GEN_S ) ; glEnable ( GL_TEXTURE_GEN_T ) ; + glEnable ( GL_TEXTURE_2D ) ; +#ifdef GL_ARB_multitexture + glBindTexture ( GL_TEXTURE_2D, tx ) ; + glActiveTextureARB ( GL_TEXTURE0_ARB ) ; +#endif return TRUE ; } int disableTexGen ( ssgEntity * ) { +#ifdef GL_ARB_multitexture + glActiveTextureARB ( GL_TEXTURE1_ARB ) ; +#endif glDisable ( GL_TEXTURE_GEN_S ) ; glDisable ( GL_TEXTURE_GEN_T ) ; + glDisable ( GL_TEXTURE_2D ) ; +#ifdef GL_ARB_multitexture + glActiveTextureARB ( GL_TEXTURE0_ARB ) ; +#endif return TRUE ; } @@ -98,17 +115,34 @@ printf ( "\n" ) ; printf ( "static int enableTexGen ( ssgEntity * )\n" ) ; printf ( "{\n" ) ; + printf ( "#ifdef GL_ARB_multitexture\n" ) ; + printf ( " int tx ;\n" ) ; + printf ( " glGetIntegerv ( GL_TEXTURE_BINDING_2D, &tx ) ;\n" ) ; + printf ( " glActiveTextureARB ( GL_TEXTURE1_ARB ) ;\n" ) ; + printf ( "#endif\n" ) ; printf ( " glTexGeni ( GL_S, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP ) ;\n" ) ; printf ( " glTexGeni ( GL_T, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP ) ;\n" ) ; printf ( " glEnable ( GL_TEXTURE_GEN_S ) ;\n" ) ; printf ( " glEnable ( GL_TEXTURE_GEN_T ) ;\n" ) ; + printf ( " glEnable ( GL_TEXTURE_2D ) ;\n" ) ; + printf ( "#ifdef GL_ARB_multitexture\n" ) ; + printf ( " glBindTexture ( GL_TEXTURE_2D, tx ) ;\n" ) ; + printf ( " glActiveTextureARB ( GL_TEXTURE0_ARB ) ;\n" ) ; + printf ( "#endif\n" ) ; printf ( " return TRUE ;\n" ) ; printf ( "} \n" ) ; printf ( "\n" ) ; printf ( "static int disableTexGen ( ssgEntity * )\n" ) ; printf ( "{\n" ) ; + printf ( "#ifdef GL_ARB_multitexture\n" ) ; + printf ( " glActiveTextureARB ( GL_TEXTURE1_ARB ) ;\n" ) ; + printf ( "#endif\n" ) ; printf ( " glDisable ( GL_TEXTURE_GEN_S ) ;\n" ) ; printf ( " glDisable ( GL_TEXTURE_GEN_T ) ;\n" ) ; + printf ( " glDisable ( GL_TEXTURE_2D ) ;\n" ) ; + printf ( "#ifdef GL_ARB_multitexture\n" ) ; + printf ( " glActiveTextureARB ( GL_TEXTURE0_ARB ) ;\n" ) ; + printf ( "#endif\n" ) ; printf ( " return TRUE ;\n" ) ; printf ( "}\n" ) ; printf ( "\n" ) ; |
From: James J. <pu...@us...> - 2002-08-15 05:13:10
|
Update of /cvsroot/plib/plib/demos/p-guide/src In directory usw-pr-cvs1:/tmp/cvs-serv5861 Added Files: example.xml Log Message: Example Project File --- NEW FILE: example.xml --- <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE P-Guide> <savefile> <version>VERSION</version> <project>Test Project</project> <autolock>TRUE</autolock> <window> <name>Sample P-Guide File</name> <size> <width>600</width> <height>400</height> </size> <position> <x>0</x> <y>0</y> </position> <color> <r>0.750000</r> [...465 lines suppressed...] <position> <x>173</x> <y>360</y> </position> <data> <int1>0</int1> <int2>0</int2> <bool1>FALSE</bool1> <bool2>FALSE</bool2> <bool3>FALSE</bool3> <float1>0.000000</float1> <float2>0.000000</float2> <float3>0.000000</float3> <float4>0.000000</float4> <float5>0.000000</float5> <float6>0.000000</float6> </data> </widget> </objects> </savefile> |
From: James J. <pu...@us...> - 2002-08-15 05:00:27
|
Update of /cvsroot/plib/plib/demos/p-guide/src In directory usw-pr-cvs1:/tmp/cvs-serv29941 Modified Files: pGuide.cxx Log Message: Popupmenu fix Index: pGuide.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/pGuide.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- pGuide.cxx 15 Aug 2002 04:15:17 -0000 1.5 +++ pGuide.cxx 15 Aug 2002 05:00:23 -0000 1.6 @@ -457,8 +457,8 @@ } 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 ) { @@ -724,6 +724,7 @@ active_object = (puObject *)NULL ; } } +} setStatusWidgets ( active_widget ) ; } |
From: Steve B. <sj...@us...> - 2002-08-15 04:59:57
|
Update of /cvsroot/plib/plib/examples/src/ssg/water In directory usw-pr-cvs1:/tmp/cvs-serv29544/plib/examples/src/ssg/water Modified Files: water.cxx Log Message: Added environment mapping to water. Index: water.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/water/water.cxx,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- water.cxx 13 Aug 2002 05:11:33 -0000 1.14 +++ water.cxx 15 Aug 2002 04:59:53 -0000 1.15 @@ -35,6 +35,7 @@ puDial *viewPitchDial = (puDial *) NULL ; puSlider *viewRangeSlider = (puSlider *) NULL ; puButton *viewWireframeButton= (puButton *) NULL ; +puButton *viewEnvMapButton = (puButton *) NULL ; puOneShot *writeButton = (puOneShot *) NULL ; @@ -74,8 +75,45 @@ sgCoord campos = { { 0, -20, 8 }, { 0, -30, 0 } } ; [...157 lines suppressed...] @@ -750,7 +810,7 @@ /* Set everything up on the first time around */ trainSelectBox_cb ( trainSelectBox ) ; - depthSelectBox = new puSelectBox ( 193, GUI_BASE, 400, GUI_BASE+20, + depthSelectBox = new puSelectBox ( 200, GUI_BASE, 400, GUI_BASE+20, depthNames ) ; depthSelectBox->setCallback ( depthSelectBox_cb ) ; depthSelectBox->setCurrentItem ( 0 ) ; @@ -799,6 +859,10 @@ viewWireframeButton= new puButton ( 400, VIEW_GUI_BASE, "Wireframe" ) ; viewWireframeButton->setCallback ( viewWireframeButton_cb ) ; viewWireframeButton->setValue ( FALSE ) ; + + viewEnvMapButton= new puButton ( 300, VIEW_GUI_BASE, "Env.Map" ) ; + viewEnvMapButton->setCallback ( viewEnvMapButton_cb ) ; + viewEnvMapButton->setValue ( FALSE ) ; writeButton = new puOneShot ( 400, VIEW_GUI_BASE + 30, "Write C++" ) ; writeButton->setCallback ( writeButton_cb ) ; |
From: James J. <pu...@us...> - 2002-08-15 04:15:20
|
Update of /cvsroot/plib/plib/demos/p-guide/src In directory usw-pr-cvs1:/tmp/cvs-serv9283 Modified Files: LoadSave.cxx pGuide.cxx PropertiesWindow.cxx StatusWindow.cxx WidgetWindow.cxx WriteCode.cxx Log Message: Linux fixes (load/save, compile warnings) Index: LoadSave.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/LoadSave.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- LoadSave.cxx 4 Aug 2002 04:37:36 -0000 1.3 +++ LoadSave.cxx 15 Aug 2002 04:15:17 -0000 1.4 @@ -39,6 +39,12 @@ #define CALLBACK_ACTIVE 0x00000002 #define CALLBACK_DOWN 0x00000004 +#ifdef WIN32 + #define PATH_SEPARATOR '\\' +#else + #define PATH_SEPARATOR '/' +#endif + // From the Main Window: extern WidgetList *widgets ; @@ -94,7 +100,7 @@ /* Save the new current directory */ strcpy(pguide_current_directory, filename) ; int i = strlen(pguide_current_directory); - while (pguide_current_directory[i] != '\\') { + while (pguide_current_directory[i] != PATH_SEPARATOR) { if (i>0) i-- ; else break ; } @@ -257,24 +263,6 @@ } void loadProject ( puObject *ob ) { - extern puInput *object_size_x ; - extern puInput *object_size_y ; - extern puInput *object_position_x ; - extern puInput *object_position_y ; - - extern puInput *object_label ; - extern puComboBox *object_vert_label_place ; - extern puComboBox *object_horz_label_place ; - extern puInput *object_legend ; - extern puComboBox *object_vert_legend_place ; - extern puComboBox *object_horz_legend_place ; - - extern puInput *object_name ; - extern puButtonBox *object_callbacks ; - - extern puButtonBox *object_visible ; - extern puSpinBox *object_layer ; - extern puInput *window_name ; extern puInput *window_size_x ; extern puInput *window_size_y ; @@ -300,7 +288,7 @@ /* Save the new current directory */ strcpy(pguide_current_directory, filename) ; int i = strlen(pguide_current_directory); - while (pguide_current_directory[i] != '\\') { + while (pguide_current_directory[i] != PATH_SEPARATOR) { if (i>0) i-- ; else break ; } Index: pGuide.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/pGuide.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- pGuide.cxx 4 Aug 2002 04:37:36 -0000 1.4 +++ pGuide.cxx 15 Aug 2002 04:15:17 -0000 1.5 @@ -862,13 +862,17 @@ // If we're using windows, ignore the C: or whatnot -#ifdef WIN32 +#ifdef WIN32 + #define PATH_SEPARATOR '\\' strcpy (pguide_current_directory, argv[0]+2); #else + #define PATH_SEPARATOR '/' strcpy (pguide_current_directory, argv[0]); #endif i = strlen(pguide_current_directory); - while (pguide_current_directory[i] != '\\') { + + + while (pguide_current_directory[i] != PATH_SEPARATOR) { if (i>0) i-- ; else break ; } Index: PropertiesWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/PropertiesWindow.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- PropertiesWindow.cxx 3 Aug 2002 22:55:29 -0000 1.1 +++ PropertiesWindow.cxx 15 Aug 2002 04:15:17 -0000 1.2 @@ -229,7 +229,7 @@ // Set up the widgets properties_group = new puGroup ( 0, 0 ) ; - puFrame *properties_frame = new puFrame ( 0, 0, 500, 250 ) ; + new puFrame ( 0, 0, 500, 250 ) ; puText *properties_instructions = new puText ( 250, 230 ); properties_instructions->setLabelPlace(PUPLACE_TOP_CENTERED); Index: StatusWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/StatusWindow.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- StatusWindow.cxx 3 Aug 2002 22:55:29 -0000 1.3 +++ StatusWindow.cxx 15 Aug 2002 04:15:17 -0000 1.4 @@ -886,7 +886,7 @@ // Set up the widgets puGroup *status_group = new puGroup ( 0, 0 ) ; - puFrame *status_frame = new puFrame ( 0, 0, 500, 380 ) ; + new puFrame ( 0, 0, 500, 380 ) ; menubar = new puMenuBar () ; { Index: WidgetWindow.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/WidgetWindow.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- WidgetWindow.cxx 3 Aug 2002 22:55:29 -0000 1.3 +++ WidgetWindow.cxx 15 Aug 2002 04:15:17 -0000 1.4 @@ -277,7 +277,7 @@ puGroup *widget_group = new puGroup ( 0, 0 ) ; - puFrame *widget_frame = new puFrame ( 0, 0, 4 * ln + 5 * sp, 5 * ht + 6 * sp ) ; + new puFrame ( 0, 0, 4 * ln + 5 * sp, 5 * ht + 6 * sp ) ; puButton *button = (puButton *)NULL ; button = new puButton ( sp, 5*sp+4*ht, sp+ln, 5*sp+5*ht ) ; Index: WriteCode.cxx =================================================================== RCS file: /cvsroot/plib/plib/demos/p-guide/src/WriteCode.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- WriteCode.cxx 4 Aug 2002 04:37:36 -0000 1.4 +++ WriteCode.cxx 15 Aug 2002 04:15:17 -0000 1.5 @@ -25,6 +25,12 @@ #include "WidgetList.h" +#ifdef WIN32 + #define PATH_SEPARATOR '\\' +#else + #define PATH_SEPARATOR '/' +#endif + // From the Main Window: extern WidgetList *widgets ; @@ -65,14 +71,14 @@ return ; } - /* Save the new current directory */ - strcpy(pguide_current_directory, filename) ; - int i = strlen(pguide_current_directory); - while (pguide_current_directory[i] != '\\') { - if (i>0) i-- ; - else break ; - } - pguide_current_directory[i+1] = '\0' ; + /* Save the new current directory */ + strcpy(pguide_current_directory, filename) ; + int i = strlen(pguide_current_directory); + while (pguide_current_directory[i] != PATH_SEPARATOR) { + if (i>0) i-- ; + else break ; + } + pguide_current_directory[i+1] = '\0' ; /* If they didn't give an extension, then tack ".cxx" onto the end. */ if(!strstr(filename, ".")) |
From: Sebastian U. <ud...@us...> - 2002-08-15 00:38:08
|
Update of /cvsroot/plib/plib/examples/src/fnt In directory usw-pr-cvs1:/tmp/cvs-serv30340 Modified Files: fnt_test.cxx Log Message: Updated to use the new fonts Index: fnt_test.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/fnt/fnt_test.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- fnt_test.cxx 8 Jan 2002 08:53:09 -0000 1.5 +++ fnt_test.cxx 15 Aug 2002 00:38:06 -0000 1.6 @@ -13,33 +13,68 @@ fntRenderer *text ; -#define MAX_FONTS 20 - -const char *font_names [ MAX_FONTS ] = +const char *font_names [] = { - "sorority.txf", /* This is the default */ - "charter.txf", - "courier-bold.txf", [...69 lines suppressed...] +/* "old/times_bold.txf", + "old/times_medium.txf", + "old/typewriter.txf", */ NULL } ; -fntTexFont *font_list [ MAX_FONTS ] ; +fntTexFont **font_list ; int cur_font = 0 ; int max_font = 0 ; @@ -171,6 +206,8 @@ int main ( int argc, char **argv ) { + font_list = new fntTexFont* [ sizeof(font_names) / sizeof(font_names[0]) ] ; + glutInitWindowPosition ( 0, 0 ) ; glutInitWindowSize ( 640, 480 ) ; glutInit ( &argc, argv ) ; |
From: Sebastian U. <ud...@us...> - 2002-08-15 00:37:49
|
Update of /cvsroot/plib/plib/examples/src/fnt In directory usw-pr-cvs1:/tmp/cvs-serv30128 Modified Files: slideshow.cxx Log Message: Updated for the new font file locations Index: slideshow.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/fnt/slideshow.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- slideshow.cxx 28 Dec 2001 23:07:52 -0000 1.5 +++ slideshow.cxx 15 Aug 2002 00:37:47 -0000 1.6 @@ -193,7 +193,7 @@ glutKeyboardFunc ( keyfn ) ; text = new fntRenderer () ; - font = new fntTexFont ( "data/lucida.txf" ) ; + font = new fntTexFont ( "data/old/lucida.txf" ) ; glutMainLoop () ; return 0 ; |
From: Sebastian U. <ud...@us...> - 2002-08-15 00:35:38
|
Update of /cvsroot/plib/plib/examples/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv28902/src/pui Modified Files: widget_list.cxx complex.cxx PointPicker.cxx Log Message: Updated for the new font file locations Index: widget_list.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/widget_list.cxx,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- widget_list.cxx 21 Dec 2001 12:48:56 -0000 1.10 +++ widget_list.cxx 15 Aug 2002 00:35:36 -0000 1.11 @@ -192,7 +192,7 @@ #endif tim = new fntTexFont ; - tim -> load ( "../fnt/data/times_bold.txf" ) ; + tim -> load ( "../fnt/data/old/old/times_bold.txf" ) ; puFont times_medium ( tim, 12 ) ; puSetDefaultFonts ( times_medium, times_medium ) ; puSetDefaultStyle ( PUSTYLE_SMALL_SHADED ) ; @@ -213,7 +213,7 @@ glutPassiveMotionFunc ( motionfn ) ; #endif [...157 lines suppressed...] large_input = new puLargeInput ( 10, 10, 240, 180, 2, 20 ) ; large_input->setLabel ( "Label" ) ; @@ -611,7 +611,7 @@ glutPassiveMotionFunc ( motionfn ) ; #endif - tim -> load ( "../fnt/data/times_bold.txf" ) ; + tim -> load ( "../fnt/data/old/times_bold.txf" ) ; char *combo_box_entries [] = { "First Entry", "Second Entry", "Third Entry", "Fourth Entry", "Sixth Entry", "Seventh Entry", NULL } ; combo_box = new puComboBox ( 10, 158, 250, 190, @@ -633,7 +633,7 @@ glutPassiveMotionFunc ( motionfn ) ; #endif - tim -> load ( "../fnt/data/times_bold.txf" ) ; + tim -> load ( "../fnt/data/old/times_bold.txf" ) ; glEnable ( GL_BLEND ) ; glAlphaFunc ( GL_GEQUAL, 0.1f ) ; Index: complex.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/complex.cxx,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- complex.cxx 20 Dec 2001 15:50:55 -0000 1.18 +++ complex.cxx 15 Aug 2002 00:35:36 -0000 1.19 @@ -461,8 +461,8 @@ hel = new fntTexFont ; tim = new fntTexFont ; - hel -> load ( "../fnt/data/helvetica_medium.txf" ) ; - tim -> load ( "../fnt/data/times_medium.txf" ) ; + hel -> load ( "../fnt/data/old/helvetica_medium.txf" ) ; + tim -> load ( "../fnt/data/old/times_medium.txf" ) ; puFont helvetica ( hel, 15 ) ; puFont times_medium ( tim, 13 ) ; puSetDefaultFonts ( helvetica, times_medium ) ; @@ -508,8 +508,8 @@ glutIdleFunc ( sliderdisplayfn ) ; //load the texture for the 2nd window - hel -> load ( "../fnt/data/helvetica_medium.txf" ) ; - tim -> load ( "../fnt/data/times_medium.txf" ) ; + hel -> load ( "../fnt/data/old/helvetica_medium.txf" ) ; + tim -> load ( "../fnt/data/old/times_medium.txf" ) ; puGroup *slider_group = new puGroup ( 0, 0 ) ; // Necessary so that "sliderdisplayfn" will draw all widgets @@ -542,8 +542,8 @@ glutHideWindow () ; //load the texture for the save window - hel -> load ( "../fnt/data/helvetica_medium.txf" ) ; - tim -> load ( "../fnt/data/times_medium.txf" ) ; + hel -> load ( "../fnt/data/old/helvetica_medium.txf" ) ; + tim -> load ( "../fnt/data/old/times_medium.txf" ) ; // Coordinate Selection Window @@ -560,8 +560,8 @@ glutReshapeFunc ( coordreshapefn ) ; //load the texture for the 2nd window - hel -> load ( "../fnt/data/helvetica_medium.txf" ) ; - tim -> load ( "../fnt/data/times_medium.txf" ) ; + hel -> load ( "../fnt/data/old/helvetica_medium.txf" ) ; + tim -> load ( "../fnt/data/old/times_medium.txf" ) ; puGroup *coordinate_group = new puGroup ( 0, 0 ) ; // Necessary so that "groupdisplayfn" will draw all widgets @@ -591,8 +591,8 @@ coordinate_group -> close () ; -// hel -> load ( "../fnt/data/helvetica_medium.txf" ) ; -// tim -> load ( "../fnt/data/times_medium.txf" ) ; +// hel -> load ( "../fnt/data/old/helvetica_medium.txf" ) ; +// tim -> load ( "../fnt/data/old/times_medium.txf" ) ; glutMainLoop () ; return 0 ; Index: PointPicker.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/PointPicker.cxx,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- PointPicker.cxx 4 Jul 2002 00:35:05 -0000 1.11 +++ PointPicker.cxx 15 Aug 2002 00:35:36 -0000 1.12 @@ -337,7 +337,7 @@ // Set up the font tim = new fntTexFont ; - tim -> load ( "../fnt/data/times_medium.txf" ) ; + tim -> load ( "../fnt/data/old/times_medium.txf" ) ; puFont times_medium ( tim, 15, 0.3f ) ; puSetDefaultFonts ( times_medium, times_medium ) ; puSetDefaultStyle ( PUSTYLE_SMALL_SHADED ) ; |
From: Sebastian U. <ud...@us...> - 2002-08-15 00:04:46
|
Update of /cvsroot/plib/plib/src/fnt In directory usw-pr-cvs1:/tmp/cvs-serv12620 Modified Files: fnt.cxx fnt.h fntTXF.cxx Log Message: Andy Ross: Modified FNT to handle character widths correctly Index: fnt.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/fnt/fnt.cxx,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- fnt.cxx 12 Dec 2001 23:49:36 -0000 1.7 +++ fnt.cxx 15 Aug 2002 00:04:42 -0000 1.8 @@ -102,14 +102,14 @@ curpos[2] ) ; glEnd () ; - float ww = ( gap + ( fixed_pitch ? width : v_right[cc] ) ) * pointsize ; + float ww = ( gap + ( fixed_pitch ? width : widths[cc] ) ) * pointsize ; curpos[0] += ww ; return ww ; } -void fntTexFont::setGlyph ( char c, +void fntTexFont::setGlyph ( char c, float wid, float tex_left, float tex_right, float tex_bot , float tex_top , float vtx_left, float vtx_right, @@ -119,6 +119,8 @@ exists[cc] = FNT_TRUE ; + widths[cc] = wid; + t_left[cc] = tex_left ; t_right[cc] = tex_right ; t_bot [cc] = tex_bot ; t_top [cc] = tex_top ; @@ -127,7 +129,7 @@ } -int fntTexFont::getGlyph ( char c, +int fntTexFont::getGlyph ( char c, float* wid, float *tex_left, float *tex_right, float *tex_bot , float *tex_top , float *vtx_left, float *vtx_right, @@ -137,6 +139,8 @@ if ( ! exists[cc] ) return FNT_FALSE ; + if ( wid != NULL ) *wid = widths [cc] ; + if ( tex_left != NULL ) *tex_left = t_left [cc] ; if ( tex_right != NULL ) *tex_right = t_right[cc] ; if ( tex_bot != NULL ) *tex_bot = t_bot [cc] ; @@ -209,7 +213,7 @@ if ( b > v_pos + v_bot [cc] ) b = v_pos + v_bot [cc] ; if ( t < v_pos + v_top [cc] ) t = v_pos + v_top [cc] ; - h_pos += gap + ( fixed_pitch ? width : v_right[cc] ) ; + h_pos += gap + ( fixed_pitch ? width : widths[cc] ) ; } if ( left != NULL ) *left = l * pointsize ; @@ -239,5 +243,4 @@ s++ ; } } - Index: fnt.h =================================================================== RCS file: /cvsroot/plib/plib/src/fnt/fnt.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- fnt.h 7 Nov 2001 23:51:09 -0000 1.5 +++ fnt.h 15 Aug 2002 00:04:42 -0000 1.6 @@ -59,7 +59,7 @@ virtual float getWidth () const = 0 ; virtual float getGap () const = 0 ; - virtual int hasGlyph ( char c ) = 0 ; + virtual int hasGlyph ( char c ) const = 0 ; } ; @@ -90,6 +90,10 @@ v_bot==0.0 and v_top==1.0. */ + /* Nominal baseline widths */ + + float widths [ FNTMAX_CHAR ] ; + /* Texture coordinates */ float t_top [ FNTMAX_CHAR ] ; /* Top edge of each character [0..1] */ @@ -171,19 +175,39 @@ float getGap () const { return gap ; } - void setGlyph ( char c, + void setGlyph ( char c, float wid, float tex_left, float tex_right, float tex_bot , float tex_top , float vtx_left, float vtx_right, float vtx_bot , float vtx_top ) ; + void setGlyph ( char c, + float tex_left, float tex_right, + float tex_bot , float tex_top , + float vtx_left, float vtx_right, + float vtx_bot , float vtx_top ) /* deprecated */ + { + setGlyph ( c, vtx_right, + tex_left, tex_right, tex_bot, tex_top, + vtx_left, vtx_right, vtx_bot, vtx_top ) ; + } - int getGlyph ( char c, + int getGlyph ( char c, float* wid, float *tex_left = NULL, float *tex_right = NULL, float *tex_bot = NULL, float *tex_top = NULL, float *vtx_left = NULL, float *vtx_right = NULL, float *vtx_bot = NULL, float *vtx_top = NULL) ; + int getGlyph ( char c, + float *tex_left = NULL, float *tex_right = NULL, + float *tex_bot = NULL, float *tex_top = NULL, + float *vtx_left = NULL, float *vtx_right = NULL, + float *vtx_bot = NULL, float *vtx_top = NULL) /* deprecated */ + { + return getGlyph ( c, NULL, + tex_left, tex_right, tex_bot, tex_top, + vtx_left, vtx_right, vtx_bot, vtx_top ) ; + } - int hasGlyph ( char c ) { return getGlyph ( c ) ; } + int hasGlyph ( char c ) const { return exists[ c ] ; } void getBBox ( const char *s, float pointsize, float italic, float *left, float *right, Index: fntTXF.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/fnt/fntTXF.cxx,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- fntTXF.cxx 21 Apr 2002 03:53:15 -0000 1.14 +++ fntTXF.cxx 15 Aug 2002 00:04:42 -0000 1.15 @@ -246,6 +246,7 @@ glyph . y = _fnt_readShort () ; setGlyph ( (char) glyph.ch, + (float) glyph.step / (float) max_height, (float) glyph.x / (float) w + xstep, (float)( glyph.x + glyph.w ) / (float) w + xstep, (float) glyph.y / (float) h + ystep, |
From: Sebastian U. <ud...@us...> - 2002-08-14 23:47:10
|
Update of /cvsroot/plib/plib/tools/src/afm2txf In directory usw-pr-cvs1:/tmp/cvs-serv4023 Modified Files: afm2txf.pl Log Message: License is GPL Index: afm2txf.pl =================================================================== RCS file: /cvsroot/plib/plib/tools/src/afm2txf/afm2txf.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- afm2txf.pl 28 Jun 2002 15:07:08 -0000 1.1 +++ afm2txf.pl 14 Aug 2002 23:47:06 -0000 1.2 @@ -12,7 +12,11 @@ # 0.2 (06/28/2002): Generate fonts with proper padding # 0.1 (06/28/2002): Initial version # -# Copyright (C) 2002 Andy Ross +# Copyright (C) 2002 Andrew James Ross +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. use strict; @@ -276,3 +280,4 @@ return \@PS; } + |
From: Sebastian U. <ud...@us...> - 2002-08-14 22:40:59
|
Update of /cvsroot/plib/plib/examples/src/fnt/data In directory usw-pr-cvs1:/tmp/cvs-serv4260 Modified Files: README Added Files: COPYING.FONTS Log Message: Stress that the new fonts are distributed under the terms of the GPL --- NEW FILE: COPYING.FONTS --- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. [...301 lines suppressed...] The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. Index: README =================================================================== RCS file: /cvsroot/plib/plib/examples/src/fnt/data/README,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- README 14 Aug 2002 22:03:00 -0000 1.3 +++ README 14 Aug 2002 22:40:44 -0000 1.4 @@ -1,7 +1,7 @@ -These antialiased '.txf' fonts were generated from postscript fonts by -Andy Ross using his afm2txf script which can be found in the 'tools' -area of PLIB. +These antialiased '.txf' fonts were generated from Ghostscript fonts +(published under the terms of the GPL) by Andy Ross using his afm2txf +script which can be found in the 'tools' area of PLIB. Things that make them better than existing fonts are (quoted from Andy): |
Update of /cvsroot/plib/plib/examples/src/fnt/data In directory usw-pr-cvs1:/tmp/cvs-serv20082 Added Files: AvantGarde-BookOblique.txf AvantGarde-Book.txf AvantGarde-DemiOblique.txf AvantGarde-Demi.txf Bookman-DemiItalic.txf Bookman-Demi.txf Bookman-LightItalic.txf Bookman-Light.txf Courier-BoldOblique.txf Courier-Bold.txf Courier-Oblique.txf Courier.txf Helvetica-BoldOblique.txf Helvetica-Bold.txf Helvetica-Oblique.txf Helvetica.txf NewCenturySchlbk-BoldItalic.txf NewCenturySchlbk-Bold.txf NewCenturySchlbk-Italic.txf NewCenturySchlbk-Roman.txf Palatino-BoldItalic.txf Palatino-Bold.txf Palatino-Italic.txf Palatino-Roman.txf Times-BoldItalic.txf Times-Bold.txf Times-Italic.txf Times-Roman.txf ZapfChancery-MediumItalic.txf README Log Message: Added textured fonts by Andy Ross to the repository --- NEW FILE: AvantGarde-BookOblique.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AvantGarde-Book.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AvantGarde-DemiOblique.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AvantGarde-Demi.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Bookman-DemiItalic.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Bookman-Demi.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Bookman-LightItalic.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Bookman-Light.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Courier-BoldOblique.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Courier-Bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Courier-Oblique.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Courier.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Helvetica-BoldOblique.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Helvetica-Bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Helvetica-Oblique.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Helvetica.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NewCenturySchlbk-BoldItalic.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NewCenturySchlbk-Bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NewCenturySchlbk-Italic.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NewCenturySchlbk-Roman.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Palatino-BoldItalic.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Palatino-Bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Palatino-Italic.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Palatino-Roman.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Times-BoldItalic.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Times-Bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Times-Italic.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Times-Roman.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ZapfChancery-MediumItalic.txf --- (This appears to be a binary file; contents omitted.) |
From: Sebastian U. <ud...@us...> - 2002-08-14 21:40:35
|
Update of /cvsroot/plib/plib/examples/src/fnt/data/old In directory usw-pr-cvs1:/tmp/cvs-serv8763 Removed Files: test_slideshow.txt Log Message: Undo accidential commit --- test_slideshow.txt DELETED --- |
Update of /cvsroot/plib/plib/examples/src/fnt/data/old In directory usw-pr-cvs1:/tmp/cvs-serv7898 Added Files: charter.txf courier-bold.txf courier_medium.txf curlfont.txf default.txf derniere.txf haeberli.txf helvetica_bold.txf helvetica_medium.txf junius.txf lucidabright_bold.txf lucida.txf README schoolbook_bold.txf schoolbook_medium.txf sorority.txf symbol.txf test_slideshow.txt times_bold.txf times_medium.txf typewriter.txf Log Message: Added textured fonts by Andy Ross to the repository --- NEW FILE: charter.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: courier-bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: courier_medium.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: curlfont.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: default.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: derniere.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: haeberli.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: helvetica_bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: helvetica_medium.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: junius.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lucidabright_bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lucida.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: README --- TXF Font Pack. ~~~~~~~~~~~~~~ Most of these fonts were created from the X-windows fonts that are distributed with Xfree86. The exceptions are Sorority, Curlfont, Default and Haeberli which came from Mark Kilgards' "texfont" distribution. I used Mark's program called 'gentexfont' to convert X fonts into '.txf' format - which can be read into the PLIB FNT component. Large bold-faced fonts seem to work best. There is little point in converting the italic versions of these fonts since FNT can do a reasonable job of italicising them on-the-fly. Using large fonts gives them the best chance of scaling them without undue aliasing either in pixel or texel space. These fonts all fit pretty well into 256x256 maps - using smaller maps would require you to go for smaller font sizes - larger maps would not fit into 3Dfx and similar hardware. Medium and fine fonts look pretty terrible when scaled, I have omitted all the fine fonts and some of the worst medium fonts from the set that come with Xfree86. You can preview these using the fnt_test program, or use them from within other programs that use Mark's TXF format. --- NEW FILE: schoolbook_bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: schoolbook_medium.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sorority.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: symbol.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: test_slideshow.txt --- 1 2 3 4 5 6 Hello! 7 8 9 10 11 12 13 14 15 16 ************************************************| * * * * --- NEW FILE: times_bold.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: times_medium.txf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: typewriter.txf --- (This appears to be a binary file; contents omitted.) |
From: Sebastian U. <ud...@us...> - 2002-08-14 21:38:20
|
Update of /cvsroot/plib/plib/examples/src/fnt/data/old In directory usw-pr-cvs1:/tmp/cvs-serv7704/old Log Message: Directory /cvsroot/plib/plib/examples/src/fnt/data/old added to the repository |
Update of /cvsroot/plib/plib/examples/src/fnt/data In directory usw-pr-cvs1:/tmp/cvs-serv7167 Removed Files: charter.txf courier-bold.txf courier_medium.txf curlfont.txf default.txf derniere.txf haeberli.txf helvetica_bold.txf helvetica_medium.txf junius.txf lucidabright_bold.txf lucida.txf README schoolbook_bold.txf schoolbook_medium.txf sorority.txf symbol.txf times_bold.txf times_medium.txf typewriter.txf Log Message: Added textured fonts by Andy Ross to the repository --- charter.txf DELETED --- --- courier-bold.txf DELETED --- --- courier_medium.txf DELETED --- --- curlfont.txf DELETED --- --- default.txf DELETED --- --- derniere.txf DELETED --- --- haeberli.txf DELETED --- --- helvetica_bold.txf DELETED --- --- helvetica_medium.txf DELETED --- --- junius.txf DELETED --- --- lucidabright_bold.txf DELETED --- --- lucida.txf DELETED --- --- README DELETED --- --- schoolbook_bold.txf DELETED --- --- schoolbook_medium.txf DELETED --- --- sorority.txf DELETED --- --- symbol.txf DELETED --- --- times_bold.txf DELETED --- --- times_medium.txf DELETED --- --- typewriter.txf DELETED --- |