[Plib-cvs] plib/demos/ttt3d/src cell.cxx,1.2,1.3 cell.h,1.1,1.2 game.cxx,1.3,1.4 game.h,1.1,1.2 gfx.
Brought to you by:
sjbaker
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> |