Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 12, 2009, 8:20:07 PM (15 years ago)
Author:
rgrieder
Message:

Merged core5 branch back to the trunk.
Key features include clean level unloading and an extended XML event system.

Two important notes:
Delete your keybindings.ini files! * or you will still get parser errors when loading the key bindings.
Delete build_dir/lib/modules/libgamestates.module! * or orxonox won't start.
Best thing to do is to delete the build folder ;)

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/libraries/core/GUIManager.cc

    r5781 r5929  
    4949#endif
    5050
     51#include "util/Clock.h"
    5152#include "util/Debug.h"
    5253#include "util/Exception.h"
    5354#include "util/OrxAssert.h"
    5455#include "Core.h"
    55 #include "Clock.h"
    5656#include "LuaState.h"
     57#include "PathConfig.h"
    5758#include "Resource.h"
    5859
     
    6263    {
    6364    public:
    64             void logEvent(const CEGUI::String& message, CEGUI::LoggingLevel level = CEGUI::Standard)
     65        void logEvent(const CEGUI::String& message, CEGUI::LoggingLevel level = CEGUI::Standard)
    6566        {
    6667            int orxonoxLevel = CEGUI::Standard;
     
    100101        : renderWindow_(renderWindow)
    101102        , resourceProvider_(0)
     103        , camera_(NULL)
    102104    {
    103105        using namespace CEGUI;
     
    116118        // Create our own logger to specify the filepath
    117119        std::auto_ptr<CEGUILogger> ceguiLogger(new CEGUILogger());
    118         ceguiLogger->setLogFilename(Core::getLogPathString() + "cegui.log");
     120        ceguiLogger->setLogFilename(PathConfig::getLogPathString() + "cegui.log");
    119121        // set the log level according to ours (translate by subtracting 1)
    120122        ceguiLogger->setLoggingLevel(
     
    173175    void GUIManager::setCamera(Ogre::Camera* camera)
    174176    {
     177        this->camera_ = camera;
    175178        if (camera == NULL)
    176179            this->guiRenderer_->setTargetSceneManager(0);
Note: See TracChangeset for help on using the changeset viewer.