mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-06 01:48:15 -04:00
Started copying JStudio progress from pikmin2
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef JSTUDIO_JMESSAGE_CONTROL_H
|
||||
#define JSTUDIO_JMESSAGE_CONTROL_H
|
||||
|
||||
#include "JSystem/JStudio/JStudio/jstudio-object.h"
|
||||
#include "JSystem/JMessage/control.h"
|
||||
|
||||
namespace JStudio_JMessage {
|
||||
struct TCreateObject_base : JStudio::TCreateObject {
|
||||
virtual ~TCreateObject_base() = 0; // _08
|
||||
virtual bool create(JStudio::TObject** newObject, const JStudio::stb::data::TParse_TBlock_object& data); // _0C
|
||||
virtual JMessage::TControl* find(const JStudio::stb::data::TParse_TBlock_object&) = 0; // _10
|
||||
};
|
||||
} // namespace JStudio_JMessage
|
||||
|
||||
namespace JStudio_JMessage {
|
||||
struct TCreateObject : public TCreateObject_base {
|
||||
TCreateObject(JMessage::TControl* control) { mControl = control; }
|
||||
|
||||
virtual ~TCreateObject(); // _08
|
||||
virtual JMessage::TControl* find(const JStudio::stb::data::TParse_TBlock_object&); // _10
|
||||
|
||||
JMessage::TControl* mControl; // _0C
|
||||
};
|
||||
|
||||
struct TAdaptor_message : public JStudio::TAdaptor_message {
|
||||
virtual ~TAdaptor_message(); // _08
|
||||
virtual void adaptor_do_MESSAGE(JStudio::data::TEOperationData, const void*, u32); // _20
|
||||
|
||||
TAdaptor_message(JMessage::TControl*);
|
||||
JMessage::TControl* mControl; // _10
|
||||
};
|
||||
} // namespace JStudio_JMessage
|
||||
|
||||
#endif /* JSTUDIO_JMESSAGE_CONTROL_H */
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef OBJECT_MESSAGE_H
|
||||
#define OBJECT_MESSAGE_H
|
||||
|
||||
#include "JSystem/JStudio/JStudio_JMessage/control.h"
|
||||
|
||||
#endif /* OBJECT_MESSAGE_H */
|
||||
Reference in New Issue
Block a user