Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 2:58:40 AM (16 years ago)
Author:
landauf
Message:

Merged r1-2096 of questsystem5 back to trunk

I hope there weren't more "hidden merge changes" in r2909 than the one in OverlayGroup (removeElement) (and related to this the adjustments in NotificationQueue).

The corresponding media commit seems not yet to be done, but it doesn't break the build.

Location:
code/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/gamestates/GSLevel.cc

    r2910 r2911  
    5151#include "PlayerManager.h"
    5252#include "gui/GUIManager.h"
     53#include "objects/quest/QuestManager.h"
     54#include "overlays/notifications/NotificationManager.h"
    5355
    5456namespace orxonox
     
    110112
    111113        this->playerManager_ = new PlayerManager();
     114
     115        this->questManager_ = new QuestManager();
     116
     117        this->notificationManager_ = new NotificationManager();
    112118
    113119        if (GameMode::isMaster())
     
    203209            delete this->playerManager_;
    204210            this->playerManager_ = 0;
     211        }
     212
     213        if (this->questManager_)
     214        {
     215            delete this->questManager_;
     216            this->questManager_ = NULL;
     217        }
     218
     219        if (this->notificationManager_)
     220        {
     221            delete this->notificationManager_;
     222            this->notificationManager_ = NULL;
    205223        }
    206224
  • code/trunk/src/orxonox/gamestates/GSLevel.h

    r2910 r2911  
    6767        LevelManager*         levelManager_;            //!< global level manager
    6868        PlayerManager*        playerManager_;           //!< player manager for this level
     69        QuestManager*          questManager_;
     70        NotificationManager*  notificationManager_;
    6971
    7072        //##### ConfigValues #####
Note: See TracChangeset for help on using the changeset viewer.