Changeset 7164 for code/trunk/src/modules
- Timestamp:
- Aug 14, 2010, 11:56:56 PM (14 years ago)
- Location:
- code/trunk/src/modules
- Files:
-
- 2 added
- 8 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/CMakeLists.txt
r7163 r7164 27 27 ################ Sub Directories ################ 28 28 29 ADD_SUBDIRECTORY(designtools) 30 ADD_SUBDIRECTORY(notifications) 29 31 ADD_SUBDIRECTORY(objects) 30 32 ADD_SUBDIRECTORY(overlays) … … 33 35 ADD_SUBDIRECTORY(questsystem) 34 36 ADD_SUBDIRECTORY(weapons) 35 ADD_SUBDIRECTORY(designtools) -
code/trunk/src/modules/notifications/CMakeLists.txt
r5781 r7164 1 ADD_SOURCE_FILES(QUESTSYSTEM_SRC_FILES1 SET_SOURCE_FILES(NOTIFICATIONS_SRC_FILES 2 2 Notification.cc 3 3 NotificationManager.cc … … 5 5 NotificationQueue.cc 6 6 ) 7 8 ORXONOX_ADD_LIBRARY(notifications 9 MODULE 10 FIND_HEADER_FILES 11 TOLUA_FILES 12 PCH_FILE 13 NotificationsPrecompiledHeaders.h 14 LINK_LIBRARIES 15 orxonox 16 overlays 17 SOURCE_FILES ${NOTIFICATIONS_SRC_FILES} 18 ) -
code/trunk/src/modules/notifications/Notification.h
r7163 r7164 35 35 #define _Notification_H__ 36 36 37 #include " questsystem/QuestsystemPrereqs.h"37 #include "notifications/NotificationsPrereqs.h" 38 38 39 39 #include <string> … … 49 49 Damian 'Mozork' Frick 50 50 */ 51 class _ QuestsystemExport Notification : public BaseObject51 class _NotificationsExport Notification : public BaseObject 52 52 { 53 53 public: -
code/trunk/src/modules/notifications/NotificationManager.h
r7163 r7164 35 35 #define _NotificationManager_H__ 36 36 37 #include " questsystem/QuestsystemPrereqs.h"37 #include "notifications/NotificationsPrereqs.h" 38 38 39 39 #include <ctime> … … 53 53 Damian 'Mozork' Frick 54 54 */ 55 class _ QuestsystemExport NotificationManager : public Singleton<NotificationManager>, public OrxonoxClass55 class _NotificationsExport NotificationManager : public Singleton<NotificationManager>, public OrxonoxClass 56 56 { 57 57 friend class Singleton<NotificationManager>; -
code/trunk/src/modules/notifications/NotificationOverlay.h
r7163 r7164 36 36 #define _NotificationOverlay_H__ 37 37 38 #include " questsystem/QuestsystemPrereqs.h"38 #include "notifications/NotificationsPrereqs.h" 39 39 40 40 #include <string> … … 46 46 /** 47 47 @brief 48 The NotificationOverlay is used to display single Notifications, then bundled in a NotificationQ Ueue.48 The NotificationOverlay is used to display single Notifications, then bundled in a NotificationQueue. 49 49 @author 50 50 Damian 'Mozork' Frick 51 51 */ 52 class _ QuestsystemExport NotificationOverlay : public OverlayText52 class _NotificationsExport NotificationOverlay : public OverlayText 53 53 { 54 54 -
code/trunk/src/modules/notifications/NotificationQueue.h
r7163 r7164 35 35 #define _NotificationOueue_H__ 36 36 37 #include " questsystem/QuestsystemPrereqs.h"37 #include "notifications/NotificationsPrereqs.h" 38 38 39 39 #include <ctime> … … 74 74 <NotificationQueue 75 75 name = "SuperQueue" //Name of your OverlayQueue. 76 maxSize = "5" //The maximum size of Notifications displayed.77 notificationLength = "64" //The maximum number of characters of a Notification, that are displayed. (Default is 5)76 maxSize = "5" //The maximum number of Notifications displayed. (Default is 5) 77 notificationLength = "64" //The maximum number of characters of a Notification, that are displayed. (Default is 64) 78 78 displayTime = "30" //The time a Notification is displayed in seconds. (Default is 30) 79 79 targets = "target1, target2" //The senders this NotificationQueue displays Notifications from. (all, if all Notifications should be displayed.) 80 80 font = "VeraMono" //The font (Default is VeraMono) 81 81 fontSize = '0.4' //The font size. (Default is 0.025) 82 position = "0.0, .0.0" //The position of the NotificationQueue. (Default is 0.0,0.0)82 position = "0.0, 0.0" //The position of the NotificationQueue. (Default is 0.0,0.0) 83 83 /> 84 84 @author … … 86 86 */ 87 87 88 class _ QuestsystemExport NotificationQueue : public OverlayGroup, public Tickable, public NotificationListener88 class _NotificationsExport NotificationQueue : public OverlayGroup, public Tickable, public NotificationListener 89 89 { 90 90 … … 162 162 private: 163 163 static const int DEFAULT_SIZE = 5; //!< The default maximum number of Notifications displayed. 164 static const int DEFAULT_LENGTH = 64; //!< The default maximum number of Notifications displayed.164 static const int DEFAULT_LENGTH = 64; //!< The default maximum number of characters displayed. 165 165 static const int DEFAULT_DISPLAY_TIME = 30; //!< The default display time. 166 166 static const float DEFAULT_FONT_SIZE; //!< The default font size. -
code/trunk/src/modules/questsystem/CMakeLists.txt
r7163 r7164 19 19 ) 20 20 21 ADD_SUBDIRECTORY(notifications)22 23 21 ORXONOX_ADD_LIBRARY(questsystem 24 22 MODULE … … 33 31 LINK_LIBRARIES 34 32 orxonox 33 notifications 35 34 objects 36 overlays37 35 SOURCE_FILES ${QUESTSYSTEM_SRC_FILES} 38 36 ) -
code/trunk/src/modules/questsystem/QuestsystemPrereqs.h
r7163 r7164 82 82 class QuestManager; 83 83 class QuestNotification; 84 85 // notifications86 class Notification;87 class NotificationManager;88 class NotificationOverlay;89 class NotificationQueue;90 84 } 91 85
Note: See TracChangeset
for help on using the changeset viewer.