mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +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
33
music/pokeredmusicdisasm/Jump.h
Normal file
33
music/pokeredmusicdisasm/Jump.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#ifndef JUMP_H
|
||||
#define JUMP_H
|
||||
|
||||
#include "AbstractData.h"
|
||||
|
||||
// Represents 1 Jump Class
|
||||
class Jump : public AbstractData
|
||||
{
|
||||
public:
|
||||
// Constructors
|
||||
Jump(); // Default
|
||||
Jump(unsigned char* byte); // Parse Immidiately
|
||||
Jump(unsigned short value, unsigned char loop, bool); // Set value
|
||||
|
||||
// Direct Getter/Setter Functions
|
||||
unsigned short GetAddress();
|
||||
void SetAddress(unsigned short value);
|
||||
|
||||
unsigned char GetLoop();
|
||||
void SetLoop(unsigned char 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;
|
||||
unsigned char loop;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue