housekeeping
This commit is contained in:
@@ -335,15 +335,15 @@ TileInfo WordToTileInfo(uint16_t word) {
|
||||
uint16_t TileInfoToShort(TileInfo tile_info) {
|
||||
// uint16_t result = 0;
|
||||
|
||||
// // Copy the id_ value
|
||||
// Copy the id_ value
|
||||
// result |= tile_info.id_ & 0x3FF; // ids are 10 bits
|
||||
|
||||
// // Set the vertical_mirror_, horizontal_mirror_, and over_ flags
|
||||
// Set the vertical_mirror_, horizontal_mirror_, and over_ flags
|
||||
// result |= (tile_info.vertical_mirror_ ? 1 : 0) << 10;
|
||||
// result |= (tile_info.horizontal_mirror_ ? 1 : 0) << 11;
|
||||
// result |= (tile_info.over_ ? 1 : 0) << 12;
|
||||
|
||||
// // Set the palette_
|
||||
// Set the palette_
|
||||
// result |= (tile_info.palette_ & 0x07) << 13; // palettes are 3 bits
|
||||
|
||||
uint16_t value = 0;
|
||||
|
||||
Reference in New Issue
Block a user