Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8823 for code


Ignore:
Timestamp:
Aug 4, 2011, 12:51:24 PM (13 years ago)
Author:
dafrick
Message:

Forgot to change some debug stuff. ;)

Location:
code/branches/ai2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/data/levels/missionOne.oxw

    r8821 r8823  
    105105    </SimpleNotification>
    106106
    107     <SimpleNotification message="Right click on the next target." meh="true">
     107    <SimpleNotification message="Right click on the next target." broadcast="true">
    108108        <events>
    109109            <trigger>
     
    116116<!-- BRIEFING END-->
    117117<!-- TODO: does NOT work. Intended effect: pawn death causes message to appear (and probably the next box) -->
    118   <SimpleNotification message="Right click on the next target." meh="true">
     118  <SimpleNotification message="Right click on the next target." broadcast="true">
    119119        <events>
    120120            <trigger>
  • code/branches/ai2/src/modules/notifications/NotificationDispatcher.cc

    r8821 r8823  
    8484
    8585        XMLPortParam(NotificationDispatcher, "sender", setSender, getSender, xmlelement, mode);
    86         XMLPortParam(NotificationDispatcher, "meh", setBroadcasting, isBroadcasting, xmlelement, mode);
     86        XMLPortParam(NotificationDispatcher, "broadcast", setBroadcasting, isBroadcasting, xmlelement, mode);
    8787
    8888        XMLPortEventSink(NotificationDispatcher, BaseObject, "trigger", trigger, xmlelement, mode);
     
    111111    void NotificationDispatcher::broadcast(void)
    112112    {
    113         COUT(0) << "meh" << endl;
    114113        // TODO: Needed?
    115114        const std::string message = this->createNotificationMessage();
  • code/branches/ai2/src/modules/notifications/NotificationDispatcher.h

    r8821 r8823  
    5050        A NotificationDispatcher is an entity that, upon being triggered, dispatches (or sends) a specified @ref orxonox::Notification "Notification".
    5151
    52         There ate two parameter to be set:
     52        There are two parameter to be set:
    5353        - The @b sender . The sender specifies the part of Orxonox the sent @ref orxonox::Notification "Notification" comes from. The default value is set by the classes implementing NotificationDispatcher.
    5454        - The @b broadcast . Specifies whether messages are broadcast (i.e. sent to all clients) or just sent to a specific player.
Note: See TracChangeset for help on using the changeset viewer.