]> git.mxchange.org Git - flightgear.git/blob - Scenery/obj.h
Edited cvs log messages in source files ... bad bad bad!
[flightgear.git] / Scenery / obj.h
1 /**************************************************************************
2  * obj.h -- routines to handle WaveFront .obj-ish format files.
3  *
4  * Written by Curtis Olson, started October 1997.
5  *
6  * Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
7  *
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.
12  *
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.
17  *
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.
21  *
22  * $Id$
23  * (Log is kept at end of this file)
24  **************************************************************************/
25
26
27 #ifndef _OBJ_H
28 #define _OBJ_H
29
30
31 #ifdef HAVE_CONFIG_H
32 #  include <config.h>
33 #endif
34
35 #ifdef HAVE_WINDOWS_H
36 #  include <windows.h>
37 #endif
38
39 #include <GL/glut.h>
40
41 #include <Include/fg_types.h>
42
43
44 #ifdef __cplusplus                                                          
45 extern "C" {                            
46 #endif                                   
47
48
49 /* Load a .obj file and generate the GL call list */
50 GLint fgObjLoad(char *path, struct fgCartesianPoint *ref, double *radius);
51
52
53 #ifdef __cplusplus
54 }
55 #endif
56
57
58 #endif /* _OBJ_H */
59
60
61 /* $Log$
62 /* Revision 1.11  1998/04/25 22:06:31  curt
63 /* Edited cvs log messages in source files ... bad bad bad!
64 /*
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.)
69  *
70  * Revision 1.9  1998/04/22 13:22:45  curt
71  * C++ - ifing the code a bit.
72  *
73  * Revision 1.8  1998/04/21 17:02:43  curt
74  * Prepairing for C++ integration.
75  *
76  * Revision 1.7  1998/04/03 22:11:37  curt
77  * Converting to Gnu autoconf system.
78  *
79  * Revision 1.6  1998/01/31 00:43:25  curt
80  * Added MetroWorks patches from Carmen Volpe.
81  *
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.
85  *
86  * Revision 1.4  1998/01/22 02:59:41  curt
87  * Changed #ifdef FILE_H to #ifdef _FILE_H
88  *
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.
92  *
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.
96  *
97  * Revision 1.1  1997/10/28 21:14:55  curt
98  * Initial revision.
99  *
100  */