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.
30 # error This library requires C++
34 #include <Include/compiler.h>
40 # define exception c_exception
43 #include <Scenery/tile.hxx>
49 // maximum size of airport perimeter structure, even for complex
50 // airports such as KORD this number is typically not very big.
51 #define MAX_PERIMETER 20
53 // name of the material to use for the airport base
54 #define APT_BASE_MATERIAL "grass"
57 // Load a .apt file and register the GL fragments with the
60 fgAptGenerate(const string& path, fgTILE *tile);
63 #endif /* _AIRPORTS_HXX */