2 // getapt.hxx -- generate airport scenery from the given definition file
4 // Written by Curtis Olson, started September 1998.
6 // Copyright (C) 1998 Curtis L. Olson - curt@me.umn.edu
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)
31 # error This library requires C++
35 #include <Include/compiler.h>
41 # define exception c_exception
44 #include <Scenery/tile.hxx>
50 // maximum size of airport perimeter structure, even for complex
51 // airports such as KORD this number is typically not very big.
52 #define MAX_PERIMETER 20
54 // name of the material to use for the airport base
55 #define APT_BASE_MATERIAL "grass"
58 // Load a .apt file and register the GL fragments with the
61 fgAptGenerate(const string& path, fgTILE *tile);
64 #endif /* _AIRPORTS_HXX */
68 // Revision 1.3 1999/03/02 01:02:32 curt
69 // Tweaks for building with native SGI compilers.
71 // Revision 1.2 1998/11/23 21:48:10 curt
72 // Borland portability tweaks.
74 // Revision 1.1 1998/09/14 02:14:01 curt
75 // Initial revision of genapt.[ch]xx for generating airport scenery.