Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 14, 2009, 3:07:59 AM (15 years ago)
Author:
landauf
Message:

sorry, large commit, but all changes are dependent:

  • Created a new plugin for the questsystem (called just "quest" for the moment because I'd had to rename the directory otherwise (the tolua script enforces this))
  • Added QuestPrereqs.h file and _QuestExport macro
  • Moved the GUI-name ↔ PlayerInfo map from QuestManager to GUIManager
  • Moved NotificationOverlay and NotificationQueue from overlays to quest and linked the overlays plugin into the quest plugin
  • Made QuestManager and NotificationManager ScopedSingletons with ScopeID GSLevel. Also removed both singletons from GSLevel and added the Scope instance instead.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/libraries/src/orxonox/objects/quest/QuestManager.cc

    r5617 r5648  
    3636#include "util/Exception.h"
    3737#include "core/CoreIncludes.h"
     38#include "core/GUIManager.h"
    3839
    3940#include "objects/infos/PlayerInfo.h"
     
    6465    QuestManager::~QuestManager()
    6566    {
    66 
    6767    }
    6868
     
    207207    QuestContainer* QuestManager::getQuestTree(std::string & name)
    208208    {
    209         PlayerInfo* player = this->players_[name];
     209        PlayerInfo* player = GUIManager::getInstance().getPlayer(name);
    210210        if(player == NULL)
    211211        {
Note: See TracChangeset for help on using the changeset viewer.