summaryrefslogtreecommitdiff
path: root/music/pokeredmusicdisasm/Call.h
blob: d6fd9c97e7379e9902bdd989fd97509d5d207dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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