1 /**************************************************************************
2 * obj.h -- routines to handle WaveFront .obj-ish format files.
4 * Written by Curtis Olson, started October 1997.
6 * Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 * (Log is kept at end of this file)
24 **************************************************************************/
41 #include <Include/fg_types.h>
49 /* Load a .obj file and generate the GL call list */
50 GLint fgObjLoad(char *path, struct fgCartesianPoint *ref, double *radius);
62 /* Revision 1.11 1998/04/25 22:06:31 curt
63 /* Edited cvs log messages in source files ... bad bad bad!
65 * Revision 1.10 1998/04/24 00:51:07 curt
66 * Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
67 * Tweaked the scenery file extentions to be "file.obj" (uncompressed)
68 * or "file.obz" (compressed.)
70 * Revision 1.9 1998/04/22 13:22:45 curt
71 * C++ - ifing the code a bit.
73 * Revision 1.8 1998/04/21 17:02:43 curt
74 * Prepairing for C++ integration.
76 * Revision 1.7 1998/04/03 22:11:37 curt
77 * Converting to Gnu autoconf system.
79 * Revision 1.6 1998/01/31 00:43:25 curt
80 * Added MetroWorks patches from Carmen Volpe.
82 * Revision 1.5 1998/01/27 00:48:03 curt
83 * Incorporated Paul Bleisch's <pbleisch@acm.org> new debug message
84 * system and commandline/config file processing code.
86 * Revision 1.4 1998/01/22 02:59:41 curt
87 * Changed #ifdef FILE_H to #ifdef _FILE_H
89 * Revision 1.3 1998/01/19 19:27:17 curt
90 * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
91 * This should simplify things tremendously.
93 * Revision 1.2 1998/01/13 00:23:10 curt
94 * Initial changes to support loading and management of scenery tiles. Note,
95 * there's still a fair amount of work left to be done.
97 * Revision 1.1 1997/10/28 21:14:55 curt