aboutsummaryrefslogtreecommitdiffstats
path: root/music/pokeredmusicdisasm/Volume.h
diff options
context:
space:
mode:
authorKuroiIeWa5Da <tyuki@adu.me>2012-01-23 01:41:05 -0600
committerKuroiIeWa5Da <tyuki@adu.me>2012-01-23 01:41:05 -0600
commit4d0797bc3a6ae0ea4b44e8b6463339d662f5d669 (patch)
tree03b824a1bb511bbb8c57ea378c1d27ea04c27ef7 /music/pokeredmusicdisasm/Volume.h
parentFinished PkmnHealed music data - all 3 channels (diff)
downloadpokeyellow-4d0797bc3a6ae0ea4b44e8b6463339d662f5d669.tar.gz
pokeyellow-4d0797bc3a6ae0ea4b44e8b6463339d662f5d669.tar.xz
pokeyellow-4d0797bc3a6ae0ea4b44e8b6463339d662f5d669.zip
made changes in repo
hg-commit-id: 1145e088ee27
Diffstat (limited to 'music/pokeredmusicdisasm/Volume.h')
-rw-r--r--music/pokeredmusicdisasm/Volume.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/music/pokeredmusicdisasm/Volume.h b/music/pokeredmusicdisasm/Volume.h
new file mode 100644
index 00000000..e716e910
--- /dev/null
+++ b/music/pokeredmusicdisasm/Volume.h
@@ -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 \ No newline at end of file