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/Velocity.h
Normal file
32
music/pokeredmusicdisasm/Velocity.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef VELOCITY_H
|
||||
#define VELOCITY_H
|
||||
|
||||
#include "AbstractData.h"
|
||||
|
||||
class Velocity : public AbstractData
|
||||
{
|
||||
public:
|
||||
// Constructors
|
||||
Velocity();
|
||||
Velocity(unsigned char* byte); // Parse Immidiately
|
||||
Velocity(unsigned char velocity, unsigned char length, bool); // Set value
|
||||
|
||||
// Direct Getters/Setters
|
||||
unsigned char GetVelocity();
|
||||
void SetVelocity(unsigned char value);
|
||||
|
||||
unsigned char GetLength();
|
||||
void SetLength(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 velocity;
|
||||
unsigned char length;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue