Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2010, 9:32:58 PM (14 years ago)
Author:
rgrieder
Message:

Removed excess white space at the end of lines.

Location:
code/branches/presentation3/src/modules/questsystem
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/modules/questsystem/Quest.h

    r7072 r7127  
    105105            virtual bool fail(PlayerInfo* player); //!< Fails the Quest.
    106106            virtual bool complete(PlayerInfo* player); //!< Completes the Quest.
    107            
     107
    108108            bool addListener(QuestListener* listener); //!< Adds a QuestListener to the list of QuestListeners listening to this Quest.
    109109
  • code/branches/presentation3/src/modules/questsystem/QuestEffectBeacon.cc

    r6945 r7127  
    112112        MultiTriggerContainer* mTrigger = orxonox_cast<MultiTriggerContainer*>(trigger);
    113113        Pawn* pawn = NULL;
    114        
     114
    115115        //! If the trigger is neither a Playertrigger nor a MultiTrigger (i.e. a MultitriggerContainer) we can do anything with it.
    116116        if(pTrigger == NULL && mTrigger == NULL)
    117117            return false;
    118        
    119         // If the trigger is a PlayerTrigger.       
     118
     119        // If the trigger is a PlayerTrigger.
    120120        if(pTrigger != NULL)
    121121        {
     
    125125                pawn = pTrigger->getTriggeringPlayer();
    126126        }
    127        
     127
    128128        // If the trigger is a MultiTrigger (i.e. a MultiTriggerContainer)
    129129        if(mTrigger != NULL)
  • code/branches/presentation3/src/modules/questsystem/QuestItem.cc

    r6945 r7127  
    4242
    4343    CreateUnloadableFactory(QuestItem);
    44    
     44
    4545    /**
    4646    @brief
     
    5050    {
    5151        this->registered_ = false;
    52        
     52
    5353        RegisterObject(QuestItem);
    5454    }
  • code/branches/presentation3/src/modules/questsystem/QuestManager.cc

    r7072 r7127  
    7474    QuestManager::~QuestManager()
    7575    {
    76        
     76
    7777    }
    7878
     
    250250        return numQuests;
    251251    }
    252    
     252
    253253    Quest* QuestManager::getParentQuest(PlayerInfo* player, int index)
    254254    {
     
    272272        return numQuests;
    273273    }
    274    
     274
    275275    Quest* QuestManager::getSubQuest(Quest* quest, PlayerInfo* player, int index)
    276276    {
     
    295295        return numHints;
    296296    }
    297    
     297
    298298    QuestHint* QuestManager::getHints(Quest* quest, PlayerInfo* player, int index)
    299299    {
  • code/branches/presentation3/src/modules/questsystem/QuestNotification.cc

    r6945 r7127  
    3535
    3636    CreateUnloadableFactory(QuestNotification);
    37    
     37
    3838    /**
    3939    @brief
  • code/branches/presentation3/src/modules/questsystem/notifications/Notification.cc

    r6945 r7127  
    4141
    4242    CreateUnloadableFactory(Notification);
    43    
     43
    4444    /**
    4545    @brief
     
    6969    Notification::~Notification()
    7070    {
    71        
     71
    7272    }
    7373
  • code/branches/presentation3/src/modules/questsystem/notifications/NotificationManager.cc

    r6945 r7127  
    6666    NotificationManager::~NotificationManager()
    6767    {
    68        
     68
    6969    }
    7070
     
    227227        int identifier = this->listenerList_.find(listener)->second;
    228228        std::multimap<std::time_t, Notification*>* map = this->notificationLists_.find(identifier)->second;
    229        
     229
    230230        // Make sure all Notifications are removed.
    231231        std::multimap<std::time_t, Notification*>::iterator it = map->begin();
  • code/branches/presentation3/src/modules/questsystem/notifications/NotificationQueue.cc

    r6945 r7127  
    5757    {
    5858        this->registered_ = false;
    59        
     59
    6060        RegisterObject(NotificationQueue);
    6161        this->initialize();
     
    431431        // Unregister the NotificationQueue with the NotificationManager.
    432432        NotificationManager::getInstance().unregisterNotification(container->notification, this);
    433        
     433
    434434        this->removeElement(container->overlay);
    435435        this->containers_.erase(container);
Note: See TracChangeset for help on using the changeset viewer.