22 #ifndef MTROPOLIS_PLUGIN_STANDARD_H 23 #define MTROPOLIS_PLUGIN_STANDARD_H 25 #include "mtropolis/modifiers.h" 26 #include "mtropolis/modifier_factory.h" 27 #include "mtropolis/runtime.h" 28 #include "mtropolis/plugin/standard_data.h" 44 bool respondsToEvent(
const Event &evt)
const override;
46 void disable(
Runtime *runtime)
override;
48 #ifdef MTROPOLIS_DEBUG_ENABLE 49 const char *debugGetTypeName()
const override {
return "Cursor Modifier"; }
50 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
55 const char *getDefaultName()
const override;
67 static const int32 kMaxDuration = 600000;
73 bool respondsToEvent(
const Event &evt)
const override;
75 void disable(
Runtime *runtime)
override;
80 #ifdef MTROPOLIS_DEBUG_ENABLE 81 const char *debugGetTypeName()
const override {
return "STransCt Scene Transition Modifier"; }
82 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
87 const char *getDefaultName()
const override;
95 int32 _transitionType;
96 int32 _transitionDirection;
109 bool respondsToEvent(
const Event &evt)
const override;
111 void disable(
Runtime *runtime)
override;
113 Modifier *getMediaCueModifier()
override;
116 #ifdef MTROPOLIS_DEBUG_ENABLE 117 const char *debugGetTypeName()
const override {
return "Media Cue Modifier"; }
118 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
124 kCueSourceIntegerRange,
125 kCueSourceVariableReference,
129 kCueSourceInvalid = -1,
132 union CueSourceUnion {
143 template<
class T, T (CueSourceUnion::*TMember)>
144 void construct(
const T &value);
146 template<
class T, T(CueSourceUnion::*TMember)>
152 void destructCueSource();
155 const char *getDefaultName()
const override;
160 CueSourceType _cueSourceType;
161 CueSourceUnion _cueSource;
184 #ifdef MTROPOLIS_DEBUG_ENABLE 185 const char *debugGetTypeName()
const override {
return "Object Reference Variable Modifier"; }
186 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
191 struct ObjectWriteInterface {
198 const char *getDefaultName()
const override;
205 void resolve(
Runtime *runtime);
207 void resolveAbsolutePath(
Runtime *runtime);
212 Event _setToSourceParentWhen;
231 void commitLoad()
const override;
260 void commitLoad()
const override;
272 DynamicValueTypes::DynamicValueType _preferredContentType;
284 bool isListVariable()
const override;
291 #ifdef MTROPOLIS_DEBUG_ENABLE 292 const char *debugGetTypeName()
const override {
return "List Variable Modifier"; }
293 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
301 const char *getDefaultName()
const override;
310 void disable(
Runtime *runtime)
override {}
312 #ifdef MTROPOLIS_DEBUG_ENABLE 313 const char *debugGetTypeName()
const override {
return "System Info Modifier"; }
318 const char *getDefaultName()
const override;
328 bool allowGarbledListModData;
338 bool respondsToEvent(
const Event &evt)
const override;
341 void disable(
Runtime *runtime)
override;
343 #ifdef MTROPOLIS_DEBUG_ENABLE 344 const char *debugGetTypeName()
const override {
return "Panning Modifier"; }
350 const char *getDefaultName()
const override;
360 void disable(
Runtime *runtime)
override;
362 #ifdef MTROPOLIS_DEBUG_ENABLE 363 const char *debugGetTypeName()
const override {
return "Fade Modifier"; }
368 const char *getDefaultName()
const override;
376 bool respondsToEvent(
const Event &evt)
const override;
378 void disable(
Runtime *runtime)
override;
384 #ifdef MTROPOLIS_DEBUG_ENABLE 385 const char *debugGetTypeName()
const override {
return "Print Modifier"; }
391 const char *getDefaultName()
const override;
404 bool respondsToEvent(
const Event &evt)
const override;
407 void disable(
Runtime *runtime)
override;
409 #ifdef MTROPOLIS_DEBUG_ENABLE 410 const char *debugGetTypeName()
const override {
return "Navigate Modifier"; }
416 const char *getDefaultName()
const override;
426 bool respondsToEvent(
const Event &evt)
const override;
429 void disable(
Runtime *runtime)
override;
431 #ifdef MTROPOLIS_DEBUG_ENABLE 432 const char *debugGetTypeName()
const override {
return "Open Title Modifier"; }
438 const char *getDefaultName()
const override;
442 bool _addToReturnList;
Definition: runtime.h:816
Definition: runtime.h:418
Definition: standard.h:275
Definition: standard.h:215
Definition: runtime.h:330
Definition: standard_data.h:172
Definition: standard.h:419
Definition: runtime.h:1575
Definition: standard_data.h:46
Definition: standard.h:304
Definition: runtime.h:2052
Definition: standard_data.h:167
Definition: runtime.h:1185
Definition: runtime.h:3035
Definition: miniscript.h:421
Definition: modifier_factory.h:57
Definition: runtime.h:544
Definition: modifier_factory.h:48
Definition: standard.h:244
Definition: runtime.h:369
Definition: runtime.h:351
Definition: runtime.h:1307
Definition: runtime.h:2118
Definition: standard.h:353
Definition: runtime.h:1180
Definition: standard_data.h:90
Definition: standard_data.h:128
Definition: runtime.h:3124
Definition: standard_data.h:133
Definition: standard_data.h:99
Definition: standard.h:445
Definition: standard.h:321
Definition: runtime.h:744
Definition: standard.h:38
Definition: standard.h:397
Definition: standard_data.h:144
Definition: standard.h:65
Definition: runtime.h:3011
Definition: standard.h:331
Definition: standard.h:371
Definition: standard_data.h:33
Definition: standard.h:172
Definition: runtime.h:3116
Definition: standard_data.h:155