mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15: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
32
music/pokeredmusicdisasm/Tempo.h
Normal file
32
music/pokeredmusicdisasm/Tempo.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef TEMPO_H
|
||||
#define TEMPO_H
|
||||
|
||||
#include "AbstractData.h"
|
||||
|
||||
class Tempo : public AbstractData
|
||||
{
|
||||
public:
|
||||
// Constructors
|
||||
Tempo();
|
||||
Tempo(unsigned char* byte); // Parse Immidiately
|
||||
Tempo(unsigned char divider, unsigned char modifier, bool); // Set value
|
||||
|
||||
// Direct Getters and Setters
|
||||
unsigned char GetDivider();
|
||||
void SetDivider(unsigned char value);
|
||||
|
||||
unsigned char Getmodifier();
|
||||
void SetModifier(unsigned char value);
|
||||
|
||||
// Overides
|
||||
virtual std::string GenAsm();
|
||||
virtual bool IsValid(unsigned char* byte);
|
||||
virtual bool Parse(unsigned char* byte);
|
||||
virtual unsigned int Arguments();
|
||||
|
||||
private:
|
||||
unsigned char divider;
|
||||
unsigned char modifier;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue