1
0
Fork 0

Make it compile, link and run again (pfew\!)

This commit is contained in:
ehofman 2004-09-19 18:34:47 +00:00
parent de47d1a7d8
commit 3b3600fd21
6 changed files with 16 additions and 7 deletions

View file

@ -60,6 +60,8 @@
# endif # endif
#endif #endif
#include <plib/ssg.h>
#include <simgear/constants.h> #include <simgear/constants.h>
#include <simgear/debug/logstream.hxx> #include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx> #include <simgear/misc/sg_path.hxx>

View file

@ -12,6 +12,8 @@
#include <vector> #include <vector>
#include <plib/ssg.h>
SG_USING_STD(string); SG_USING_STD(string);
SG_USING_STD(vector); SG_USING_STD(vector);

View file

@ -52,7 +52,6 @@ SG_USING_STD(string);
// Number of seconds before a player is consider to be lost // Number of seconds before a player is consider to be lost
#define TIME_TO_LIVE 10 #define TIME_TO_LIVE 10
class ssgEntity; class ssgEntity;
class ssgTransform; class ssgTransform;

View file

@ -13,10 +13,10 @@
#include <vector> #include <vector>
#include <plib/ssg.h>
SG_USING_STD(vector); SG_USING_STD(vector);
class ssgEntity;
class FGHitRec { class FGHitRec {
private: private:

View file

@ -29,14 +29,15 @@
# error This library requires C++ # error This library requires C++
#endif #endif
#include <plib/sg.h> #include <plib/sg.h>
#include <plib/ssg.h>
#include <simgear/structure/subsystem_mgr.hxx> #include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/math/point3d.hxx> #include <simgear/math/point3d.hxx>
class ssgRoot;
class ssgBranch;
// Define a structure containing global scenery parameters // Define a structure containing global scenery parameters
class FGScenery : public SGSubsystem { class FGScenery : public SGSubsystem {
// center of current scenery chunk // center of current scenery chunk

View file

@ -38,8 +38,6 @@
#include <vector> #include <vector>
#include STL_STRING #include STL_STRING
#include <plib/ssg.h> // plib includes
#include <simgear/bucket/newbucket.hxx> #include <simgear/bucket/newbucket.hxx>
#include <simgear/math/point3d.hxx> #include <simgear/math/point3d.hxx>
#include <simgear/misc/sg_path.hxx> #include <simgear/misc/sg_path.hxx>
@ -56,6 +54,13 @@ typedef vector < Point3D > point_list;
typedef point_list::iterator point_list_iterator; typedef point_list::iterator point_list_iterator;
typedef point_list::const_iterator const_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; class FGTileEntry;