diff options
author | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2013-10-31 14:35:51 -0400 |
---|---|---|
committer | U-Fish-PC\Daniel <corrnondacqb@yahoo.com> | 2013-10-31 14:35:51 -0400 |
commit | 1a34c1a43f03fa7408b9853537cdda7615b8b577 (patch) | |
tree | 69b90bc5d7ec0b0214bb4d1fbd709e5f3e608184 /music/pokeredmusicdisasm/UnkCode.cpp | |
parent | e73d3d24aa7519b384c2ea0dcaf5d0ce034705ec (diff) | |
parent | 7ecf8b1714264ff7891480a1da9beb978356b666 (diff) |
Merge branch 'master' of https://github.com/iimarckus/pokered
Conflicts:
main.asm
Diffstat (limited to 'music/pokeredmusicdisasm/UnkCode.cpp')
-rw-r--r-- | music/pokeredmusicdisasm/UnkCode.cpp | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/music/pokeredmusicdisasm/UnkCode.cpp b/music/pokeredmusicdisasm/UnkCode.cpp deleted file mode 100644 index da3cd02f..00000000 --- a/music/pokeredmusicdisasm/UnkCode.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include <sstream>
-#include "UnkCode.h"
-
-using namespace std;
-
-UnkCode::UnkCode()
-{
- code = 0;
-}
-
-UnkCode::UnkCode(unsigned char* byte)
-{
- code = 0;
- Parse(byte);
-}
-
-UnkCode::UnkCode(unsigned char code, bool)
-{
- SetCode(code);
-}
-
-// Getters / Setters
-unsigned char UnkCode::GetCode()
-{
- return code;
-}
-
-void UnkCode::SetCode(unsigned char value)
-{
- code = value;
-}
-
-// Re-implemented
-string UnkCode::GenAsm()
-{
- stringstream tmpAsmOut;
- tmpAsmOut << "db $" << hex << (short)code;
- return tmpAsmOut.str();
-}
-
-bool UnkCode::Parse(unsigned char* byte)
-{
- code = byte[0];
- return true;
-}
-
-bool UnkCode::IsValid(unsigned char* byte)
-{
- return true;
-}
-
-unsigned int UnkCode::Arguments()
-{
- return 0;
-}
\ No newline at end of file |