mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
made changes in repo
hg-commit-id: 1145e088ee27
This commit is contained in:
parent
21caa525cc
commit
4d0797bc3a
30 changed files with 1748 additions and 0 deletions
34
music/pokeredmusicdisasm/Call.h
Normal file
34
music/pokeredmusicdisasm/Call.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue