Add choice and choice-set event parsing

This commit is contained in:
2023-04-25 20:33:13 -07:00
parent 556b731c0e
commit ce2ac8ba1c
11 changed files with 336 additions and 17 deletions

View File

@ -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> {