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.
Location:
code/branches/libraries/src/orxonox/objects/quest/notifications
Files:
3 edited
4 copied

Legend:

Unmodified
Added
Removed
  • code/branches/libraries/src/orxonox/objects/quest/notifications/CMakeLists.txt

    r5635 r5648  
    1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES
     1ADD_SOURCE_FILES(QUEST_SRC_FILES
    22  Notification.cc
    33  NotificationManager.cc
     4  NotificationOverlay.cc
     5  NotificationQueue.cc
    46)
  • code/branches/libraries/src/orxonox/objects/quest/notifications/Notification.h

    r5619 r5648  
    3535#define _Notification_H__
    3636
    37 #include "OrxonoxPrereqs.h"
     37#include "objects/quest/QuestPrereqs.h"
    3838
    3939#include <string>
     
    4949        Damian 'Mozork' Frick
    5050    */
    51     class _OrxonoxExport Notification : public BaseObject
     51    class _QuestExport Notification : public BaseObject
    5252    {
    5353        public:
  • code/branches/libraries/src/orxonox/objects/quest/notifications/NotificationManager.h

    r5619 r5648  
    3535#define _NotificationManager_H__
    3636
    37 #include "OrxonoxPrereqs.h"
     37#include "objects/quest/QuestPrereqs.h"
    3838
    3939#include <ctime>
     
    4141#include <string>
    4242
    43 #include "util/Singleton.h"
     43#include "util/ScopedSingleton.h"
    4444#include "core/OrxonoxClass.h"
    4545
     
    5454        Damian 'Mozork' Frick
    5555    */
    56     class _OrxonoxExport NotificationManager : public Singleton<NotificationManager>, public OrxonoxClass
     56    class _QuestExport NotificationManager : public ScopedSingleton<NotificationManager, ScopeID::GSLevel>, public OrxonoxClass
    5757    {
    58             friend class Singleton<NotificationManager>;
     58            friend class ScopedSingleton<NotificationManager, ScopeID::GSLevel>;
    5959        public:
    6060            NotificationManager();
  • code/branches/libraries/src/orxonox/objects/quest/notifications/NotificationOverlay.h

    r5646 r5648  
    3636#define _NotificationOverlay_H__
    3737
    38 #include "overlays/OverlaysPrereqs.h"
     38#include "objects/quest/QuestPrereqs.h"
    3939
    4040#include <string>
     
    5050        Damian 'Mozork' Frick
    5151    */
    52     class _OverlaysExport NotificationOverlay : public OverlayText
     52    class _QuestExport NotificationOverlay : public OverlayText
    5353    {
    5454
  • code/branches/libraries/src/orxonox/objects/quest/notifications/NotificationQueue.h

    r5646 r5648  
    3535#define _NotificationOueue_H__
    3636
    37 #include "overlays/OverlaysPrereqs.h"
     37#include "objects/quest/QuestPrereqs.h"
    3838
    3939#include <ctime>
     
    8585    */
    8686
    87     class _OverlaysExport NotificationQueue : public OverlayGroup, public Tickable, public NotificationListener
     87    class _QuestExport NotificationQueue : public OverlayGroup, public Tickable, public NotificationListener
    8888    {
    8989
Note: See TracChangeset for help on using the changeset viewer.