From 3b3600fd2141e599910dcdf3d76778a94274df72 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sun, 19 Sep 2004 18:34:47 +0000 Subject: [PATCH] Make it compile, link and run again (pfew\!) --- src/GUI/gui_funcs.cxx | 2 ++ src/Model/acmodel.hxx | 2 ++ src/MultiPlayer/mpplayer.hxx | 1 - src/Scenery/hitlist.hxx | 4 ++-- src/Scenery/scenery.hxx | 5 +++-- src/Scenery/tileentry.hxx | 9 +++++++-- 6 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index a4a30ee62..5a05d8872 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -60,6 +60,8 @@ # endif #endif +#include + #include #include #include diff --git a/src/Model/acmodel.hxx b/src/Model/acmodel.hxx index a59bd954a..ddafbaf34 100644 --- a/src/Model/acmodel.hxx +++ b/src/Model/acmodel.hxx @@ -12,6 +12,8 @@ #include +#include + SG_USING_STD(string); SG_USING_STD(vector); diff --git a/src/MultiPlayer/mpplayer.hxx b/src/MultiPlayer/mpplayer.hxx index c16d9f1b0..4876d1e47 100644 --- a/src/MultiPlayer/mpplayer.hxx +++ b/src/MultiPlayer/mpplayer.hxx @@ -52,7 +52,6 @@ SG_USING_STD(string); // Number of seconds before a player is consider to be lost #define TIME_TO_LIVE 10 - class ssgEntity; class ssgTransform; diff --git a/src/Scenery/hitlist.hxx b/src/Scenery/hitlist.hxx index 7956b343e..f79d1e9fe 100644 --- a/src/Scenery/hitlist.hxx +++ b/src/Scenery/hitlist.hxx @@ -13,10 +13,10 @@ #include -#include - SG_USING_STD(vector); +class ssgEntity; + class FGHitRec { private: diff --git a/src/Scenery/scenery.hxx b/src/Scenery/scenery.hxx index 0ba923cd4..f2e77ec97 100644 --- a/src/Scenery/scenery.hxx +++ b/src/Scenery/scenery.hxx @@ -29,14 +29,15 @@ # error This library requires C++ #endif - #include -#include #include #include +class ssgRoot; +class ssgBranch; + // Define a structure containing global scenery parameters class FGScenery : public SGSubsystem { // center of current scenery chunk diff --git a/src/Scenery/tileentry.hxx b/src/Scenery/tileentry.hxx index d3476c061..a979e677b 100644 --- a/src/Scenery/tileentry.hxx +++ b/src/Scenery/tileentry.hxx @@ -38,8 +38,6 @@ #include #include STL_STRING -#include // plib includes - #include #include #include @@ -56,6 +54,13 @@ typedef vector < Point3D > point_list; typedef point_list::iterator point_list_iterator; typedef point_list::const_iterator const_point_list_iterator; +class ssgLeaf; +class ssgBranch; +class ssgTransform; +class ssgSelector; +class ssgRangeSelector; +class ssgVertexArray; + class FGTileEntry;