Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2010, 2:42:47 PM (14 years ago)
Author:
dafrick
Message:

Adding new level notifications.oxw, to "showcase", or at this stage rather "test" Notifications.
Restoring tutorial.oxw to its old state, before it was hijacked by me for testing.

Extending Script class. Now also normal orxonox code can be executed with it, the execution of code can be triggered with Triggers (obviously) and cod can also executed on load.
I needed this to load the NotificationLayer in levels where it is needed.
Also inserted a Script that loads the NotificationQueue to display Notifications in all levels it was needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/notifications/NotificationDispatcher.h

    r7403 r7404  
    5555            virtual ~NotificationDispatcher(); //!< Destructor.
    5656
    57             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a NotificationDispatcher object through XML.
    58             virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode);
     57            virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); //!< Method for creating a NotificationDispatcher object through XML.
     58            virtual void XMLEventPort(Element& xmlElement, XMLPort::Mode mode);
    5959
    6060            /**
Note: See TracChangeset for help on using the changeset viewer.