mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 15:08:23 +00:00
4d0797bc3a
hg-commit-id: 1145e088ee27
34 lines
No EOL
751 B
C++
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
|