diff options
Diffstat (limited to 'music/pokeredmusicdisasm/Call.h')
-rw-r--r-- | music/pokeredmusicdisasm/Call.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/music/pokeredmusicdisasm/Call.h b/music/pokeredmusicdisasm/Call.h new file mode 100644 index 00000000..d6fd9c97 --- /dev/null +++ b/music/pokeredmusicdisasm/Call.h @@ -0,0 +1,34 @@ +#ifndef CALL_H
+#define CALL_H
+
+#include "AbstractData.h"
+
+// Represents 1 call
+class Call : public AbstractData
+{
+public:
+ // Constructors
+ Call(); // Default
+ Call(unsigned char* byte); // Parse Immidiately
+ Call(unsigned short value, bool); // Set value
+
+ // Direct Getter/Setter Functions
+ unsigned short GetAddress();
+ void SetAddress(unsigned short value);
+
+ // The standard re-implementations from AbstractData
+ virtual std::string GenAsm();
+ virtual bool IsValid(unsigned char* byte);
+ virtual bool Parse(unsigned char* byte);
+ virtual unsigned int Arguments();
+
+private:
+ unsigned short address;
+};
+
+#endif
+
+// Rqandom Notes
+//ED Speed of song
+//EC Instrument
+//DC Volume
\ No newline at end of file |