Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 6880 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
Line 
1SET_SOURCE_FILES(QUESTSYSTEM_SRC_FILES
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
13  QuestEffectBeacon.cc
14  QuestGUINode.cc
15  QuestGUI.cc
16  QuestHint.cc
17  QuestItem.cc
18  QuestListener.cc
19  QuestManager.cc
20  QuestNotification.cc
21)
22
23ADD_SUBDIRECTORY(notifications)
24
25ORXONOX_ADD_LIBRARY(questsystem
26  MODULE
27  FIND_HEADER_FILES
28  TOLUA_FILES
29    QuestManager.h
30  DEFINE_SYMBOL
31    "QUESTSYSTEM_SHARED_BUILD"
32  PCH_FILE
33    QuestsystemPrecompiledHeaders.h
34  LINK_LIBRARIES
35    orxonox
36    objects
37    overlays
38  SOURCE_FILES ${QUESTSYSTEM_SRC_FILES}
39)
Note: See TracBrowser for help on using the repository browser.