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
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/data/CMakeLists.txt

    r5645 r5662  
    4040
    4141IF(NOT EXTERNAL_DATA_DIRECTORY)
    42   MESSAGE(STATUS "Warning: External data directory not found. If you want to compile while downloading the data files, you will have to recompile about four files afterwards and relink everything. \\n You can specify your own folder with the DATA_DIRECTORY variable. Default location for the path is orxonox_root/data_extern")
     42  MESSAGE(STATUS "Warning: External data directory not found. If you want to compile while downloading the data files, you will have to recompile about four files afterwards and relink everything.")
     43  MESSAGE(STATUS "You can specify your own folder with the EXTERNAL_DATA_DIRECTORY variable. Default location for the path is orxonox_root/data_extern")
    4344  # Temporary override to the default location.
    4445  SET(EXTERNAL_DATA_DIRECTORY ${CMAKE_SOURCE_DIR}/data_extern)
  • 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.