mirror of
https://github.com/doldecomp/sms.git
synced 2026-11-10 10:01:42 -10:00
22 lines
567 B
C++
22 lines
567 B
C++
#ifndef SYSTEM_EVENT_WATCHER_HPP
|
|
#define SYSTEM_EVENT_WATCHER_HPP
|
|
|
|
#include <JSystem/JDrama/JDRViewObj.hpp>
|
|
#include <Strategic/spcinterp.hpp>
|
|
|
|
class TEventWatcher : public JDrama::TViewObj {
|
|
public:
|
|
TEventWatcher(const char* name, const char* script);
|
|
TEventWatcher(const char* name = "<EventWatcher>");
|
|
|
|
virtual ~TEventWatcher() { }
|
|
virtual void perform(u32 cue, JDrama::TGraphics* graphics);
|
|
virtual void launchScript(const char*);
|
|
|
|
private:
|
|
/* 0x10 */ TSpcTypedBinary<TEventWatcher>* mBinary;
|
|
/* 0x10 */ TSpcTypedInterp<TEventWatcher>* mInterp;
|
|
};
|
|
|
|
#endif
|