]> git.mxchange.org Git - flightgear.git/blob - Scenery/obj.h
C++ - ifing the code a bit.
[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 #include <config.h>
32
33 #ifdef HAVE_WINDOWS_H
34 #  include <windows.h>
35 #endif
36
37 #include <GL/glut.h>
38
39 #include <Include/fg_types.h>
40
41
42 #ifdef __cplusplus                                                          
43 extern "C" {                            
44 #endif                                   
45
46
47 /* Load a .obj file and generate the GL call list */
48 GLint fgObjLoad(char *path, struct fgCartesianPoint *ref, double *radius);
49
50
51 #ifdef __cplusplus
52 }
53 #endif
54
55
56 #endif /* _OBJ_H */
57
58
59 /* $Log$
60 /* Revision 1.9  1998/04/22 13:22:45  curt
61 /* C++ - ifing the code a bit.
62 /*
63  * Revision 1.8  1998/04/21 17:02:43  curt
64  * Prepairing for C++ integration.
65  *
66  * Revision 1.7  1998/04/03 22:11:37  curt
67  * Converting to Gnu autoconf system.
68  *
69  * Revision 1.6  1998/01/31 00:43:25  curt
70  * Added MetroWorks patches from Carmen Volpe.
71  *
72  * Revision 1.5  1998/01/27 00:48:03  curt
73  * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
74  * system and commandline/config file processing code.
75  *
76  * Revision 1.4  1998/01/22 02:59:41  curt
77  * Changed #ifdef FILE_H to #ifdef _FILE_H
78  *
79  * Revision 1.3  1998/01/19 19:27:17  curt
80  * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
81  * This should simplify things tremendously.
82  *
83  * Revision 1.2  1998/01/13 00:23:10  curt
84  * Initial changes to support loading and management of scenery tiles.  Note,
85  * there's still a fair amount of work left to be done.
86  *
87  * Revision 1.1  1997/10/28 21:14:55  curt
88  * Initial revision.
89  *
90  */