pokered/music/pokeredmusicdisasm/Call.h
KuroiIeWa5Da 4d0797bc3a made changes in repo
hg-commit-id: 1145e088ee27
2012-01-23 01:41:05 -06:00

34 lines
No EOL
751 B
C++

#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