Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2007, 11:05:27 PM (17 years ago)
Author:
nicolape
Message:

Fixed bug for assf texture, added loading overlay (its now working, used some code from the ogre forums, no error but my overlay doesnt pop up… anyone an idea (code is in levelloader.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/loader/LevelLoader.cc

    r513 r521  
    3131#include <algorithm>
    3232#include <iterator>
     33
     34#include <OgreOverlayManager.h>
    3335
    3436#include "LevelLoader.h"
     
    152154        void LevelLoader::showLoadingScreen()
    153155        {
     156               
     157                Ogre::OverlayManager& omgr = Ogre::OverlayManager::getSingleton();
     158    Ogre::Overlay* mLoadOverlay = (Ogre::Overlay*)omgr.getByName("Orxonox/LoadingScreenSample");
     159    mLoadOverlay->show();
     160               
    154161                std::cout << "\n\n\nThis is Orxonox\nthe hottest 3D action shooter ever to exist\n\n\n";
    155162                std::cout << "Level: " << name() << "\nDescription:" << description() << "\nImage:"<<image()<<"\n\n\n";
Note: See TracChangeset for help on using the changeset viewer.