overworld housekeeping
This commit is contained in:
@@ -1107,7 +1107,7 @@ absl::Status OverworldEditor::LoadGraphics() {
|
||||
absl::Status OverworldEditor::LoadSpriteGraphics() {
|
||||
// Render the sprites for each Overworld map
|
||||
for (int i = 0; i < 3; i++)
|
||||
for (auto const &sprite : overworld_.Sprites(i)) {
|
||||
for (auto const &sprite : overworld_.sprites(i)) {
|
||||
int width = sprite.Width();
|
||||
int height = sprite.Height();
|
||||
int depth = 0x40;
|
||||
|
||||
@@ -1073,7 +1073,6 @@ absl::Status Overworld::SaveMap32Tiles() {
|
||||
core::Logger::log("Saving Map32 Tiles");
|
||||
constexpr int kMaxUniqueTiles = 0x4540;
|
||||
constexpr int kTilesPer32x32Tile = 6;
|
||||
constexpr int kQuadrantsPer32x32Tile = 4;
|
||||
|
||||
int unique_tile_index = 0;
|
||||
int num_unique_tiles = tiles32_unique_.size();
|
||||
|
||||
Reference in New Issue
Block a user