//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef _FG_AIMGR_HXX
#define _FG_AIMGR_HXX
double lat;
double elev;
// Pointers to current users position
- SGPropertyNode *lon_node;
- SGPropertyNode *lat_node;
- SGPropertyNode *elev_node;
+ SGPropertyNode_ptr lon_node;
+ SGPropertyNode_ptr lat_node;
+ SGPropertyNode_ptr elev_node;
public:
private:
- ssgBranch* _defaultModel; // Cessna 172!
- ssgBranch* _piperModel; // pa28-161
+ osg::ref_ptr<osg::Node> _defaultModel; // Cessna 172!
+ osg::ref_ptr<osg::Node> _piperModel; // pa28-161
bool initDone; // Hack - guard against update getting called before init