Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 24, 2009, 3:03:44 PM (15 years ago)
Author:
rgrieder
Message:

Merged most of revision 5614 and its fixes from revisions 5628, 5658, 5662 and 5670:

  • Creating Ogre::Root in non graphics mode as well. This allows to always make use of the ResourceGroupManager.
  • Switched to smart pointers for the destruction code in GraphicsManager
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource3/src/core/Core.h

    r3370 r5677  
    6666        typedef Loki::ScopeGuardImpl0<void (*)()> SimpleScopeGuard;
    6767        friend class Singleton<Core>;
     68        friend class Game;
    6869
    6970        public:
     
    8283            bool preUpdate(const Clock& time) throw();
    8384            bool postUpdate(const Clock& time) throw();
    84 
    85             void loadGraphics();
    86             void unloadGraphics();
    8785
    8886            static int   getSoftDebugLevel(OutputHandler::OutputDevice device = OutputHandler::LD_All);
     
    113111        private:
    114112            Core(const Core&); //!< Don't use (undefined symbol)
     113
     114            void loadGraphics();
     115            void unloadGraphics();
    115116
    116117            void checkDevBuild();
Note: See TracChangeset for help on using the changeset viewer.