1 // FGAIEntity - abstract base class an artificial intelligence entity
3 // Written by David Luff, started March 2002.
5 // Copyright (C) 2002 David C. Luff - david.luff@nottingham.ac.uk
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 2 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 // General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 /*****************************************************************
23 * WARNING - Curt has some ideas about AI traffic so anything in here
24 * may get rewritten or scrapped. Contact Curt curt@flightgear.org
25 * before spending any time or effort on this code!!!
27 ******************************************************************/
29 #ifndef _FG_AIEntity_HXX
30 #define _FG_AIEntity_HXX
34 #include <simgear/math/point3d.hxx>
40 // We need some way for this class to display its radio transmissions if on the
41 // same frequency and in the vicinity of the user's aircraft
42 // This may need to be done independently of ATC eg CTAF
44 virtual ~FGAIEntity();
46 // Run the internal calculations
47 virtual void Update();
54 double hdg; //True heading in degrees
55 double roll; //degrees
56 double pitch; //degrees
58 char* model_path; //Path to the 3D model
61 ssgTransform* position;
65 //void WorldCoordinate(sgCoord *obj_pos, Point3D center);
67 void FastWorldCoordinate(sgCoord *obj_pos, Point3D center);
71 #endif // _FG_AIEntity_HXX