22 #ifndef MTROPOLIS_PLUGIN_OBSIDIAN_H 23 #define MTROPOLIS_PLUGIN_OBSIDIAN_H 25 #include "mtropolis/modifiers.h" 26 #include "mtropolis/modifier_factory.h" 27 #include "mtropolis/runtime.h" 28 #include "mtropolis/plugin/obsidian_data.h" 44 bool respondsToEvent(
const Event &evt)
const override;
49 void disable(
Runtime *runtime)
override;
51 #ifdef MTROPOLIS_DEBUG_ENABLE 52 const char *debugGetTypeName()
const override {
return "Movement Modifier"; }
58 const char *getDefaultName()
const override;
60 void triggerMove(
Runtime *runtime);
73 uint64 _moveStartTime;
84 bool respondsToEvent(
const Event &evt)
const override;
86 void disable(
Runtime *runtime)
override;
94 #ifdef MTROPOLIS_DEBUG_ENABLE 95 const char *debugGetTypeName()
const override {
return "Rect Shift Modifier"; }
101 const char *getDefaultName()
const override;
121 void disable(
Runtime *runtime)
override {}
123 #ifdef MTROPOLIS_DEBUG_ENABLE 124 const char *debugGetTypeName()
const override {
return "TextWork Modifier"; }
125 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
130 const char *getDefaultName()
const override;
152 void disable(
Runtime *runtime)
override {}
154 #ifdef MTROPOLIS_DEBUG_ENABLE 155 const char *debugGetTypeName()
const override {
return "Dictionary Modifier"; }
156 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
160 void resolveStringIndex();
165 const char *getDefaultName()
const override;
171 bool _isIndexResolved;
183 void disable(
Runtime *runtime)
override {}
185 #ifdef MTROPOLIS_DEBUG_ENABLE 186 const char *debugGetTypeName()
const override {
return "WordMixer Modifier"; }
187 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
192 const char *getDefaultName()
const override;
211 bool respondsToEvent(
const Event &evt)
const override;
213 void disable(
Runtime *runtime)
override;
215 #ifdef MTROPOLIS_DEBUG_ENABLE 216 const char *debugGetTypeName()
const override {
return "Xor Mod Modifier"; }
217 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
222 const char *getDefaultName()
const override;
239 void disable(
Runtime *runtime)
override {}
241 #ifdef MTROPOLIS_DEBUG_ENABLE 242 const char *debugGetTypeName()
const override {
return "Xor Check Modifier"; }
243 SupportStatus debugGetSupportStatus()
const override {
return kSupportStatusDone; }
248 const char *getDefaultName()
const override;
Definition: managed_surface.h:51
Definition: runtime.h:816
Definition: obsidian.h:294
Definition: obsidian.h:79
Definition: obsidian.h:230
Definition: runtime.h:2195
Definition: obsidian_data.h:87
Definition: runtime.h:2444
Definition: runtime.h:1575
Definition: obsidian.h:205
Definition: runtime.h:1185
Definition: runtime.h:3035
Definition: miniscript.h:421
Definition: modifier_factory.h:57
Definition: runtime.h:544
Definition: obsidian_data.h:96
Definition: obsidian_data.h:82
Definition: modifier_factory.h:48
Definition: obsidian.h:259
Definition: runtime.h:369
Definition: obsidian.h:174
Definition: runtime.h:1180
Definition: obsidian_data.h:74
Definition: obsidian.h:279
Definition: obsidian_data.h:69
Definition: obsidian.h:112
Definition: obsidian.h:286
Definition: obsidian.h:284
Definition: obsidian_data.h:60
Definition: obsidian_data.h:42
Definition: obsidian.h:143
Definition: obsidian.h:37