Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2788 for code/branches


Ignore:
Timestamp:
Mar 15, 2009, 4:17:20 PM (16 years ago)
Author:
dafrick
Message:

Some more changes…

Location:
code/branches/questsystem5/src/orxonox
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5/src/orxonox/gamestates/GSLevel.cc

    r2786 r2788  
    180180            delete this->playerManager_;
    181181            this->playerManager_ = 0;
     182        }
     183
     184        if (this->questManager_)
     185        {
     186            delete this->questManager_;
     187            this->questManager_ = NULL;
     188        }
     189
     190        if (this->notificationManager_)
     191        {
     192            delete this->notificationManager_;
     193            this->notificationManager_ = NULL;
    182194        }
    183195
  • code/branches/questsystem5/src/orxonox/objects/quest/QuestManager.cc

    r2786 r2788  
    5252        Is inheriting from BaseObject proper?
    5353    */
    54     QuestManager::QuestManager() : BaseObject(this)
     54    QuestManager::QuestManager()
    5555    {
    5656        RegisterRootObject(QuestManager);
  • code/branches/questsystem5/src/orxonox/objects/quest/QuestManager.h

    r2786 r2788  
    4040#include <string>
    4141
    42 #include "core/BaseObject.h"
     42#include "core/OrxonoxClass.h"
    4343
    4444namespace orxonox
     
    5151        Damian 'Mozork' Frick
    5252    */
    53     class _OrxonoxExport QuestManager : public BaseObject
     53    class _OrxonoxExport QuestManager : public OrxonoxClass
    5454    {
    5555        public:
  • code/branches/questsystem5/src/orxonox/overlays/notifications/NotificationManager.cc

    r2786 r2788  
    5454        Constructor. Registers the Object.
    5555    */
    56     NotificationManager::NotificationManager() : BaseObject(this)
     56    NotificationManager::NotificationManager()
    5757    {
    5858        RegisterRootObject(NotificationManager);
  • code/branches/questsystem5/src/orxonox/overlays/notifications/NotificationManager.h

    r2786 r2788  
    3737#include "OrxonoxPrereqs.h"
    3838
    39 #include "core/BaseObject.h"
     39#include "core/OrxonoxClass.h"
    4040
    4141#include <map>
     
    5555        Damian 'Mozork' Frick
    5656    */
    57     class _OrxonoxExport NotificationManager : public BaseObject
     57    class _OrxonoxExport NotificationManager : public OrxonoxClass
    5858    {
    5959        public:
Note: See TracChangeset for help on using the changeset viewer.