Add choice and choice-set event parsing
This commit is contained in:
@ -11,6 +11,8 @@
|
||||
#include "VNParallelEventParser.hpp"
|
||||
#include "VNMarkerParser.hpp"
|
||||
#include "VNGoToMarkerEventParser.hpp"
|
||||
#include "VNChoiceEventParser.hpp"
|
||||
#include "VNChoiceSetEventParser.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
struct VNSceneEvent;
|
||||
@ -26,7 +28,9 @@ namespace Dawn {
|
||||
VN_SCENE_EVENT_TYPE_WAIT,
|
||||
VN_SCENE_EVENT_TYPE_PARALLEL,
|
||||
VN_SCENE_EVENT_TYPE_MARKER,
|
||||
VN_SCENE_EVENT_TYPE_GOTO_MARKER
|
||||
VN_SCENE_EVENT_TYPE_GOTO_MARKER,
|
||||
VN_SCENE_EVENT_TYPE_CHOICES,
|
||||
VN_SCENE_EVENT_TYPE_CHOICE_SET
|
||||
};
|
||||
|
||||
struct VNParallelEvent {
|
||||
@ -43,6 +47,8 @@ namespace Dawn {
|
||||
struct VNParallelEvent parallel;
|
||||
struct VNMarker marker;
|
||||
struct VNGoToMarkerEvent gotoMarker;
|
||||
struct VNChoiceEvent choices;
|
||||
struct VNChoiceSetEvent choiceSet;
|
||||
};
|
||||
|
||||
class VNSceneEventsParser : public XmlParser<struct VNSceneEventList> {
|
||||
|
Reference in New Issue
Block a user