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
28
music/pokeredmusicdisasm/Volume.h
Normal file
28
music/pokeredmusicdisasm/Volume.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef VOLUME_H
|
||||
#define VOLUME_H
|
||||
|
||||
#include "AbstractData.h"
|
||||
|
||||
class Volume : public AbstractData
|
||||
{
|
||||
public:
|
||||
// Constructors
|
||||
Volume();
|
||||
Volume(unsigned char* byte); // Parse Immidiately
|
||||
Volume(unsigned char volume, bool); // Set value
|
||||
|
||||
// Direct Getters / Setters
|
||||
unsigned char GetVolume();
|
||||
void SetVolume(unsigned char value);
|
||||
|
||||
// Re-implementations
|
||||
virtual std::string GenAsm();
|
||||
virtual bool IsValid(unsigned char* byte);
|
||||
virtual bool Parse(unsigned char* byte);
|
||||
virtual unsigned int Arguments();
|
||||
|
||||
private:
|
||||
unsigned char volume;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue