Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/modules/questsystem/CMakeLists.txt @ 7097

Last change on this file since 7097 was 6800, checked in by dafrick, 15 years ago

Created a new class of triggers called Multitriggers.
MultiTriggers are triggers which (as opposed to normal triggers) have a state for each object triggering the MultiTrigger, that means, that a MultiTrigger can be triggered for two different Players, while not being triggered for a third.
To go with this MultiTrigger I created a data structure (MultitriggerContainer), which helps relaying important information to the objects, that receive the Events of the trigger.
Also there is a MultiDistanceTrigger, which is just the DistanceTrigger as a MultiTrigger.

To make this work I had to make some adjustements to the eventsystem, namely an EventState can now be either an EventState (as it was before) or an EventSink, which means that every efent arriving at the EventState is processed as opposed to just the ones which change the state.
There is a new makro (XMLPortEventSink) to create an EventState with sink behaviour. It can be used exacly as the XMLPortEventState makro.

  • Property svn:eol-style set to native
File size: 691 bytes
RevLine 
[5722]1SET_SOURCE_FILES(QUESTSYSTEM_SRC_FILES
[2131]2  AddQuest.cc
3  AddQuestHint.cc
4  AddReward.cc
5  ChangeQuestStatus.cc
6  CompleteQuest.cc
7  FailQuest.cc
8  GlobalQuest.cc
9  LocalQuest.cc
10  Quest.cc
11  QuestDescription.cc
12  QuestEffect.cc
[2261]13  QuestEffectBeacon.cc
[5745]14  QuestGUINode.cc
15  QuestGUI.cc
[2131]16  QuestHint.cc
17  QuestItem.cc
[2662]18  QuestListener.cc
[2131]19  QuestManager.cc
[2911]20  QuestNotification.cc
[2131]21)
[5693]22
23ADD_SUBDIRECTORY(notifications)
24
[5722]25ORXONOX_ADD_LIBRARY(questsystem
[5693]26  MODULE
[5749]27  FIND_HEADER_FILES
[5693]28  TOLUA_FILES
29    QuestManager.h
30  DEFINE_SYMBOL
[5722]31    "QUESTSYSTEM_SHARED_BUILD"
[5749]32  PCH_FILE
33    QuestsystemPrecompiledHeaders.h
[5693]34  LINK_LIBRARIES
35    orxonox
[6800]36    objects
[5693]37    overlays
[5722]38  SOURCE_FILES ${QUESTSYSTEM_SRC_FILES}
[5693]39)
Note: See TracBrowser for help on using the repository browser.