yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
object_tile_editor.cc File Reference
#include "zelda3/dungeon/object_tile_editor.h"
#include <algorithm>
#include <array>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <limits>
#include <unordered_map>
#include <unordered_set>
#include "absl/strings/str_format.h"
#include "app/gfx/types/snes_tile.h"
#include "core/features.h"
#include "rom/transaction.h"
#include "util/log.h"
#include "zelda3/dungeon/custom_object.h"
#include "zelda3/dungeon/geometry/object_geometry.h"
#include "zelda3/dungeon/object_drawer.h"
#include "zelda3/dungeon/room_object.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 
namespace  yaze::zelda3::anonymous_namespace{object_tile_editor.cc}
 

Functions

gfx::SnesPalette yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::BuildPaddedPaletteBank (const gfx::SnesPalette &source)
 
gfx::SnesPalette yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::BuildCombinedPaletteBanks (const gfx::PaletteGroup &palette)
 
int yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::ResolvePaletteIndex (const gfx::PaletteGroup &palette, int requested)
 
bool yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::RangesOverlap (int64_t lhs_start, int64_t lhs_end, int64_t rhs_start, int64_t rhs_end)
 
bool yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::WordRangesOverlap (int64_t lhs_address, int64_t rhs_address)
 
absl::StatusOr< size_t > yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::ResolveFixed2x2SourceWordIndex (const ObjectTileLayout::Cell &cell)
 

Variables

constexpr int yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::kPaletteBankSize = 16
 
constexpr std::array< int16_t, 2 > yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::kEditableStandardObjectIds = {0x11F, 0x120}
 
constexpr size_t yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::kFixed2x2SourceWordCount = 4
 
constexpr int64_t yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::kObjectMetadataStart = kRoomObjectSubtype1
 
constexpr int64_t yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::kObjectMetadataEnd = kRoomObjectSubtype3 + 0x200