Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 19, 2009, 12:27:59 PM (15 years ago)
Author:
rgrieder
Message:

Fixed build and a few issues and removed a warning.

Location:
code/branches/resource2/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/src/core/Game.cc

    r5658 r5662  
    274274            {
    275275                // Add tick time for most of the states
    276                 uint64_t timeBeforeTick;
     276                uint64_t timeBeforeTick = 0;
    277277                if ((*it)->getInfo().bIgnoreTickTime)
    278278                    timeBeforeTick = this->gameClock_->getRealMicroseconds();
  • code/branches/resource2/src/core/GraphicsManager.cc

    r5660 r5662  
    8686    */
    8787    GraphicsManager::GraphicsManager(bool bLoadRenderer)
    88         : renderWindow_(0)
     88        : ogreWindowEventListener_(new OgreWindowEventListener())
     89        , renderWindow_(0)
    8990        , viewport_(0)
    90         , ogreWindowEventListener_(new OgreWindowEventListener())
    9191    {
    9292        RegisterObject(GraphicsManager);
  • code/branches/resource2/src/orxonox/tools/ResourceCollection.cc

    r5652 r5662  
    3131#include "util/Exception.h"
    3232#include "core/CoreIncludes.h"
     33#include "core/Resource.h"
    3334#include "core/XMLPort.h"
    3435#include "ResourceLocation.h"
     
    4445
    4546        // Default group is "General"
    46         this->setResourceGroup(Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME);
     47        this->setResourceGroup(Resource::DEFAULT_GROUP);
    4748    }
    4849
Note: See TracChangeset for help on using the changeset viewer.