diff options
| author | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2020-05-20 15:02:10 -0400 |
|---|---|---|
| committer | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2020-05-20 15:02:10 -0400 |
| commit | b6cd0f3217ea67e48cd7eb5367888f8a69521a99 (patch) | |
| tree | c55f3600c907e1a996dcc472930e27b476f68747 /ZAP2/ZTexture.cpp | |
| parent | 904692d0c48ebf33a7bc5971d78d762278f59055 (diff) | |
Cleaned up some code, fixed a matching issue.
Diffstat (limited to 'ZAP2/ZTexture.cpp')
| -rw-r--r-- | ZAP2/ZTexture.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/ZAP2/ZTexture.cpp b/ZAP2/ZTexture.cpp index e77a5c9..6a5282b 100644 --- a/ZAP2/ZTexture.cpp +++ b/ZAP2/ZTexture.cpp @@ -290,9 +290,6 @@ void ZTexture::PrepareBitmapPalette4() bmpRgb[(((y * width) + x) * 3) + 0] = paletteIndex * 16; bmpRgb[(((y * width) + x) * 3) + 1] = paletteIndex * 16; bmpRgb[(((y * width) + x) * 3) + 2] = paletteIndex * 16; - - //Color c = Color.FromArgb(255, paletteIndex * 16, paletteIndex * 16, paletteIndex * 16); - //bmpRgb.SetPixel(x + i, y, c); } } } @@ -309,9 +306,6 @@ void ZTexture::PrepareBitmapPalette8() bmpRgb[(((y * width) + x) * 3) + 0] = rawData[pos]; bmpRgb[(((y * width) + x) * 3) + 1] = rawData[pos]; bmpRgb[(((y * width) + x) * 3) + 2] = rawData[pos]; - - //Color c = Color.FromArgb(255, rawData[pos], rawData[pos], rawData[pos]); - //bmpRgb.SetPixel(x, y, c); } } } @@ -713,9 +707,4 @@ TextureType ZTexture::GetTextureTypeFromString(string str) texType = TextureType::Palette8bpp; return texType; -} - -//SourceType ZTexture::GetSourceType() -//{ -// return SourceType::ASM; -//}
\ No newline at end of file +}
\ No newline at end of file |
