Changeset 7297 for code/branches/doc/src/modules
- Timestamp:
- Aug 31, 2010, 8:37:29 PM (14 years ago)
- Location:
- code/branches/doc/src/modules
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/modules/notifications/Notification.cc
r7193 r7297 55 55 @brief 56 56 Constructor. Creates a Notification with the input message. 57 @param creator 58 The object that created this Notification 57 59 @param message 58 60 The message of the Notification. -
code/branches/doc/src/modules/notifications/NotificationQueue.cc
r7163 r7297 109 109 Method for creating a NotificationQueue object through XML. 110 110 */ 111 void NotificationQueue::XMLPort(Element& xml Element, XMLPort::Mode mode)112 { 113 SUPER(NotificationQueue, XMLPort, xml Element, mode);111 void NotificationQueue::XMLPort(Element& xmlelement, XMLPort::Mode mode) 112 { 113 SUPER(NotificationQueue, XMLPort, xmlelement, mode); 114 114 115 115 this->setDefaults(); 116 116 117 XMLPortParam(NotificationQueue, "maxSize", setMaxSize, getMaxSize, xml Element, mode);118 XMLPortParam(NotificationQueue, "notificationLength", setNotificationLength, getNotificationLength, xml Element, mode);119 XMLPortParam(NotificationQueue, "displayTime", setDisplayTime, getDisplayTime, xml Element, mode);120 XMLPortParam(NotificationQueue, "targets", setTargets, getTargets, xml Element, mode);121 XMLPortParam(NotificationQueue, "font", setFont, getFont, xml Element, mode);122 XMLPortParam(NotificationQueue, "fontSize", setFontSize, getFontSize, xml Element, mode);123 XMLPortParam(NotificationQueue, "position", setPosition, getPosition, xml Element, mode);117 XMLPortParam(NotificationQueue, "maxSize", setMaxSize, getMaxSize, xmlelement, mode); 118 XMLPortParam(NotificationQueue, "notificationLength", setNotificationLength, getNotificationLength, xmlelement, mode); 119 XMLPortParam(NotificationQueue, "displayTime", setDisplayTime, getDisplayTime, xmlelement, mode); 120 XMLPortParam(NotificationQueue, "targets", setTargets, getTargets, xmlelement, mode); 121 XMLPortParam(NotificationQueue, "font", setFont, getFont, xmlelement, mode); 122 XMLPortParam(NotificationQueue, "fontSize", setFontSize, getFontSize, xmlelement, mode); 123 XMLPortParam(NotificationQueue, "position", setPosition, getPosition, xmlelement, mode); 124 124 125 125 COUT(3) << "NotificationQueue '" << this->getName() << "' created." << std::endl; -
code/branches/doc/src/modules/notifications/NotificationQueue.h
r7164 r7297 93 93 virtual ~NotificationQueue(); 94 94 95 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode); //!< Method for creating a NotificationQueue object through XML.95 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a NotificationQueue object through XML. 96 96 97 97 virtual void tick(float dt); //!< To update from time to time. -
code/branches/doc/src/modules/objects/Planet.cc
r7163 r7297 144 144 } 145 145 146 /**147 @brief XML loading and saving.148 @param xmlelement The XML-element149 @param loading Loading (true) or saving (false)150 @return The XML-element151 */152 146 void Planet::XMLPort(Element& xmlelement, XMLPort::Mode mode) 153 147 { -
code/branches/doc/src/modules/objects/triggers/DistanceMultiTrigger.h
r7163 r7297 65 65 /** 66 66 @brief Set the target name of DistanceTriggerBeacons that triggers this DistanceMultiTrigger. 67 @param targe name The name of the DistanceTriggerBeacon as a string.67 @param targetname The name of the DistanceTriggerBeacon as a string. 68 68 */ 69 69 inline void setTargetName(const std::string& targetname) -
code/branches/doc/src/modules/objects/triggers/MultiTrigger.cc
r7163 r7297 308 308 @brief 309 309 Get whether the MultiTrigger is active for a given object. 310 @param triggerer s310 @param triggerer 311 311 A pointer to the object. 312 312 @return -
code/branches/doc/src/modules/overlays/FadeoutText.h
r5929 r7297 44 44 virtual ~FadeoutText() {} 45 45 46 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 47 47 virtual void tick(float dt); 48 48 -
code/branches/doc/src/modules/overlays/GUIOverlay.cc
r7163 r7297 52 52 } 53 53 54 void GUIOverlay::XMLPort(Element& xml Element, XMLPort::Mode mode)54 void GUIOverlay::XMLPort(Element& xmlelement, XMLPort::Mode mode) 55 55 { 56 SUPER(GUIOverlay, XMLPort, xml Element, mode);56 SUPER(GUIOverlay, XMLPort, xmlelement, mode); 57 57 58 XMLPortParam(GUIOverlay, "guiname", setGUIName, getGUIName, xml Element, mode);58 XMLPortParam(GUIOverlay, "guiname", setGUIName, getGUIName, xmlelement, mode); 59 59 } 60 60 -
code/branches/doc/src/modules/overlays/GUIOverlay.h
r6753 r7297 44 44 virtual ~GUIOverlay(); 45 45 46 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 47 47 48 48 void setGUIName(const std::string& name); -
code/branches/doc/src/modules/overlays/OverlayText.cc
r6417 r7297 71 71 } 72 72 73 void OverlayText::XMLPort(Element& xml Element, XMLPort::Mode mode)73 void OverlayText::XMLPort(Element& xmlelement, XMLPort::Mode mode) 74 74 { 75 SUPER(OverlayText, XMLPort, xml Element, mode);75 SUPER(OverlayText, XMLPort, xmlelement, mode); 76 76 77 XMLPortParam(OverlayText, "font", setFont, getFont, xml Element, mode);78 XMLPortParam(OverlayText, "colour", setColour, getColour, xml Element, mode);79 XMLPortParam(OverlayText, "caption", setCaption, getCaption, xml Element, mode);80 XMLPortParam(OverlayText, "textsize", setTextSize, getTextSize, xml Element, mode);81 XMLPortParam(OverlayText, "align", setAlignmentString, getAlignmentString, xml Element, mode);82 XMLPortParam(OverlayText, "spacewidth", setSpaceWidth, getSpaceWidth, xml Element, mode);77 XMLPortParam(OverlayText, "font", setFont, getFont, xmlelement, mode); 78 XMLPortParam(OverlayText, "colour", setColour, getColour, xmlelement, mode); 79 XMLPortParam(OverlayText, "caption", setCaption, getCaption, xmlelement, mode); 80 XMLPortParam(OverlayText, "textsize", setTextSize, getTextSize, xmlelement, mode); 81 XMLPortParam(OverlayText, "align", setAlignmentString, getAlignmentString, xmlelement, mode); 82 XMLPortParam(OverlayText, "spacewidth", setSpaceWidth, getSpaceWidth, xmlelement, mode); 83 83 } 84 84 -
code/branches/doc/src/modules/overlays/OverlayText.h
r5781 r7297 52 52 virtual ~OverlayText(); 53 53 54 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);54 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 55 55 56 56 void setCaption(const std::string& caption); -
code/branches/doc/src/modules/overlays/hud/HUDBar.cc
r6677 r7297 55 55 } 56 56 57 void BarColour::XMLPort(Element& xml Element, XMLPort::Mode mode)58 { 59 SUPER(BarColour, XMLPort, xml Element, mode);60 61 XMLPortParam(BarColour, "colour", setColour, getColour, xml Element, mode);62 XMLPortParam(BarColour, "position", setPosition, getPosition, xml Element, mode);57 void BarColour::XMLPort(Element& xmlelement, XMLPort::Mode mode) 58 { 59 SUPER(BarColour, XMLPort, xmlelement, mode); 60 61 XMLPortParam(BarColour, "colour", setColour, getColour, xmlelement, mode); 62 XMLPortParam(BarColour, "position", setPosition, getPosition, xmlelement, mode); 63 63 } 64 64 … … 104 104 } 105 105 106 void HUDBar::XMLPort(Element& xml Element, XMLPort::Mode mode)107 { 108 SUPER(HUDBar, XMLPort, xml Element, mode);109 110 XMLPortParam(HUDBar, "initialvalue", setValue, getValue, xml Element, mode);111 XMLPortParam(HUDBar, "righttoleft", setRightToLeft, getRightToLeft, xml Element, mode);112 XMLPortParam(HUDBar, "autocolour", setAutoColour, getAutoColour, xml Element, mode);113 XMLPortParam(HUDBar, "bartexture", setBarTexture, getBarTexture, xml Element, mode);114 XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xml Element, mode);106 void HUDBar::XMLPort(Element& xmlelement, XMLPort::Mode mode) 107 { 108 SUPER(HUDBar, XMLPort, xmlelement, mode); 109 110 XMLPortParam(HUDBar, "initialvalue", setValue, getValue, xmlelement, mode); 111 XMLPortParam(HUDBar, "righttoleft", setRightToLeft, getRightToLeft, xmlelement, mode); 112 XMLPortParam(HUDBar, "autocolour", setAutoColour, getAutoColour, xmlelement, mode); 113 XMLPortParam(HUDBar, "bartexture", setBarTexture, getBarTexture, xmlelement, mode); 114 XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xmlelement, mode); 115 115 } 116 116 -
code/branches/doc/src/modules/overlays/hud/HUDBar.h
r5781 r7297 50 50 virtual ~BarColour() { } 51 51 52 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 53 53 54 54 void setColour(const ColourValue& colour) { this->colour_ = colour; } … … 70 70 virtual ~HUDBar(); 71 71 72 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);72 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 73 73 74 74 void clearColours(); -
code/branches/doc/src/modules/overlays/hud/HUDHealthBar.h
r6417 r7297 45 45 virtual ~HUDHealthBar(); 46 46 47 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);47 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 48 48 virtual void tick(float dt); 49 49 virtual void changedOwner(); -
code/branches/doc/src/modules/overlays/hud/HUDNavigation.cc
r7163 r7297 90 90 } 91 91 92 void HUDNavigation::XMLPort ( Element& xml Element, XMLPort::Mode mode )93 { 94 SUPER ( HUDNavigation, XMLPort, xml Element, mode );95 96 XMLPortParam ( HUDNavigation, "font", setFont, getFont, xml Element, mode );97 XMLPortParam ( HUDNavigation, "textSize", setTextSize, getTextSize, xml Element, mode );98 XMLPortParam ( HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xml Element, mode );92 void HUDNavigation::XMLPort ( Element& xmlelement, XMLPort::Mode mode ) 93 { 94 SUPER ( HUDNavigation, XMLPort, xmlelement, mode ); 95 96 XMLPortParam ( HUDNavigation, "font", setFont, getFont, xmlelement, mode ); 97 XMLPortParam ( HUDNavigation, "textSize", setTextSize, getTextSize, xmlelement, mode ); 98 XMLPortParam ( HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xmlelement, mode ); 99 99 } 100 100 -
code/branches/doc/src/modules/overlays/hud/HUDNavigation.h
r7163 r7297 51 51 void setConfigValues(); 52 52 53 virtual void XMLPort ( Element& xml Element, XMLPort::Mode mode );53 virtual void XMLPort ( Element& xmlelement, XMLPort::Mode mode ); 54 54 virtual void tick ( float dt ); 55 55 -
code/branches/doc/src/modules/overlays/hud/HUDRadar.cc
r7184 r7297 82 82 } 83 83 84 void HUDRadar::XMLPort(Element& xml Element, XMLPort::Mode mode)84 void HUDRadar::XMLPort(Element& xmlelement, XMLPort::Mode mode) 85 85 { 86 SUPER(HUDRadar, XMLPort, xml Element, mode);86 SUPER(HUDRadar, XMLPort, xmlelement, mode); 87 87 88 XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xml Element, mode);89 XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xml Element, mode);90 XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xml Element, mode);88 XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xmlelement, mode); 89 XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xmlelement, mode); 90 XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xmlelement, mode); 91 91 } 92 92 -
code/branches/doc/src/modules/overlays/hud/HUDRadar.h
r7163 r7297 49 49 virtual ~HUDRadar(); 50 50 51 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);51 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 52 52 virtual void changedOwner(); 53 53 -
code/branches/doc/src/modules/overlays/stats/Scoreboard.cc
r6502 r7297 54 54 this->lines_.pop_back(); 55 55 } 56 }57 58 /**59 @brief Initializes the lines.60 */61 void Scoreboard::XMLPort(Element& xmlElement, XMLPort::Mode mode)62 {63 SUPER(Scoreboard, XMLPort, xmlElement, mode);64 56 } 65 57 -
code/branches/doc/src/modules/overlays/stats/Scoreboard.h
r5929 r7297 44 44 virtual ~Scoreboard(); 45 45 46 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);47 46 virtual void tick(float dt); 48 47 -
code/branches/doc/src/modules/overlays/stats/Stats.cc
r6502 r7297 98 98 } 99 99 100 /**101 @brief Initializes the Stats panel.102 */103 void Stats::XMLPort(Element& xmlElement, XMLPort::Mode mode)104 {105 OrxonoxOverlay::XMLPort(xmlElement, mode);106 }107 108 100 void Stats::tick(float dt) 109 101 { -
code/branches/doc/src/modules/overlays/stats/Stats.h
r5781 r7297 46 46 void setConfigValues(); 47 47 48 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);49 50 48 virtual void tick(float dt); 51 49 -
code/branches/doc/src/modules/pickup/DroppedPickup.cc
r7163 r7297 61 61 @param pickup 62 62 The Pickupable that was dropped. 63 @param position64 The position at which the DroppedPickup should be created.63 @param carrier 64 FIXME - add doc! 65 65 @param triggerDistance 66 66 The distance at which the PickupSpawner triggers. Default is 10. -
code/branches/doc/src/modules/pickup/Pickup.cc
r7208 r7297 225 225 This method must be implemented by any class directly inheriting from Pickupable. It is most easily done by just creating a new DroppedPickup, e.g.: 226 226 DroppedPickup(BaseObject* creator, Pickupable* pickup, const Vector3& position); 227 @param position228 The position at which the PickupSpawner should be placed.229 227 @return 230 228 Returns true if a spawner was created, false if not. -
code/branches/doc/src/modules/pickup/PickupCollection.cc
r7163 r7297 228 228 @brief 229 229 Get whether a given class, represented by the input Identifier, is a target of this PickupCollection. 230 @param identifier231 A pointer to the Pickup Identifier of the PickupCarrier we want to know of, whether it is a target of this PickupCollection.230 @param carrier 231 A pointer to the PickupCarrier we want to know of, whether it is a target of this PickupCollection. 232 232 @return 233 233 Returns true if the PickupCarrier identified by the input PickupIdentififer it is a target of this PickupCollection, false if not. … … 336 336 This method must be implemented by any class directly inheriting from Pickupable. It is most easily done by just creating a new DroppedPickup, e.g.: 337 337 DroppedPickup(BaseObject* creator, Pickupable* pickup, const Vector3& position); 338 @param position339 The position at which the PickupSpawner should be placed.340 338 @return 341 339 Returns true if a spawner was created, false if not. -
code/branches/doc/src/modules/pickup/PickupCollectionIdentifier.cc
r7163 r7297 99 99 @brief 100 100 Add a Pickupable to the PickupCollectionIdentifier. 101 @param 101 @param identifier 102 102 A pointer to the PickupIdentifier of the Pickupable to be added. 103 103 */ -
code/branches/doc/src/modules/pickup/PickupSpawner.cc
r7163 r7297 70 70 @param respawnTime 71 71 The minimum time between two spawns. 72 @param ma ySpawnedItems72 @param maxSpawnedItems 73 73 The maximum number of items spawned by this PickupSpawner. 74 74 */ -
code/branches/doc/src/modules/pickup/items/SpeedPickup.cc
r7208 r7297 252 252 @brief 253 253 Sets the SpeedMultiply 254 @param speed Add254 @param speedMultiply 255 255 The multiplied Speed 256 256 */ -
code/branches/doc/src/modules/questsystem/AddQuestHint.cc
r7163 r7297 80 80 @param id 81 81 The QuestHint id. 82 @ param82 @return 83 83 Returns true if successful. 84 84 */ -
code/branches/doc/src/modules/questsystem/Quest.cc
r7163 r7297 197 197 @brief 198 198 Returns the subquest at the given index. 199 @param 199 @param index 200 200 The index. 201 201 @return … … 222 222 @brief 223 223 Returns the QuestHint at the given index. 224 @param 224 @param index 225 225 The index. 226 226 @return … … 246 246 @brief 247 247 Returns the fail QuestEffect at the given index. 248 @param 248 @param index 249 249 The index. 250 250 @return … … 270 270 @brief 271 271 Returns the complete QuestEffect at the given index. 272 @param 272 @param index 273 273 The index. 274 274 @return -
code/branches/doc/src/modules/questsystem/QuestEffectBeacon.cc
r7163 r7297 92 92 Executes the QuestEffectBeacon. 93 93 This means extracting the Pawn from the PlayerTrigger, provided by the Event causing the execution, and the extracting the PlayerInfo from the received Pawn and invoking the QuestEffectbeacon's QuestEffects on the received PlayerInfo. 94 @param b 95 true means the trigger was activated while false means it was deactivated 94 96 @param trigger 95 97 A pointer to the PlayerTrigger that threw the Event. -
code/branches/doc/src/modules/questsystem/QuestNotification.cc
r7163 r7297 48 48 @brief 49 49 Creates a QuestNotification with the input message. 50 @param creator 51 The creator of this object 50 52 @param message 51 53 The message to be sent.
Note: See TracChangeset
for help on using the changeset viewer.