Revision: 1378
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1378&view=rev
Author:   rorthomas
Date:     2010-05-06 00:16:42 +0000 (Thu, 06 May 2010)

Log Message:
-----------
improved RoRPrerequisites.h
made function public

Modified Paths:
--------------
    trunk/source/main/RigsOfRods.h
    trunk/source/main/RoRFrameListener.h
    trunk/source/main/RoRPrerequisites.h

Modified: trunk/source/main/RigsOfRods.h
===================================================================
--- trunk/source/main/RigsOfRods.h      2010-05-05 23:47:48 UTC (rev 1377)
+++ trunk/source/main/RigsOfRods.h      2010-05-06 00:16:42 UTC (rev 1378)
@@ -69,6 +69,8 @@
        RenderWindow *getRenderWindow() { return mWindow; };
        Camera *getCamera() { return mCamera; };
        Viewport *getViewport() { return vp; };
+       Root *getRoot() { return mRoot; };
+       RoRFrameListener *getRoRFrameListener() { return mFrameListener; };
 
 protected:
        Root *mRoot;

Modified: trunk/source/main/RoRFrameListener.h
===================================================================
--- trunk/source/main/RoRFrameListener.h        2010-05-05 23:47:48 UTC (rev 
1377)
+++ trunk/source/main/RoRFrameListener.h        2010-05-06 00:16:42 UTC (rev 
1378)
@@ -518,6 +518,7 @@
        void shutdown_pre();
        void shutdown_final();
 
+       void loadTerrain(Ogre::String terrainfile);
 
        Water *w;
 protected:
@@ -629,7 +630,6 @@
        MPlatform_Base *mplatform;
 #endif
 
-       void loadTerrain(Ogre::String terrainfile);
        static bool fileExists(const char* filename);
        void processConsoleInput();
 

Modified: trunk/source/main/RoRPrerequisites.h
===================================================================
--- trunk/source/main/RoRPrerequisites.h        2010-05-05 23:47:48 UTC (rev 
1377)
+++ trunk/source/main/RoRPrerequisites.h        2010-05-06 00:16:42 UTC (rev 
1378)
@@ -48,6 +48,8 @@
 class Rail;
 class RailGroup;
 class Replay;
+class RigsOfRods;
+class RoRFrameListener;
 class Screwprop;
 class Skidmark;
 class Skin;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to