Refactor hex string handling: replace UppercaseHex functions with Hex equivalents
This commit is contained in:
@@ -378,11 +378,11 @@ void OverworldMap::LoadMainBlocksets() {
|
||||
// during the BuildBitmap step (or a new one specifically for animating).
|
||||
void OverworldMap::DrawAnimatedTiles() {
|
||||
std::cout << "static_graphics_[6] = "
|
||||
<< core::UppercaseHexByte(static_graphics_[6]) << std::endl;
|
||||
<< core::HexByte(static_graphics_[6]) << std::endl;
|
||||
std::cout << "static_graphics_[7] = "
|
||||
<< core::UppercaseHexByte(static_graphics_[7]) << std::endl;
|
||||
<< core::HexByte(static_graphics_[7]) << std::endl;
|
||||
std::cout << "static_graphics_[8] = "
|
||||
<< core::UppercaseHexByte(static_graphics_[8]) << std::endl;
|
||||
<< core::HexByte(static_graphics_[8]) << std::endl;
|
||||
if (static_graphics_[7] == 0x5B) {
|
||||
static_graphics_[7] = 0x5A;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user