Zelda 3 specific classes and functions. More...
Classes | |
| struct | AreaAllocation |
| struct | AreaExtent |
| struct | AreaRenderProperties |
| Per-area render settings the game reads with the area id ($8A). More... | |
| struct | AreaTableInfo |
| One table the game or yaze indexes with an overworld area ID. More... | |
| struct | CameraBounds |
| struct | ChestDirtyRoomState |
| struct | ChestSavePlan |
| struct | ChestWriteRun |
| struct | ClampedCamera |
| struct | ColorComparison |
| struct | CustomCollisionMap |
| struct | CustomCollisionRoomEntry |
| struct | CustomCollisionTileEntry |
| struct | CustomObject |
| Represents a decoded custom object (from binary format) More... | |
| struct | CustomObjectAsset |
| class | CustomObjectManager |
| Manages loading and caching of custom object binary files. More... | |
| class | CustomObjectRenderSnapshot |
| struct | CustomObjectSlotBinding |
| struct | CutsceneActor |
| struct | CutsceneLink |
| struct | CutsceneShot |
| struct | CutsceneShotSet |
| class | DiggableTiles |
| Manages diggable tile state as a 512-bit bitfield. More... | |
| class | DiggableTilesPatch |
| Generates ASM patches for table-based diggable tile lookup. More... | |
| struct | DiggableTilesPatchConfig |
| Configuration for diggable tiles ASM patch generation. More... | |
| class | DimensionService |
| Unified dimension lookup for dungeon room objects. More... | |
| struct | DoorDimensions |
| Door dimensions in tiles (8x8 pixel tiles) More... | |
| struct | DoorFootprint |
| Visible editor footprint relative to the raw ROM door anchor. More... | |
| class | DoorPositionManager |
| Manages door position snapping and coordinate conversion. More... | |
| struct | DrawContext |
| Context passed to draw routines containing all necessary state. More... | |
| struct | DrawRoutineInfo |
| Metadata about a draw routine. More... | |
| class | DrawRoutineRegistry |
| Unified draw routine registry. More... | |
| struct | DrawRoutineSymbology |
| Compact, human-readable identity for an object's draw routine. More... | |
| class | DungeonEditorSystem |
| Core dungeon editing system. More... | |
| struct | DungeonEntranceTarget |
| struct | DungeonLimitInfo |
| struct | DungeonMap |
| DungeonMap represents the map menu for a dungeon. More... | |
| struct | DungeonMapWrite |
| struct | DungeonMapWritePlan |
| struct | DungeonObjectDataRegion |
| class | DungeonObjectEditor |
| Interactive dungeon object editor with scroll wheel support. More... | |
| struct | DungeonObjectInfo |
| class | DungeonObjectRegistry |
| Minimal registry for dungeon objects (vanilla or custom). More... | |
| class | DungeonSpawnPoint |
| class | DungeonState |
| Interface for accessing dungeon game state. More... | |
| struct | DungeonStreamAliasGroup |
| struct | DungeonStreamInventory |
| struct | DungeonStreamIssue |
| struct | DungeonStreamLayout |
| struct | DungeonStreamOverlap |
| struct | DungeonStreamPcRange |
| struct | DungeonStreamRecord |
| struct | DungeonStreamReplacement |
| struct | DungeonStreamWrite |
| struct | DungeonStreamWritePlan |
| struct | DungeonTilePatterns |
| class | DungeonValidator |
| class | EditorDungeonState |
| Editor implementation of DungeonState. More... | |
| struct | EntranceLayout |
| struct | EntranceLoaderSite |
| struct | GameData |
| class | GameEntity |
| Base class for all overworld and dungeon entities. More... | |
| struct | GeneratorOptions |
| struct | GeometryBounds |
| Bounding box result for a draw routine execution. More... | |
| struct | GfxGroupDiff |
Which gfx group tables in data differ from the bytes in rom. More... | |
| struct | GfxGroupUsage |
| Where one spriteset or roomset is used. More... | |
| struct | GfxSheetExtent |
| Where one sheet's bytes live and how many bytes they occupy. More... | |
| struct | GfxSheetInventory |
| struct | GfxSheetInventoryEntry |
| struct | GfxSheetInventoryOptions |
| struct | GfxSheetPcRange |
| Half-open PC range [begin, end). More... | |
| struct | GfxSheetPointerTables |
| PC offsets of the bank, high and low byte pointer tables. More... | |
| struct | GfxSheetUsage |
| struct | GfxSheetWritePolicy |
| Rules a sheet write must follow. More... | |
| struct | GfxSheetWriteResult |
| struct | GraphicsContextIdentity |
| class | GraphicsSheetStore |
| struct | GraphicsSheetStoreHolder |
| class | Inventory |
| Inventory manages the inventory screen graphics and layout. More... | |
| struct | ItemIcon |
| Represents a single item icon (2x2 tiles = 4 tile words) More... | |
| struct | LayerMergeType |
| struct | LightableTorchBytes |
| struct | LightableTorchEntry |
| struct | LoadOptions |
| struct | MainGroupUsageReport |
| struct | MapRect |
| struct | MapStreamScan |
| class | MenuTilemapDocument |
| struct | MouseConfig |
| Mouse interaction configuration. More... | |
| class | ObjectDimensionTable |
| ROM-based object dimension lookup table. More... | |
| struct | ObjectDrawCode |
| Where the loaded ROM's code draws one room object. More... | |
| class | ObjectDrawer |
| Draws dungeon objects to background buffers using game patterns. More... | |
| struct | ObjectDrawInfo |
| Draw routine information for object rendering. More... | |
| class | ObjectGeometry |
| Side-car geometry engine that replays draw routines against an off-screen buffer to calculate real extents. More... | |
| struct | ObjectLayerSemantics |
| class | ObjectParser |
| Direct ROM parser for dungeon objects. More... | |
| struct | ObjectPlacementCheck |
| struct | ObjectPriority |
| Object metadata for tracking layer assignment. More... | |
| struct | ObjectRoutineInfo |
| Object routine information. More... | |
| struct | ObjectSizeInfo |
| Object size and orientation information. More... | |
| struct | ObjectStorageMutationResult |
| struct | ObjectSubtypeInfo |
| Object subtype information. More... | |
| struct | ObjectTemplate |
| class | ObjectTemplateManager |
| class | ObjectTileEditor |
| Captures and edits the tile8 composition of dungeon objects. More... | |
| struct | ObjectTileLayout |
| Editable tile8 layout captured from an object's draw trace. More... | |
| struct | ObjectTileReadRange |
| One half-open PC range consumed while parsing an object's tile data. More... | |
| struct | ObjectTileRuntimeConsumerImpactEntry |
| struct | ObjectTileSourceImpact |
| Fail-closed impact inventory within ObjectParser's source model plus explicitly modeled runtime consumers. More... | |
| struct | ObjectTileSourceImpactEntry |
| One standard object whose parser-visible tile sources overlap an editable layout's authorized source spans. More... | |
| struct | ObjectTileSourceProvenance |
| ROM descriptor and source snapshot authorizing an editable capture. More... | |
| struct | ObjectTileSourceRef |
| A cell's exact word within an authorized source span. More... | |
| struct | ObjectTileSourceSpan |
| One contiguous ROM-backed source span for an object's tile words. More... | |
| class | ObjectTileWritePlan |
| Fully resolved standard-object ROM writes. More... | |
| struct | ObjectTranslucency |
| Per-object translucency settings. More... | |
| struct | OracleRomSafetyIssue |
| struct | OracleRomSafetyPreflightOptions |
| struct | OracleRomSafetyPreflightResult |
| class | Overworld |
| struct | OverworldAllocationOptions |
| struct | OverworldAllocationReport |
| struct | OverworldAreaGfxInfo |
| class | OverworldEntrance |
| struct | OverworldEntranceTileTypes |
| class | OverworldExit |
| Represents an overworld exit that transitions from dungeon to overworld. More... | |
| class | OverworldItem |
| struct | OverworldMainSlotProvenance |
| class | OverworldMap |
| Represents a single Overworld map screen. More... | |
| class | OverworldMapScreen |
| OverworldMapScreen manages the overworld map (pause menu) graphics. More... | |
| struct | OverworldMapTiles |
| Overworld map tile32 data. More... | |
| struct | OverworldRomProfile |
| struct | OverworldSpriteLayout |
| struct | OverworldSpriteListEditPlan |
| struct | OverworldSpriteWrite |
| class | OverworldUpgradeSystem |
| Service responsible for applying the ZSCustomOverworld ASM patch and updating ROM version markers for A Link to the Past. More... | |
| class | OverworldVersionHelper |
| Helper for ROM version detection and feature gating. More... | |
| struct | PaletteColorAddress |
| struct | PaletteDebugEvent |
| class | PaletteDebugger |
| struct | PaletteGroupMetadata |
| class | PitDamageTable |
| struct | PotItem |
| struct | PushableBlockBytes |
| struct | PushableBlockEntry |
| struct | ResolvedAlternateContext |
| struct | ResolvedGraphicsContext |
| struct | ResolvedGraphicsSlot |
| struct | ResolvedPaletteSource |
| class | ResourceLabelProvider |
| Unified interface for accessing resource labels with project overrides. More... | |
| class | Room |
| struct | RoomBackgroundSet |
| struct | RoomCensus |
| struct | RoomCensusCluster |
| struct | RoomCensusEntranceFact |
| struct | RoomCensusEntry |
| struct | RoomCensusInput |
| struct | RoomCensusOptions |
| struct | RoomCensusOwner |
| struct | RoomCensusOwnerGroup |
| struct | RoomCensusRoomFacts |
| struct | RoomCollisionInput |
| struct | RoomCollisionMaps |
| struct | RoomDefaultEntrance |
| class | RoomEntrance |
| Dungeon Room Entrance or Spawn Point. More... | |
| struct | RoomGfxInfo |
| class | RoomLayerManager |
| RoomLayerManager - Manages layer visibility and compositing. More... | |
| struct | RoomLayerRegisters |
| class | RoomLayout |
| struct | RoomLink |
| struct | RoomLinkFacts |
| class | RoomLinkFactsCache |
| struct | RoomMainBlocksetResolution |
| class | RoomObject |
| struct | RoomReference |
| struct | RoomsetUsageReport |
| struct | RoomSheetImport |
| struct | RoomSheetPaletteContext |
| struct | RoomSize |
| struct | RoomTilemapCheck |
| struct | RoomTilemaps |
| struct | ScrollWheelConfig |
| Scroll wheel behavior configuration. More... | |
| struct | SelectionRect |
| Simple rectangle for selection bounds. More... | |
| struct | SheetImportResult |
| struct | SheetLoadResult |
| struct | SpecialEntranceInspection |
| struct | SpecialEntranceMatch |
| struct | SpecialEntranceRow |
| class | Sprite |
| A class for managing sprites in the overworld and underworld. More... | |
| class | SpriteAction |
| class | SpriteBuilder |
| class | SpriteCatalog |
| struct | SpriteCatalogFamily |
| struct | SpriteCatalogResolution |
| struct | SpriteCatalogVariant |
| class | SpriteInstruction |
| struct | SpriteOamEntry |
| Single OAM entry for sprite rendering. More... | |
| struct | SpriteOamLayout |
| Complete OAM layout for a vanilla sprite. More... | |
| class | SpriteOamRegistry |
| Registry of all known sprite OAM layouts. More... | |
| class | SpritePreviewResourceCache |
| struct | SpriteSourceBinding |
| struct | SpriteSourceDocument |
| struct | SpriteTileIssue |
| struct | StaircaseSlotResolution |
| struct | TailCheckAnnotator |
| struct | TailCheckFinding |
| struct | TailCheckOperand |
| struct | TailCheckRegion |
| struct | TailMapExpansionCheck |
| struct | TailMapExpansionPlan |
| struct | TailStreamCheck |
| struct | TemplateObject |
| struct | Tile16StampMutation |
| struct | Tile16StampRequest |
| struct | Tile8UsageHit |
| struct | TileDifference |
| struct | TileOwners |
| class | TitleScreen |
| TitleScreen manages the title screen graphics and tilemap data. More... | |
| struct | TrackCollisionResult |
| struct | UnderworldRoomLoadState |
| struct | ValidationResult |
| struct | WaterFillZoneEntry |
| struct | WaterFillZoneMap |
| struct | WorldAllocationSummary |
| struct | Zelda3Labels |
| Centralized default labels for all Zelda 3 resources. More... | |
Typedefs | |
| using | DrawRoutineFn = std::function<void(const DrawContext& ctx)> |
| Function signature for a draw routine. | |
| using | DungeonSpawnPointWriteRange = std::pair<uint32_t, uint32_t> |
| using | EntranceTable = std::pair<uint32_t, uint32_t> |
| using | json = nlohmann::json |
| using | DungeonEntranceWriteRange = std::pair<uint32_t, uint32_t> |
| using | RoomLinkFactsLookup = std::function<const RoomLinkFacts*(int room_id)> |
| using | SheetColor = std::array<uint8_t, 3> |
| using | SheetPalette = std::array<SheetColor, 8> |
| Colors for 3bpp indices 0-7. Index 0 is exported as transparent. | |
| using | PaletteAddressMap = std::array<std::optional<PaletteColorAddress>, 128> |
| using | PreviewTile8 = std::array<uint8_t, 64> |
| using | AreaGraphicsPreview = std::map<uint16_t, PreviewTile8> |
| using | OverworldGraphicsPreview = std::map<int, AreaGraphicsPreview> |
| using | OverworldBlockset = std::vector<std::vector<uint16_t>> |
| Represents tile32 data for the overworld. | |
| typedef struct yaze::zelda3::OverworldMapTiles | OverworldMapTiles |
| Overworld map tile32 data. | |
| using | OverworldTilesetKey = std::array<uint8_t, 17> |
| using | OverworldSpriteBytes = std::vector<uint8_t> |
| using | OverworldSpriteEdits |
| using | OverworldSpriteSavePlan = std::vector<OverworldSpriteWrite> |
| using | Tile8PixelData = std::array<uint8_t, 64> |
| using | Tile8UsageIndex = std::array<std::vector<Tile8UsageHit>, kMaxTile8UsageId> |
| using | DungeonMapLabels |
Functions | |
| void | stle16b_i (uint8_t *const p_arr, size_t const p_index, uint16_t const p_val) |
| Store little endian 16-bit value using a byte pointer, offset by an index before dereferencing. | |
| void | stle16b (uint8_t *const p_arr, uint16_t const p_val) |
| uint16_t | ldle16b (uint8_t const *const p_arr) |
| uint16_t | ldle16b_i (uint8_t const *const p_arr, size_t const p_index) |
| Load little endian halfword (16-bit) dereferenced from an arrays of bytes. This version provides an index that will be multiplied by 2 and added to the base address. | |
| absl::StatusOr< CutsceneShotSet > | ParseCutsceneShots (std::string_view json) |
| absl::StatusOr< std::string > | SerializeCutsceneShots (const CutsceneShotSet &set) |
| CameraBounds | CameraBoundsForArea (const AreaExtent &area) |
| ClampedCamera | ClampCamera (const AreaExtent &area, int x, int y) |
| absl::StatusOr< AreaExtent > | VanillaAreaExtent (int area) |
| AreaExtent | AreaExtentFromParent (int parent, AreaSizeEnum size) |
| MapRect | ViewportOnMap (const AreaExtent &area, int camera_x, int camera_y, float scale) |
| MapRect | PointOnMap (const AreaExtent &area, int world_x, int world_y, float scale) |
| bool | PointInViewport (int camera_x, int camera_y, int world_x, int world_y) |
| std::optional< size_t > | ChestIndexForObject (const std::vector< RoomObject > &objects, size_t object_index) |
| absl::Status | ValidateChestObjectMapping (const std::vector< RoomObject > &objects, const std::vector< chest_data > &chests) |
| absl::StatusOr< std::vector< chest_data > > | PlanChestObjectEdit (const std::vector< RoomObject > &before_objects, const std::vector< chest_data > &before_chests, const std::vector< RoomObject > &after_objects, const std::vector< std::optional< size_t > > &source_indices, const std::vector< std::optional< chest_data > > &chest_overrides) |
| absl::StatusOr< CustomCollisionMap > | LoadCustomCollisionMap (Rom *rom, int room_id) |
| absl::StatusOr< std::string > | DumpCustomCollisionRoomsToJsonString (const std::vector< CustomCollisionRoomEntry > &rooms) |
| absl::StatusOr< std::vector< CustomCollisionRoomEntry > > | LoadCustomCollisionRoomsFromJsonString (const std::string &json_content) |
| absl::StatusOr< std::string > | DumpCustomCollisionSourceFromRom (Rom *rom) |
| absl::StatusOr< CustomObject > | DecodeCustomObjectBinary (const std::vector< uint8_t > &data) |
| absl::StatusOr< std::vector< uint8_t > > | EncodeCustomObjectBinary (const CustomObject &object) |
| absl::StatusOr< fs::path > | ResolveCustomObjectAssetPath (const std::string &custom_objects_folder, const std::string &filename) |
| absl::StatusOr< CustomObjectAsset > | LoadCustomObjectAsset (const std::string &custom_objects_folder, const std::string &filename) |
| absl::StatusOr< std::vector< uint8_t > > | PublishCustomObjectBinary (const std::string &custom_objects_folder, const std::string &filename, const CustomObject &object, const std::vector< uint8_t > &expected_source_bytes, const fs::path &expected_resolved_path) |
| uint16_t | CustomObjectRuntimeTileWord (int object_id, uint16_t source_word) |
| absl::StatusOr< std::vector< uint8_t > > | PublishCustomObjectBinary (const std::string &custom_objects_folder, const std::string &filename, const CustomObject &object, const std::vector< uint8_t > &expected_source_bytes, const std::filesystem::path &expected_resolved_path) |
| constexpr std::string_view | GetDoorTypeName (DoorType type) |
| Get human-readable name for door type. | |
| constexpr std::string_view | GetDoorDirectionName (DoorDirection dir) |
| Get human-readable name for door direction. | |
| constexpr DoorDimensions | GetDoorDimensions (DoorDirection dir) |
| Get door dimensions based on direction. | |
| constexpr DoorFootprint | GetEditorDoorFootprint (DoorDirection dir, DoorType type) |
| Get the visible editor footprint for a door. | |
| constexpr DoorDimensions | GetEditorDoorDimensions (DoorDirection dir, DoorType type) |
| Get visible editor dimensions for compatibility with UI callers. | |
| constexpr bool | IsExitDoorType (DoorType type) |
| Return true for terminal exits that do not pair with another room. | |
| constexpr bool | IsRoomConnectionDoorType (DoorType type) |
| Return true when a door can represent an adjacent-room connection. | |
| constexpr DoorType | DoorTypeFromRaw (uint8_t raw_type) |
| Convert raw type byte to DoorType enum. | |
| constexpr DoorDirection | DoorDirectionFromRaw (uint8_t raw_dir) |
| Convert raw direction byte to DoorDirection enum. | |
| constexpr std::array< DoorType, 32 > | GetPlaceableDoorTypes () |
| Get supported door types suitable for editor placement controls. | |
| constexpr std::array< DoorType, 32 > | GetAllDoorTypes () |
| DrawRoutineSymbology | GetSymbologyForRoutine (const DrawRoutineInfo *info) |
| DrawRoutineSymbology | GetSymbologyForObject (int16_t object_id) |
| PushableBlockEntry | DecodePushableBlockEntry (const PushableBlockBytes &bytes) |
| PushableBlockBytes | EncodePushableBlockEntry (const PushableBlockEntry &entry) |
| std::unique_ptr< DungeonEditorSystem > | CreateDungeonEditorSystem (Rom *rom, GameData *game_data=nullptr) |
| Factory function to create dungeon editor system. | |
| absl::StatusOr< std::string > | ExportRoomLayoutTemplate (const Room &room) |
| Export a room's layout as a JSON template string. | |
| absl::Status | ApplyRoomLayoutTemplate (Room &room, const std::string &json, bool apply_properties=false) |
| Apply a previously exported layout template to a room. | |
| constexpr const char * | GetDungeonLimitLabel (DungeonLimit limit) |
| constexpr int | GetDungeonLimitMax (DungeonLimit limit) |
| std::map< DungeonLimit, int > | CreateLimitCounter () |
| bool | HasExceededLimits (const std::map< DungeonLimit, int > &counts) |
| std::vector< DungeonLimitInfo > | GetExceededLimits (const std::map< DungeonLimit, int > &counts) |
| std::unique_ptr< DungeonObjectEditor > | CreateDungeonObjectEditor (Rom *rom) |
| Factory function to create dungeon object editor. | |
| constexpr int | GetDungeonObjectDataRegionEnd (int pc_address) |
| constexpr bool | HasCustomCollisionPointerTable (std::size_t rom_size) |
| constexpr bool | HasCustomCollisionDataRegion (std::size_t rom_size) |
| constexpr bool | HasCustomCollisionWriteSupport (std::size_t rom_size) |
| constexpr bool | HasWaterFillReservedRegion (std::size_t rom_size) |
| std::vector< DungeonSpawnPointWriteRange > | DungeonSpawnPointWriteRanges (int spawn_id) |
| absl::Status | ValidateDungeonSpawnPointForSave (const Rom &rom, const DungeonSpawnPoint &spawn, int spawn_id) |
| std::vector< DungeonSpawnPointWriteRange > | CollectDirtyDungeonSpawnPointWriteRanges (const std::array< DungeonSpawnPoint, kNumDungeonSpawnPoints > &spawn_points) |
| absl::Status | ValidateDungeonSpawnPointsForSave (const Rom &rom, const std::array< DungeonSpawnPoint, kNumDungeonSpawnPoints > &spawn_points, bool dirty_only=true) |
| absl::Status | SaveAllDungeonSpawnPoints (Rom *rom, std::array< DungeonSpawnPoint, kNumDungeonSpawnPoints > &spawn_points, bool dirty_only=true) |
| absl::StatusOr< DungeonStreamRecord > | ReadDungeonObjectStream (const Rom &rom, int room_id) |
| absl::StatusOr< DungeonStreamRecord > | ReadDungeonSpriteStream (const Rom &rom, int room_id) |
| absl::StatusOr< DungeonStreamRecord > | ReadDungeonPotItemStream (const Rom &rom, int room_id) |
| absl::StatusOr< DungeonStreamInventory > | InventoryDungeonStreams (const Rom &rom, const DungeonStreamLayout &requested_layout) |
| absl::StatusOr< DungeonStreamWritePlan > | PlanDungeonStreamWrites (const DungeonStreamInventory &inventory, const std::vector< DungeonStreamReplacement > &requested_replacements) |
| absl::StatusOr< DungeonStreamWritePlan > | PlanDungeonStreamRepack (const DungeonStreamInventory &inventory, const std::vector< DungeonStreamReplacement > &requested_replacements) |
| absl::Status | ApplyDungeonStreamWritePlan (Rom *rom, const DungeonStreamWritePlan &plan) |
| absl::StatusOr< DungeonTilePatterns > | ParseDungeonTilePatterns (absl::string_view source) |
| absl::StatusOr< DungeonTilePatterns > | LoadDungeonTilePatterns (const std::string &path) |
| absl::Status | PublishDungeonTilePatterns (const DungeonTilePatterns &expected, const std::map< uint32_t, uint16_t > &replacements) |
| LightableTorchEntry | DecodeLightableTorchEntry (const LightableTorchBytes &bytes) |
| LightableTorchBytes | EncodeLightableTorchEntry (const LightableTorchEntry &entry) |
| absl::StatusOr< EntranceLayout > | ResolveEntranceLayout (std::span< const uint8_t > data) |
| absl::StatusOr< RoomTilemaps > | ParseGameRoomTilemaps (const std::vector< uint8_t > &bytes) |
| RoomTilemaps | ComposeYazeRoomTilemaps (const Room &room) |
| bool | GameHidesObjectOnRoomLoad (int tag1, int tag2, const RoomObject &object) |
| TileOwners | ComputeObjectTileOwners (Rom *rom, int room_id, const std::vector< RoomObject > &objects, const RoomTilemaps &yaze, const std::vector< bool > &hidden) |
| RoomTilemapCheck | CompareRoomTilemaps (int room_id, const RoomTilemaps &game, const RoomTilemaps &yaze, const TileOwners &owners, const std::vector< RoomObject > &objects) |
| std::string | DescribeTileWordDifference (uint16_t xor_bits) |
| bool | IsMinecartTrackGraphicsSubtype (int object_id, int subtype) |
| std::vector< ObjectDrawCode > | ReadObjectDrawCode (const Rom &rom) |
| bool | UsesRoomObjectStream (const RoomObject &object) |
| bool | UsesSpecialLayerSelector (const RoomObject &object) |
| bool | HasActiveCustomObjectOverride (const RoomObject &object) |
| ObjectLayerSemantics | GetObjectLayerSemantics (const RoomObject &object) |
| ObjectLayerSemantics | GetEffectiveObjectLayerSemantics (const RoomObject &object) |
| const char * | EffectiveBgLayerLabel (EffectiveBgLayer layer) |
| const char * | ObjectRenderRoutingLabel (ObjectRenderRouting routing) |
| const char * | ObjectRenderRoutingDisplayLabel (const ObjectLayerSemantics &semantics) |
| const char * | ObjectRenderRoutingToken (ObjectRenderRouting routing) |
| absl::StatusOr< ObjectStorageMutationResult > | ReassignObjectStorage (std::vector< RoomObject > &objects, const std::vector< size_t > &indices, int target_value) |
| NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE (TemplateObject, id, rel_x, rel_y, size, layer) NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(ObjectTemplate | |
| OracleRomSafetyPreflightResult | RunOracleRomSafetyPreflight (Rom *rom, const OracleRomSafetyPreflightOptions &options) |
| absl::StatusOr< std::string > | ComputeSha256 (const std::string &file_path) |
| absl::Status | VerifySha256 (const std::string &file_path, const std::string &expected_hash) |
| constexpr int | PotItemPixelX (uint16_t word) |
| constexpr int | PotItemPixelY (uint16_t word) |
| constexpr std::optional< uint16_t > | EncodePotItemPosition (int x, int y, uint16_t original=0) |
| std::vector< SDL_Color > | BuildDungeonRenderPalette (const gfx::SnesPalette &dungeon_palette, const gfx::SnesPalette *hud_palette, PaletteAddressMap *addresses, int palette_id) |
| gfx::PaletteGroup | BuildDungeonRenderPaletteGroup (const gfx::SnesPalette &dungeon_palette, const gfx::SnesPalette *hud_palette) |
| gfx::PaletteGroup | BuildDungeonRenderPaletteGroupFromGameData (const gfx::SnesPalette &dungeon_palette, const GameData *game_data) |
| std::array< SDL_Color, 256 > | BuildDungeonSpriteRenderPalette (const Room &room, const GameData *game_data) |
| void | LoadDungeonRenderPaletteToCgram (std::span< uint16_t > cgram, const gfx::SnesPalette &dungeon_palette, const gfx::SnesPalette *hud_palette) |
| RoomSize | CalculateRoomSize (Rom *rom, int room_id) |
| Room | LoadRoomFromRom (Rom *rom, int room_id) |
| Room | LoadRoomHeaderFromRom (Rom *rom, int room_id) |
| int | FindMaxUsedSpriteAddress (Rom *rom) |
| absl::Status | RelocateSpriteData (Rom *rom, int room_id, const std::vector< uint8_t > &encoded_bytes) |
| absl::Status | SaveAllTorches (Rom *rom, absl::Span< const Room > rooms) |
| absl::Status | SaveAllTorches (Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup) |
| absl::StatusOr< std::vector< std::pair< uint32_t, uint32_t > > > | GetTorchSaveWriteRanges (const Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup) |
| absl::Status | SaveAllPits (Rom *rom) |
| absl::Status | SaveAllPits (Rom *rom, PitDamageTable *pit_damage_table) |
| absl::Status | SaveAllBlocks (Rom *rom) |
| absl::Status | SaveAllBlocks (Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup) |
| absl::StatusOr< std::vector< std::pair< uint32_t, uint32_t > > > | GetBlockSaveWriteRanges (const Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup) |
| template<typename RoomLookup > | |
| absl::Status | SaveAllCollisionImpl (Rom *rom, int room_count, RoomLookup &&room_lookup) |
| absl::Status | SaveAllCollision (Rom *rom, absl::Span< Room > rooms) |
| absl::Status | SaveAllCollision (Rom *rom, int room_count, const std::function< Room *(int)> &room_lookup) |
| absl::StatusOr< std::vector< std::pair< uint32_t, uint32_t > > > | GetChestTableWriteRanges (const Rom *rom) |
| absl::StatusOr< ChestSavePlan > | BuildChestSavePlan (const Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup) |
| absl::StatusOr< std::vector< std::pair< uint32_t, uint32_t > > > | GetDirtyChestWriteRanges (const Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup) |
| absl::Status | ApplyChestSavePlan (Rom *rom, const ChestSavePlan &plan, const std::function< const Room *(int)> &room_lookup) |
| template<typename RoomLookup > | |
| absl::Status | SaveAllChestsImpl (Rom *rom, int room_count, RoomLookup &&room_lookup) |
| absl::Status | SaveAllChests (Rom *rom, absl::Span< const Room > rooms) |
| absl::Status | SaveAllChests (Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup) |
| template<typename RoomLookup > | |
| absl::Status | SaveAllPotItemsImpl (Rom *rom, int room_count, RoomLookup &&room_lookup, const DungeonStreamLayout *repack_layout=nullptr) |
| absl::Status | SaveAllPotItems (Rom *rom, absl::Span< const Room > rooms) |
| absl::Status | SaveAllPotItems (Rom *rom, absl::Span< const Room > rooms, const DungeonStreamLayout *repack_layout) |
| absl::Status | SaveAllPotItems (Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup) |
| absl::Status | SaveAllPotItems (Rom *rom, int room_count, const std::function< const Room *(int)> &room_lookup, const DungeonStreamLayout *repack_layout) |
| const char * | RoomCensusStatusName (RoomCensusStatus status) |
| uint16_t | HashRoomCensusObject (int id, int x, int y, int size) |
| float | RoomFingerprintSimilarity (const std::vector< uint16_t > &a, const std::vector< uint16_t > &b) |
| absl::StatusOr< std::vector< std::vector< uint16_t > > > | ComputeRoomFingerprints (Rom *rom, util::StopToken stop_token) |
| std::vector< RoomCensusOwnerGroup > | RoomCensusOwnersFromProject (const core::ProjectRegistry ®istry) |
| std::set< uint8_t > | RoomCensusWarpTagsFromManifest (const core::HackManifest &manifest) |
| absl::StatusOr< RoomCensusInput > | CollectRoomCensusInput (Rom *rom, const RoomCensusOptions &options) |
| std::string | FormatRoomBlockSummary (const std::vector< int > &rooms_in) |
| RoomCensus | BuildRoomCensus (const RoomCensusInput &input) |
| absl::StatusOr< RoomCensus > | ComputeRoomCensus (Rom *rom, const RoomCensusOptions &options) |
| bool | HasBuiltinVanillaRoomFingerprints () |
| std::vector< uint16_t > | BuiltinVanillaRoomFingerprint (int room_id) |
| std::string | FormatVanillaFingerprintTable (const std::vector< std::vector< uint16_t > > &fingerprints, const std::string &source_note) |
| const char * | CollisionSourceName (CollisionSource source) |
| std::array< uint8_t, kTileAttributeTableSize > | LoadUnderworldTileAttributeTable (const Rom &rom, uint8_t blockset) |
| RoomCollisionMaps | ComputeBasicCollisionMaps (const std::array< uint8_t, kTileAttributeTableSize > &table, const RoomTilemaps &tilemaps) |
| RoomCollisionMaps | ComputeRoomCollisionMaps (const Rom &rom, const RoomCollisionInput &input, const UnderworldRoomLoadState &state) |
| std::vector< StaircaseSlotResolution > | ResolveVanillaStaircaseSlots (const Rom &rom, const RoomCollisionInput &input, const UnderworldRoomLoadState &state) |
| RoomCollisionInput | MakeRoomCollisionInput (const Room &room, const RoomTilemaps &tilemaps) |
| RoomCollisionInput | MakeRoomCollisionInput (const Room &room) |
| int | DungeonBackgroundPaletteOffset (uint8_t main_blockset, int destination_slot) |
| RoomMainBlocksetResolution | ResolveRoomMainBlockset (int room_id, uint8_t header_blockset, uint8_t requested_main_blockset, const GameData &game_data) |
| std::vector< RoomDefaultEntrance > | ComputeRoomDefaultEntrances (Rom &rom) |
| std::vector< DungeonEntranceWriteRange > | RegularDungeonEntranceWriteRanges (const EntranceLayout &layout, int entrance_id) |
| absl::StatusOr< std::vector< DungeonEntranceWriteRange > > | RegularDungeonEntranceWriteRanges (const Rom &rom, int entrance_id) |
| absl::Status | ValidateRegularDungeonEntranceForSave (const Rom &rom, const RoomEntrance &entrance, int entrance_id) |
| absl::StatusOr< std::vector< DungeonEntranceWriteRange > > | CollectDirtyRegularDungeonEntranceWriteRanges (const Rom &rom, const std::array< RoomEntrance, kNumDungeonEntranceSlots > &entrances) |
| absl::Status | ValidateRegularDungeonEntrancesForSave (const Rom &rom, const std::array< RoomEntrance, kNumDungeonEntranceSlots > &entrances, bool dirty_only=true) |
| absl::Status | RejectUnsupportedDungeonSpawnPointSaves (const std::array< RoomEntrance, kNumDungeonEntranceSlots > &entrances, bool dirty_only=true) |
| absl::Status | SaveAllDungeonEntrances (Rom *rom, std::array< RoomEntrance, kNumDungeonEntranceSlots > &entrances, bool dirty_only=true) |
| constexpr int | ResolveHeaderDestinationRoom (int source_room_id, uint8_t header_byte) |
| constexpr int | EncodeHeaderDestinationRoom (int source_room_id, int destination_room_id) |
| RoomLayerRegisters | DeriveRoomLayerRegisters (uint8_t bgact, bool dark, int effect, int tag2, const std::vector< RoomObject > &objects, uint16_t room_flags) |
| const char * | RoomReferenceKindName (RoomReferenceKind kind) |
| const char * | RoomDoorRoleName (RoomDoorRole role) |
| bool | IsDungeonRoomId (int room_id) |
| int | DungeonNeighborRoom (int room_id, int direction) |
| int | CheckedHeaderDestinationRoom (int source_room_id, uint8_t header_byte) |
| bool | UsesExpandedEntranceTables (const Rom &rom) |
| std::optional< DungeonEntranceTarget > | ReadDungeonEntranceTarget (const Rom &rom, int entrance_id) |
| bool | IsPitObjectId (int id) |
| bool | IsWarpTileObjectId (int id) |
| bool | IsHoleRoomTag (uint8_t tag) |
| bool | IsPitTileAttribute (uint8_t attribute) |
| bool | IsWarpTileAttribute (uint8_t attribute) |
| absl::StatusOr< RoomLinkFacts > | CollectRoomLinkFacts (Rom *rom, const Room &room, const PitDamageTable *pit_table, const CustomObjectRenderSnapshot *custom_objects, util::StopToken stop_token) |
| std::vector< RoomLink > | CollectRoomLinks (int room_id, const RoomLinkFactsLookup &lookup, const std::set< uint8_t > &warp_tag_ids) |
| ObjectOption | operator| (ObjectOption lhs, ObjectOption rhs) |
| ObjectOption | operator& (ObjectOption lhs, ObjectOption rhs) |
| ObjectOption | operator^ (ObjectOption lhs, ObjectOption rhs) |
| ObjectOption | operator~ (ObjectOption option) |
| bool | IsRoomObjectSizeEditable (int object_id) |
| bool | IsRoomObjectResizable (int object_id) |
| int | RoomObjectSizeAxisStep (int object_id) |
| int | RoomObjectSizeAxisTiles (int object_id, uint8_t size, bool horizontal) |
| uint8_t | ResizeRoomObjectByDelta (int object_id, uint8_t size, int delta, bool horizontal) |
| uint8_t | CanonicalRoomObjectSize (int object_id, uint8_t requested_size) |
| uint8_t | ResizeRoomObjectUniformlyByDelta (int object_id, uint8_t size, int delta) |
| uint8_t | DefaultRoomObjectSizeForPlacement (int object_id) |
| absl::Status | ValidateRoomObjectStreamEntryForSave (const RoomObject &object) |
| constexpr bool | IsStatefulChestObjectId (int object_id) |
| RoomObject::LayerType | MapRoomObjectListIndexToDrawLayer (uint8_t list_index) |
| std::string | GetObjectName (int object_id) |
| int | GetObjectSubtype (int object_id) |
| absl::StatusOr< TrackCollisionResult > | GenerateTrackCollision (Room *room, const GeneratorOptions &options) |
| absl::Status | WriteTrackCollision (Rom *rom, int room_id, const CustomCollisionMap &map) |
| std::string | VisualizeCollisionMap (const CustomCollisionMap &map) |
| absl::StatusOr< std::vector< WaterFillZoneEntry > > | LoadWaterFillTable (Rom *rom) |
| absl::Status | WriteWaterFillTable (Rom *rom, const std::vector< WaterFillZoneEntry > &zones) |
| absl::StatusOr< std::vector< WaterFillZoneEntry > > | LoadLegacyWaterGateZones (Rom *rom, const std::string &symbol_path) |
| absl::Status | NormalizeWaterFillZoneMasks (std::vector< WaterFillZoneEntry > *zones) |
| absl::StatusOr< std::string > | DumpWaterFillZonesToJsonString (const std::vector< WaterFillZoneEntry > &zones) |
| absl::StatusOr< std::vector< WaterFillZoneEntry > > | LoadWaterFillZonesFromJsonString (const std::string &json_content) |
| uint32_t | GetGraphicsAddress (const uint8_t *data, uint8_t addr, uint32_t ptr1, uint32_t ptr2, uint32_t ptr3, size_t rom_size) |
| Gets the graphics address for a sheet index. | |
| absl::Status | LoadGameData (Rom &rom, GameData &data, const LoadOptions &options={}) |
| Loads all Zelda3-specific game data from a generic ROM. | |
| absl::Status | SaveGameData (Rom &rom, GameData &data) |
| Saves modified game data back to the ROM. | |
| absl::Status | LoadMetadata (const Rom &rom, GameData &data) |
| absl::Status | LoadPalettes (const Rom &rom, GameData &data) |
| absl::Status | LoadGfxGroups (Rom &rom, GameData &data) |
| absl::StatusOr< GfxGroupDiff > | DiffGfxGroups (const Rom &rom, const GameData &data) |
| absl::Status | SaveGfxGroups (Rom &rom, const GameData &data) |
| SheetLoadResult | LoadSheetRaw (const Rom &rom, uint32_t i, uint32_t ptr1, uint32_t ptr2, uint32_t ptr3) |
| void | ProcessSheetBitmap (GameData &data, uint32_t i, const SheetLoadResult &result) |
| absl::Status | LoadGraphics (Rom &rom, GameData &data) |
| absl::StatusOr< std::array< gfx::Bitmap, kNumLinkSheets > > | LoadLinkGraphics (const Rom &rom) |
| Loads Link's graphics sheets from ROM. | |
| absl::StatusOr< std::vector< uint8_t > > | Load2BppGraphics (const Rom &rom) |
| Loads 2BPP graphics sheets from ROM. | |
| absl::StatusOr< gfx::Bitmap > | LoadFontGraphics (const Rom &rom) |
| Loads font graphics from ROM. | |
| absl::Status | SaveAllGraphicsData (Rom &rom, const std::array< gfx::Bitmap, kNumGfxSheets > &sheets) |
| Not implemented; always returns UnimplementedError. | |
| absl::StatusOr< GfxSheetInventory > | BuildGfxSheetInventory (const Rom &rom, const std::map< int, OverworldAreaGfxInfo > &areas, const std::map< int, RoomGfxInfo > &rooms, const GfxSheetInventoryOptions &options) |
| std::map< int, OverworldAreaGfxInfo > | CollectOverworldAreaGfx (Rom &rom, GameData *game_data) |
| std::map< int, RoomGfxInfo > | CollectRoomGfx (const Rom &rom) |
| GfxGroupUsage | FindSpritesetUsage (int spriteset, const std::map< int, OverworldAreaGfxInfo > &areas, const std::map< int, RoomGfxInfo > &rooms) |
| GfxGroupUsage | FindRoomsetUsage (int roomset, const std::map< int, OverworldAreaGfxInfo > &areas, const std::map< int, RoomGfxInfo > &rooms) |
| absl::StatusOr< RoomsetUsageReport > | DescribeRoomsetUsage (Rom &rom, GameData &game_data, int roomset, const std::map< int, RoomGfxInfo > &rooms, const Overworld *live_overworld) |
| absl::StatusOr< MainGroupUsageReport > | DescribeMainGroupUsage (Rom &rom, GameData &game_data, int group, int slot, const std::map< int, RoomGfxInfo > &rooms, const std::map< int, uint8_t > &explicit_room_main, const Overworld *live_overworld) |
| const char * | GfxSheetInventoryKindName (GfxSheetStorageKind kind) |
| nlohmann::json | GfxSheetInventoryToJson (const GfxSheetInventory &inventory) |
| std::map< uint8_t, std::set< std::string > > | ParseSpritesetLabelCsv (const std::string &csv_text) |
| SheetPalette | GrayscaleSheetPalette () |
| absl::StatusOr< SheetPalette > | RoomBackgroundSheetPalette (Rom &rom, GameData &data, int room, int row) |
| absl::StatusOr< SheetPalette > | RoomSpriteSheetPalette (Rom &rom, GameData &data, int room, int row) |
Sprite palette row (OAM palette 0-7, CGRAM row 8 + row) of room room. | |
| absl::StatusOr< std::vector< uint8_t > > | ExportSheetBlocksPng (const std::vector< uint8_t > &snes_3bpp, const SheetPalette &palette, int first_block, int block_count) |
| absl::StatusOr< SheetImportResult > | ImportSheetBlocksPng (const std::vector< uint8_t > &snes_3bpp, const util::PngImage &png, int first_block, const SheetPalette &palette) |
Places a PNG's 16x16 blocks over a sheet from first_block. | |
| RoomBackgroundSet | ResolveRoomBackgroundSet (const GameData &data, int room, uint8_t header_blockset) |
| absl::StatusOr< RoomSheetPaletteContext > | ResolveRoomSheetPalette (Rom &rom, GameData &data, int room, int slot, int row) |
| std::vector< RoomBackgroundSet > | ResolveAllRoomBackgroundSets (const Rom &rom, const GameData &data) |
| All 296 rooms' background sets (header bytes read from the ROM). | |
| absl::StatusOr< std::vector< uint8_t > > | ExportRoomBackgroundPng (const Rom &rom, const RoomBackgroundSet &set, const SheetPalette &palette) |
| absl::StatusOr< std::vector< RoomSheetImport > > | ImportRoomBackgroundPng (const Rom &rom, const RoomBackgroundSet &set, const util::PngImage &png, const SheetPalette &palette) |
| bool | UsesJapaneseGfxSheetTables (const Rom &rom) |
| std::array< int, 4 > | GfxSheetBlockTiles (int block) |
| bool | IsGfxSheetBlockEmpty (const std::vector< uint8_t > &data, int block, int bpp) |
| GfxSheetStorageKind | GetGfxSheetStorageKind (uint16_t sheet_id) |
| const char * | GfxSheetStorageKindName (GfxSheetStorageKind kind) |
| absl::StatusOr< uint32_t > | ReadGfxSheetPc (const Rom &rom, uint16_t sheet_id, const GfxSheetPointerTables &tables={}) |
| Resolves a sheet's pointer. Does not read the sheet data. | |
| absl::StatusOr< GfxSheetExtent > | ReadGfxSheetExtent (const Rom &rom, uint16_t sheet_id, const GfxSheetPointerTables &tables) |
| absl::StatusOr< std::vector< uint8_t > > | ReadGfxSheetData (const Rom &rom, uint16_t sheet_id, const GfxSheetPointerTables &tables={}) |
| Returns the sheet's decoded bytes (SNES planar data). | |
| absl::StatusOr< GfxSheetWriteResult > | WriteGfxSheet (Rom &rom, uint16_t sheet_id, const std::vector< uint8_t > &snes_3bpp, const GfxSheetWritePolicy &policy, const GfxSheetPointerTables &tables={}) |
| Writes one edited 3bpp sheet to the ROM buffer. | |
| const char * | PaletteAddressGroupName (PaletteAddressGroup group) |
| absl::StatusOr< gfx::SnesColor > | ReadPaletteColor (const GameData &owner, const PaletteColorAddress &address) |
| ResolvedGraphicsContext | DescribeOverworldGraphicsContext (const OverworldMap &map, const GraphicsContextIdentity &identity) |
| ResolvedGraphicsContext | DescribeDungeonGraphicsContext (const Room &room, const GraphicsContextIdentity &identity) |
| absl::StatusOr< AreaGraphicsPreview > | DecodeGraphicsPreviewTransfer (std::span< const uint8_t > bytes, int destination_word, int bg_base_word) |
| void | ApplyGraphicsPreview (const AreaGraphicsPreview &preview, std::vector< uint8_t > &graphics) |
| absl::StatusOr< std::vector< gfx::Tile16 > > | ReadMap16Tiles (const Rom &rom, bool *expanded=nullptr) |
| Represents the full Overworld data, light and dark world. | |
| int | GetMap16TilesExpanded () |
| int | GetMap32TileTRExpanded () |
| int | GetMap32TileBLExpanded () |
| int | GetMap32TileBRExpanded () |
| int | GetExpandedPtrTableMarker () |
| uint8_t | GetExpandedPtrTableMagic () |
| int | GetExpandedPtrTableHigh () |
| int | GetExpandedPtrTableLow () |
| constexpr int | Map32DefinitionCapacityForStorageBytes (int storage_bytes) |
| int | Map32StorageBytesForProfile (const OverworldRomProfile &profile) |
| int | Map32DefinitionCapacityForProfile (const OverworldRomProfile &profile) |
| bool | IsValidRomAddress (const Rom &rom, int address) |
| uint8_t | ReadRomByteOr (const Rom &rom, int address, uint8_t fallback) |
| bool | IsSpecialTailMapExpansionEnabled (const Rom &rom) |
| OverworldRomProfile | DetectOverworldRomProfile (const Rom &rom) |
| int | WorldForOverworldMap (int map_index) |
| bool | IsSameOverworldWorld (int a, int b) |
| bool | CanPersistLegacyMultiAreaMap (int map_index) |
| bool | CanPersistLegacyScreenSize (int map_index) |
| int | LegacyParentTableIndexForMap (int map_index) |
| uint8_t | LegacyParentTableValueForMap (int parent_index) |
| int | LegacyScreenSizeTableIndexForMap (int map_index) |
| const char * | AllocationWorldName (AllocationWorld world) |
| const char * | AllocationAreaSizeName (AllocationAreaSize size) |
| AllocationWorld | AllocationWorldForArea (int area) |
| std::vector< AreaTableInfo > | OverworldAreaTableCatalogue (uint8_t asm_version) |
| MapStreamScan | ScanMapStream (const uint8_t *data, size_t size, uint32_t pc, size_t max_output) |
| absl::StatusOr< OverworldAllocationReport > | BuildOverworldAllocationReport (Rom *rom, const OverworldAllocationOptions &options) |
| const char * | TailCheckVerdictName (TailCheckVerdict verdict) |
| const char * | TailCheckScopeName (TailCheckScope scope) |
| TailMapExpansionCheck | CheckTailMapExpansion (const Rom &rom, const TailMapExpansionPlan &plan, const TailCheckAnnotator &annotator) |
| absl::Status | TailMapExpansionApplyGuard (const Rom &rom) |
| std::string | OverworldAllocationToJson (const OverworldAllocationReport &report, const TailMapExpansionCheck *tail_check) |
| std::string | FormatOverworldAllocationText (const OverworldAllocationReport &report, const TailMapExpansionCheck *tail_check) |
| absl::StatusOr< std::vector< OverworldEntrance > > | LoadEntrances (Rom *rom) |
| absl::StatusOr< std::vector< OverworldEntrance > > | LoadEntrances (Rom *rom, const core::RomAddressOverrides &addresses) |
| absl::StatusOr< std::vector< OverworldEntrance > > | LoadHoles (Rom *rom) |
| absl::Status | SaveEntrances (Rom *rom, const std::vector< OverworldEntrance > &entrances, bool expanded_entrances) |
| absl::Status | SaveHoles (Rom *rom, const std::vector< OverworldEntrance > &holes) |
| int | GetOverworldEntranceMapExpanded () |
| int | GetOverworldEntrancePosExpanded () |
| int | GetOverworldEntranceIdExpanded () |
| int | GetOverworldEntranceFlagExpanded () |
| absl::StatusOr< OverworldEntranceTileTypes > | LoadEntranceTileTypes (Rom *rom) |
| absl::StatusOr< std::vector< OverworldExit > > | LoadExits (Rom *rom) |
| absl::Status | SaveExits (Rom *rom, const std::vector< OverworldExit > &exits) |
| absl::StatusOr< std::vector< OverworldItem > > | LoadItems (Rom *rom, std::vector< OverworldMap > &overworld_maps) |
| absl::Status | SaveItems (Rom *rom, const std::vector< OverworldItem > &items) |
| bool | CompareOverworldItems (const std::vector< OverworldItem > &items1, const std::vector< OverworldItem > &items2) |
| bool | CompareItemsArrays (std::vector< OverworldItem > item_array1, std::vector< OverworldItem > item_array2) |
| int | GetOverworldMessagesExpanded () |
| int | GetOverworldMapParentIdExpanded () |
| int | GetOverworldTransitionPositionYExpanded () |
| int | GetOverworldTransitionPositionXExpanded () |
| int | GetOverworldScreenChange1Expanded () |
| int | GetOverworldScreenChange2Expanded () |
| int | GetOverworldScreenChange3Expanded () |
| int | GetOverworldScreenChange4Expanded () |
| int | SubscreenOverlayScreen (uint16_t overlay_id) |
| bool | IsBackgroundSubscreenOverlay (uint16_t overlay_id) |
| bool | IsOverworldBackdropPixel (uint8_t index) |
| OverworldSpriteLayout | GetOverworldSpriteLayout (const Rom &rom) |
| int | GetOverworldSpriteRegionEnd (const Rom &rom) |
| absl::StatusOr< OverworldSpriteBytes > | ReadOverworldSpriteList (const Rom &rom, int pointer_address) |
| const char * | OverworldSpriteEditStrategyName (OverworldSpriteEditStrategy s) |
| absl::StatusOr< OverworldSpriteListEditPlan > | PlanOverworldSpriteListEdit (const Rom &rom, int state, int map, const OverworldSpriteBytes &replacement) |
| absl::StatusOr< OverworldSpriteSavePlan > | PlanOverworldSpriteSave (const Rom &rom, const OverworldSpriteEdits &edits) |
| absl::Status | ApplyOverworldSpriteSave (Rom &rom, const OverworldSpriteSavePlan &plan) |
| SpecialEntranceInspection | InspectSpecialEntrances (const Rom &rom, Overworld &overworld, int map_id) |
| absl::StatusOr< std::array< uint8_t, 64 > > | Tile8SourceTransparency (const std::vector< uint8_t > &decoded, int sheet, int tile_id, bool flip_x, bool flip_y) |
| const gfx::TileInfo & | Tile16QuadrantInfo (const gfx::Tile16 &tile, int quadrant) |
| gfx::TileInfo & | MutableTile16QuadrantInfo (gfx::Tile16 &tile, int quadrant) |
| void | SyncTile16TilesInfo (gfx::Tile16 *tile) |
| void | SetTile16AllQuadrantPalettes (gfx::Tile16 *tile, uint8_t palette_id) |
| bool | SetTile16QuadrantPalette (gfx::Tile16 *tile, int quadrant, uint8_t palette_id) |
| gfx::TileInfo | HorizontalFlipTileInfo (gfx::TileInfo info) |
| gfx::TileInfo | VerticalFlipTileInfo (gfx::TileInfo info) |
| gfx::Tile16 | HorizontalFlipTile16 (gfx::Tile16 tile) |
| gfx::Tile16 | VerticalFlipTile16 (gfx::Tile16 tile) |
| gfx::Tile16 | RotateTile16Clockwise (gfx::Tile16 tile) |
| std::vector< uint8_t > | RenderTile16PixelsFromMetadata (const gfx::Tile16 &tile_data, const std::vector< Tile8PixelData > &tile8_pixels) |
| std::vector< uint8_t > | RenderTile16PixelsFromMetadata (const gfx::Tile16 &tile_data, const std::vector< gfx::Bitmap > &tile8_bitmaps) |
| absl::Status | RenderTile16BitmapFromMetadata (const gfx::Tile16 &tile_data, const std::vector< Tile8PixelData > &tile8_pixels, gfx::Bitmap *output_bitmap) |
| absl::Status | RenderTile16BitmapFromMetadata (const gfx::Tile16 &tile_data, const std::vector< gfx::Bitmap > &tile8_bitmaps, gfx::Bitmap *output_bitmap) |
| int | ComputeTile16Count (const gfx::Tilemap *tile16_blockset) |
| void | BlitTile16BitmapToAtlas (gfx::Bitmap *destination, int tile_id, const gfx::Bitmap &source_bitmap) |
| absl::StatusOr< std::vector< Tile16StampMutation > > | BuildTile16StampMutations (const Tile16StampRequest &request) |
| void | ClearTile8UsageIndex (Tile8UsageIndex *usage_index) |
| void | AddTile16ToUsageIndex (const gfx::Tile16 &tile_data, int tile16_id, Tile8UsageIndex *usage_index) |
| absl::Status | BuildTile8UsageIndex (int total_tiles, const std::function< absl::StatusOr< gfx::Tile16 >(int)> &tile_provider, Tile8UsageIndex *usage_index) |
| const PaletteGroupMetadata * | GetPaletteGroupMetadata (const char *group_id) |
| std::vector< const PaletteGroupMetadata * > | GetAllPaletteGroups () |
| std::string | ResourceTypeToString (ResourceType type) |
| Convert ResourceType enum to string key for storage. | |
| ResourceType | StringToResourceType (const std::string &type_str) |
| Convert string key to ResourceType enum. | |
| ResourceLabelProvider & | GetResourceLabels () |
| Get the global ResourceLabelProvider instance. | |
| std::string | GetItemReceiptLabel (uint8_t id, const ResourceLabelProvider::ProjectLabels *project_labels) |
| const char * | GetItemReceiptLabelSource (uint8_t id, const ResourceLabelProvider::ProjectLabels *project_labels) |
| std::string | GetItemReceiptLabel (uint8_t id) |
| const char * | GetItemReceiptLabelSource (uint8_t id) |
| std::string | GetSpriteLabel (int id) |
| Convenience function to get a sprite label. | |
| std::string | GetRoomLabel (int id) |
| Convenience function to get a room label. | |
| std::string | GetItemLabel (int id) |
| Convenience function to get an item label. | |
| std::string | GetEntranceLabel (int id) |
| Convenience function to get an entrance label. | |
| std::string | GetOverlordLabel (int id) |
| Convenience function to get an overlord label. | |
| std::string | GetOverworldMapLabel (int id) |
| Convenience function to get an overworld map label. | |
| std::string | GetMusicLabel (int id) |
| Convenience function to get a music track label. | |
| std::string | GetRoomTagLabel (int id) |
| Convenience function to get a room tag label. | |
| absl::StatusOr< std::vector< DungeonMap > > | LoadDungeonMaps (Rom &rom, DungeonMapLabels &dungeon_map_labels) |
| Load the dungeon maps from the ROM. | |
| absl::StatusOr< DungeonMapWritePlan > | BuildDungeonMapWritePlan (const std::vector< DungeonMap > &dungeon_maps, size_t rom_size, bool relocated_tile16) |
| absl::StatusOr< DungeonMapWritePlan > | BuildDungeonMapWritePlan (Rom &rom, const std::vector< DungeonMap > &dungeon_maps) |
| absl::Status | SaveDungeonMaps (Rom &rom, std::vector< DungeonMap > &dungeon_maps) |
| Save the dungeon maps to the ROM. | |
| absl::Status | LoadDungeonMapTile16 (gfx::Tilemap &tile16_blockset, Rom &rom, GameData *game_data, const std::vector< uint8_t > &gfx_data, bool bin_mode) |
| Load the dungeon map tile16 from the ROM. | |
| absl::Status | SaveDungeonMapTile16 (gfx::Tilemap &tile16_blockset, Rom &rom) |
| Save the dungeon map tile16 to the ROM. | |
| absl::Status | LoadDungeonMapGfxFromBinary (Rom &rom, GameData *game_data, gfx::Tilemap &tile16_blockset, std::array< gfx::Bitmap, 4 > &sheets, std::vector< uint8_t > &gfx_bin_data) |
| Load the dungeon map gfx from binary. | |
| int | GetDungeonMapTile16Expanded () |
| std::vector< uint8_t > | ComposeMenuTilemapRgba (const std::vector< uint8_t > &indexed, int width, int height, const std::array< gfx::SnesColor, 32 > &subpalette_colors) |
| MenuTilemapDocument::ChrPixelFn | MakeChrPixelFn (const std::vector< uint8_t > &sheet_8bpp_indexed) |
| uint16_t | Hexto555 (uint32_t rgb) |
| absl::StatusOr< std::vector< uint16_t > > | ParseMenuPaletteAsmText (std::string_view text_in, std::string_view label_in) |
| absl::StatusOr< std::array< gfx::SnesColor, 32 > > | ResolveMenuPaletteFromAsm (const std::string &path, const std::string &label) |
| std::optional< std::string > | FindMenuPaletteAsm (const std::string &project_dir, const std::string &code_folder) |
| absl::StatusOr< std::array< gfx::SnesColor, 32 > > | ResolveMenuPaletteFromSymbol (const Rom &rom, const emu::debug::SymbolProvider &symbols, const std::string &label) |
| absl::StatusOr< std::array< gfx::SnesColor, 32 > > | ResolveMenuPaletteFromHud (const GameData &game_data) |
| absl::StatusOr< std::array< gfx::SnesColor, 32 > > | ResolveMenuPaletteFromFile (const std::string &path, size_t byte_offset) |
| absl::StatusOr< std::vector< uint8_t > > | ResolveMenuChrFromRom (const Rom &rom) |
| absl::StatusOr< std::vector< uint8_t > > | ResolveMenuChrFromFile (const std::string &path) |
| void | SetPreferHmagicSpriteNames (bool prefer) |
| bool | PreferHmagicSpriteNames () |
| const char * | ResolveSpriteName (uint16_t id) |
| absl::StatusOr< SpriteSourceDocument > | ReadSpriteSourceFile (const std::string &source_root, const std::string &relative_path) |
| absl::StatusOr< SpriteSourceDocument > | ReadSpriteSource (const std::string &source_root, const SpriteSourceBinding &binding) |
| std::array< uint8_t, 8 > | SpriteSheetSlots (const std::array< uint8_t, 4 > &spriteset_values, bool underworld) |
| The eight sheets for a spriteset's four values. | |
| std::vector< SpriteTileIssue > | CheckSpriteTiles (const Rom &rom, const std::vector< int > &tiles, const std::array< uint8_t, 8 > &slots, const std::set< uint16_t > &reserved_sheets) |
| constexpr bool | IsUnderworldSpriteset (int spriteset) |
| Dungeon rooms use spritesets 0x40-0x8F (room header value + 0x40). | |
| constexpr int | SpriteSlotForTile (int tile) |
Slot (0-7) holding 8x8 OAM tile tile (name-table bit included). | |
Variables | |
| const std::string | TileTypeNames [256] |
| constexpr int | kNumOverworldMaps = 160 |
| constexpr int | OverworldCustomASMHasBeenApplied = 0x140145 |
| constexpr const char * | kEntranceNames [] |
| constexpr int | kCutsceneViewportWidth = 256 |
| constexpr int | kCutsceneViewportHeight = 224 |
| constexpr int | kDoorPosNorthAddr = 0x197E |
| constexpr int | kDoorPosSouthAddr = 0x198A |
| constexpr int | kDoorPosWestAddr = 0x1996 |
| constexpr int | kDoorPosEastAddr = 0x19A2 |
| constexpr size_t | kMaxActiveSprites = 16 |
| constexpr size_t | kMaxTotalSprites = 64 |
| constexpr size_t | kMaxChests = 6 |
| constexpr size_t | kMaxDoors = 16 |
| constexpr size_t | kMaxTileObjects = 400 |
| constexpr int | kNoHardLimit = std::numeric_limits<int>::max() |
| constexpr int | kRoomObjectLayoutPointer = 0x882D |
| constexpr int | kRoomObjectPointer = 0x874C |
| constexpr int | kRoomHeaderPointer = 0xB5DD |
| constexpr int | kRoomHeaderPointerBank = 0xB5E7 |
| constexpr std::array< DungeonObjectDataRegion, 5 > | kDungeonObjectDataRegions |
| constexpr int | kDungeonsMainBgPalettePointers = 0xDEC4B |
| constexpr int | kDungeonsPalettes = 0xDD734 |
| constexpr int | kRoomItemsPointers = 0xDB69 |
| constexpr int | kRoomItemsDataEnd = 0xE6B2 |
| constexpr int | kRoomsSpritePointer = 0x4C298 |
| constexpr int | kSpriteBlocksetPointer = 0x5B57 |
| constexpr int | kMaxDungeonSpriteset = 0x4F |
| constexpr int | kGfxGroupsPointer = 0x6237 |
| constexpr int | kTileAddress = 0x001B52 |
| constexpr int | kTileAddressFloor = 0x001B5A |
| constexpr int | kBlocksLength = 0x8896 |
| constexpr int | kBlocksPointer1 = 0x15AFA |
| constexpr int | kBlocksPointer2 = 0x15B01 |
| constexpr int | kBlocksPointer3 = 0x15B08 |
| constexpr int | kBlocksPointer4 = 0x15B0F |
| constexpr int | kChestsLengthPointer = 0xEBF6 |
| constexpr int | kChestsDataPointer1 = 0xEBFB |
| constexpr int | kChestTableRecordSize = 3 |
| constexpr int | kChestTableCapacityRecords = 168 |
| constexpr int | kChestTableCapacityBytes |
| constexpr int | kTorchData = 0x2736A |
| constexpr int | kTorchesLengthPointer = 0x88C1 |
| constexpr int | kPitPointer = 0x394AB |
| constexpr int | kPitCount = 0x394A6 |
| constexpr int | kDoorPointers = 0xF83C0 |
| constexpr int | kDoorGfxUp = 0x4D9E |
| constexpr int | kDoorGfxDown = 0x4E06 |
| constexpr int | kDoorGfxCaveExitDown = 0x4E06 |
| constexpr int | kDoorGfxLeft = 0x4E66 |
| constexpr int | kDoorGfxRight = 0x4EC6 |
| constexpr int | kDoorPosUp = 0x197E |
| constexpr int | kDoorPosDown = 0x1996 |
| constexpr int | kDoorPosLeft = 0x19AE |
| constexpr int | kDoorPosRight = 0x19C6 |
| constexpr int | kSpritesData = 0x4D8B0 |
| constexpr int | kSpritesDataEmptyRoom = 0x4D8AE |
| constexpr int | kSpritesEndData = 0x4EC9E |
| constexpr int | kSpritesDataEndExclusive |
| constexpr int | kDungeonSpritePointers |
| constexpr int | kMessagesIdDungeon = 0x3F61D |
| constexpr int | kCustomCollisionRoomPointers = 0x128090 |
| constexpr int | kCustomCollisionDataPosition = 0x128450 |
| constexpr int | kCustomCollisionDataEnd = 0x130000 |
| constexpr int | kWaterFillTableReservedSize = 0x2000 |
| constexpr int | kWaterFillTableStart |
| constexpr int | kWaterFillTableEnd = kCustomCollisionDataEnd |
| constexpr int | kCustomCollisionDataSoftEnd = kWaterFillTableStart |
| constexpr int | kNumberOfRooms = 296 |
| constexpr uint16_t | kStairsObjects [] = {0x139, 0x138, 0x13B, 0x12E, 0x12D} |
| constexpr int | kRoomLayoutDataEnd = 0x04F1CD |
| constexpr uint32_t | kDungeonSpawnRoom = 0x15B6E |
| constexpr uint32_t | kDungeonSpawnCameraScrollBoundaries = 0x15B7C |
| constexpr uint32_t | kDungeonSpawnHorizontalScroll = 0x15BB4 |
| constexpr uint32_t | kDungeonSpawnVerticalScroll = 0x15BC2 |
| constexpr uint32_t | kDungeonSpawnYCoordinate = 0x15BD0 |
| constexpr uint32_t | kDungeonSpawnXCoordinate = 0x15BDE |
| constexpr uint32_t | kDungeonSpawnCameraTriggerY = 0x15BEC |
| constexpr uint32_t | kDungeonSpawnCameraTriggerX = 0x15BFA |
| constexpr uint32_t | kDungeonSpawnMainGfx = 0x15C08 |
| constexpr uint32_t | kDungeonSpawnFloor = 0x15C0F |
| constexpr uint32_t | kDungeonSpawnDungeonId = 0x15C16 |
| constexpr uint32_t | kDungeonSpawnLayer = 0x15C1D |
| constexpr uint32_t | kDungeonSpawnCameraScrollController = 0x15C24 |
| constexpr uint32_t | kDungeonSpawnQuadrant = 0x15C2B |
| constexpr uint32_t | kDungeonSpawnOverworldDoorTilemap = 0x15C32 |
| constexpr uint32_t | kDungeonSpawnEntranceId = 0x15C40 |
| constexpr uint32_t | kDungeonSpawnSong = 0x15C4E |
| constexpr int | kNumDungeonSpawnPoints = 0x07 |
| constexpr int | kNumRegularDungeonEntrances = 0x85 |
| constexpr int | kNumDungeonEntranceSlots |
| constexpr uint16_t | kDungeonSpawnRoomIdMask = 0x01FF |
| constexpr int | kStartingEntranceroom = kDungeonSpawnRoom |
| constexpr int | kStartingEntranceScrollEdge |
| constexpr int | kStartingEntranceYScroll = kDungeonSpawnHorizontalScroll |
| constexpr int | kStartingEntranceXScroll = kDungeonSpawnVerticalScroll |
| constexpr int | kStartingEntranceYPosition = kDungeonSpawnYCoordinate |
| constexpr int | kStartingEntranceXPosition = kDungeonSpawnXCoordinate |
| constexpr int | kStartingEntranceCameraYTrigger |
| constexpr int | kStartingEntranceCameraXTrigger |
| constexpr int | kStartingEntranceBlockset = kDungeonSpawnMainGfx |
| constexpr int | kStartingEntranceFloor = kDungeonSpawnFloor |
| constexpr int | kStartingEntranceDungeon = kDungeonSpawnDungeonId |
| constexpr int | kStartingEntranceLadderBG = kDungeonSpawnLayer |
| constexpr int | kStartingEntrancescrolling |
| constexpr int | kStartingEntranceScrollQuadrant = kDungeonSpawnQuadrant |
| constexpr int | kStartingEntranceDoor = kDungeonSpawnQuadrant |
| constexpr int | kStartingEntranceexit = kDungeonSpawnOverworldDoorTilemap |
| constexpr int | kStartingEntranceentrance = kDungeonSpawnEntranceId |
| constexpr int | kStartingEntrancemusic = kDungeonSpawnSong |
| constexpr std::array< std::pair< uint32_t, uint32_t >, 17 > | kDungeonSpawnPointTableLayout |
| constexpr EntranceLayout | kLegacyEntranceLayout |
| constexpr EntranceLayout | kExpandedEntranceLayout |
| constexpr std::array< EntranceLoaderSite, 17 > | kEntranceLoaderSites |
| constexpr int | kRoomTilemapSize = 64 |
| constexpr size_t | kRoomTilemapWords = 64 * 64 |
| constexpr size_t | kGameRoomTilemapBytes = 2 * kRoomTilemapWords * 2 |
| name | |
| description | |
| category | |
| constexpr uint16_t | kPotItemCoordinateMask = 0x1FFE |
| const std::string | RoomEffect [8] |
| const std::string | RoomTag [65] |
| constexpr std::array< std::string_view, 297 > | kRoomNames |
| constexpr int | kRoomCensusRoomCount = kDungeonRoomCount |
| constexpr float | kReclaimableVanillaSimilarity = 0.90f |
| constexpr float | kPartlyEditedVanillaSimilarity = 1.0f / 3.0f |
| constexpr int | kRoomCensusInteriorDungeonId = 0xFF |
| constexpr size_t | kTileAttributeTableSize = 0x200 |
| constexpr size_t | kCollisionMapTiles = 64 * 64 |
| constexpr size_t | kRoomCollisionBytes = 2 * kCollisionMapTiles |
| constexpr int | kEntranceRoom = 0x14813 |
| constexpr int | kEntranceScrollEdge = 0x1491D |
| constexpr int | kEntranceYScroll = 0x14E4F |
| constexpr int | kEntranceXScroll = 0x14D45 |
| constexpr int | kEntranceYPosition = 0x14F59 |
| constexpr int | kEntranceXPosition = 0x15063 |
| constexpr int | kEntranceCameraYTrigger = 0x1516D |
| constexpr int | kEntranceCameraXTrigger = 0x15277 |
| constexpr int | kEntranceBlockset = 0x15381 |
| constexpr int | kEntranceFloor = 0x15406 |
| constexpr int | kEntranceDungeon = 0x1548B |
| constexpr int | kEntranceDoor = 0x15510 |
| constexpr int | kEntranceLadderBG = 0x15595 |
| constexpr int | kEntrancescrolling = 0x1561A |
| constexpr int | kEntranceScrollQuadrant = 0x1569F |
| constexpr int | kEntranceExit = 0x15724 |
| constexpr int | kEntranceMusic = 0x1582E |
| constexpr int | items_data_start = 0xDDE9 |
| constexpr int | items_data_end = 0xE6B2 |
| constexpr int | initial_equipement = 0x271A6 |
| constexpr int | chests_backupitems = 0x3B528 |
| constexpr int | chests_yoffset = 0x4836C |
| constexpr int | chests_xoffset = 0x4836C + (76 * 1) |
| constexpr int | chests_itemsgfx = 0x4836C + (76 * 2) |
| constexpr int | chests_itemswide = 0x4836C + (76 * 3) |
| constexpr int | chests_itemsproperties = 0x4836C + (76 * 4) |
| constexpr int | chests_sramaddress = 0x4836C + (76 * 5) |
| constexpr int | chests_sramvalue = 0x4836C + (76 * 7) |
| constexpr int | chests_msgid = 0x442DD |
| constexpr int | dungeons_startrooms = 0x7939 |
| constexpr int | dungeons_endrooms = 0x792D |
| constexpr int | dungeons_bossrooms = 0x10954 |
| constexpr int | bedPositionX = 0x039A37 |
| constexpr int | bedPositionY = 0x039A32 |
| constexpr int | bedPositionResetXLow = 0x02DE53 |
| constexpr int | bedPositionResetXHigh = 0x02DE58 |
| constexpr int | bedPositionResetYLow = 0x02DE5D |
| constexpr int | bedPositionResetYHigh = 0x02DE62 |
| constexpr int | bedSheetPositionX = 0x0480BD |
| constexpr int | bedSheetPositionY = 0x0480B8 |
| constexpr int | kDungeonRoomCount = 0x128 |
| constexpr int | kDungeonEntranceCount = 0x85 |
| constexpr uint8_t | kTeleportDoorType = 0x46 |
| constexpr int | kRoomObjectSubtype1 = 0x8000 |
| constexpr int | kRoomObjectSubtype2 = 0x83F0 |
| constexpr int | kRoomObjectSubtype3 = 0x84F0 |
| constexpr int | kRoomObjectTileAddress = 0x1B52 |
| constexpr int | kRoomObjectTileAddressFloor = 0x1B5A |
| constexpr uint32_t | kNumGfxSheets = 223 |
| constexpr uint32_t | kNumLinkSheets = 14 |
| constexpr uint32_t | kNumMainBlocksets = 37 |
| constexpr uint32_t | kNumRoomBlocksets = 82 |
| constexpr uint32_t | kNumSpritesets = 144 |
| constexpr uint32_t | kNumPalettesets = 72 |
| constexpr uint32_t | kEntranceGfxGroup = 0x5D97 |
| constexpr uint32_t | kMaxGraphics = 0x0C3FFF |
| constexpr uint32_t | kPalettesetIdsAddress = 0x75460 |
| constexpr uint32_t | kDungeonPalettePointerTable = 0xDEC4B |
| constexpr int | kDungeonPaletteBytes = 180 |
| constexpr uint32_t | kLinkGfxOffset = 0x80000 |
| constexpr uint16_t | kLinkGfxLength = 0x800 |
| constexpr uint32_t | kFontSpriteLocation = 0x70000 |
| constexpr uint32_t | kUncompressedSheetSize = 0x0800 |
| constexpr uint32_t | kTile16Ptr = 0x78000 |
| constexpr uint16_t | kSpriteSheetBase = 0x73 |
| constexpr uint16_t | kSpriteSheetValueCount = 0x67 |
| constexpr uint16_t | kDungeonSpritesetBase = 0x40 |
| constexpr int | kNumOverworldAreas = 0xA0 |
| constexpr int | kNumDungeonRooms = 0x128 |
| constexpr size_t | kGfxSheetCount = 223 |
| constexpr size_t | kGfxSheet3bppBytes = 0x600 |
| constexpr size_t | kGfxSheet2bppBytes = 0x800 |
| constexpr int | kGfxSheetBlockCount = 16 |
| 16x16 blocks per sheet: 8 columns x 2 rows over the 128x32 sheet. | |
| constexpr uint8_t | kTileTypeDiggable1 = 0x48 |
| constexpr uint8_t | kTileTypeDiggable2 = 0x4A |
| constexpr int | kDiggableTilesBitfieldSize = 64 |
| constexpr int | kMaxDiggableTileId = 512 |
| constexpr int | kOverworldCustomDiggableTilesArray = 0x140980 |
| constexpr int | kOverworldCustomDiggableTilesEnabled = 0x140149 |
| constexpr uint16_t | kVanillaDiggableTiles [] |
| constexpr int | kNumVanillaDiggableTiles = 10 |
| constexpr int | kEssentialMapsPerWorld = 1 |
| constexpr int | GravesYTilePos = 0x49968 |
| constexpr int | GravesXTilePos = 0x49986 |
| constexpr int | GravesTilemapPos = 0x499A4 |
| constexpr int | GravesGFX = 0x499C2 |
| constexpr int | GravesXPos = 0x4994A |
| constexpr int | GravesYLine = 0x4993A |
| constexpr int | GravesCountOnY = 0x499E0 |
| constexpr int | GraveLinkSpecialHole = 0x46DD9 |
| constexpr int | GraveLinkSpecialStairs = 0x46DE0 |
| constexpr int | kOverworldMapPaletteIds = 0x7D1C |
| constexpr int | kOverworldSpritePaletteIds = 0x7B41 |
| constexpr int | kOverworldSpritePaletteGroup = 0x75580 |
| constexpr int | kOverworldSpriteset = 0x7A41 |
| constexpr int | kOverworldSpecialGfxGroup = 0x16821 |
| constexpr int | kOverworldSpecialPalGroup = 0x16831 |
| constexpr int | kOverworldSpritesBeginning = 0x4C881 |
| constexpr int | kOverworldSpritesAgahnim = 0x4CA21 |
| constexpr int | kOverworldSpritesZelda = 0x4C901 |
| constexpr int | kAreaGfxIdPtr = 0x7C9C |
| constexpr int | kOverworldMessageIds = 0x3F51D |
| constexpr int | kOverworldMusicBeginning = 0x14303 |
| constexpr int | kOverworldMusicZelda = 0x14303 + 0x40 |
| constexpr int | kOverworldMusicMasterSword = 0x14303 + 0x80 |
| constexpr int | kOverworldMusicAgahnim = 0x14303 + 0xC0 |
| constexpr int | kOverworldMusicDarkWorld = 0x14403 |
| constexpr int | kOverworldEntranceAllowedTilesLeft = 0xDB8C1 |
| constexpr int | kOverworldEntranceAllowedTilesRight = 0xDB917 |
| constexpr int | kOverworldMapSize = 0x12844 |
| constexpr int | kOverworldMapSizeHighByte = 0x12884 |
| constexpr int | kOverworldMapParentId = 0x125EC |
| constexpr int | kOverworldTransitionPositionY = 0x128C4 |
| constexpr int | kOverworldTransitionPositionX = 0x12944 |
| constexpr int | kOverworldScreenSize = 0x1788D |
| constexpr int | kOverworldScreenSizeForLoading = 0x4C635 |
| constexpr int | kOverworldScreenTileMapChangeByScreen1 = 0x12634 |
| constexpr int | kOverworldScreenTileMapChangeByScreen2 = 0x126B4 |
| constexpr int | kOverworldScreenTileMapChangeByScreen3 = 0x12734 |
| constexpr int | kOverworldScreenTileMapChangeByScreen4 = 0x127B4 |
| constexpr int | kOverworldMapDataOverflow = 0x130000 |
| constexpr int | kTransitionTargetNorth = 0x13EE2 |
| constexpr int | kTransitionTargetWest = 0x13F62 |
| constexpr int | overworldCustomMosaicASM = 0x1301D0 |
| constexpr int | overworldCustomMosaicArray = 0x1301F0 |
| constexpr int | kMap16TilesExpanded = 0x1E8000 |
| constexpr int | kMap32TileTRExpanded = 0x020000 |
| constexpr int | kMap32TileBLExpanded = 0x1F0000 |
| constexpr int | kMap32TileBRExpanded = 0x1F8000 |
| constexpr int | kMap32TileCountExpanded = 0x0067E0 |
| constexpr int | kMap32ExpandedFlagPos = 0x01772E |
| constexpr int | kMap16ExpandedFlagPos = 0x02FD28 |
| constexpr int | overworldSpritesBeginingExpanded = 0x141438 |
| constexpr int | overworldSpritesZeldaExpanded = 0x141578 |
| constexpr int | overworldSpritesAgahnimExpanded = 0x1416B8 |
| constexpr int | overworldSpritesDataStartExpanded = 0x04C881 |
| constexpr int | overworldSpecialSpriteGFXGroupExpandedTemp = 0x0166E1 |
| constexpr int | overworldSpecialSpritePaletteExpandedTemp = 0x016701 |
| constexpr int | ExpandedOverlaySpace = 0x120000 |
| constexpr int | kExpandedPtrTableMarker = 0x1423FF |
| constexpr uint8_t | kExpandedPtrTableMagic = 0xEA |
| constexpr int | kExpandedPtrTableHigh = 0x142400 |
| constexpr int | kExpandedPtrTableLow = 0x142640 |
| constexpr int | kExpandedMapCount = 192 |
| constexpr int | overworldTilesType = 0x071459 |
| constexpr int | overworldMessages = 0x03F51D |
| constexpr int | overworldMessagesExpanded = 0x1417F8 |
| constexpr int | kOverworldCompressedMapPos = 0x058000 |
| constexpr int | kOverworldCompressedOverflowPos = 0x137FFF |
| constexpr int | kNumTileTypes = 0x200 |
| constexpr int | kMap16Tiles = 0x78000 |
| constexpr int | kNumTile16Individual = 4096 |
| constexpr int | Map32PerScreen = 256 |
| constexpr int | NumberOfMap16 = 3752 |
| constexpr int | NumberOfMap16Ex = 4096 |
| constexpr int | kMap32DefinitionsPerPackedGroup = 4 |
| constexpr int | kMap32BytesPerPackedGroup = 6 |
| constexpr int | kMap32TileStorageBytesVanilla = 0x33F0 |
| constexpr int | kMap32TileStorageBytesExpanded = kMap32TileCountExpanded |
| constexpr int | kMap32DefinitionCapacityVanilla |
| constexpr int | kMap32DefinitionCapacityExpanded |
| constexpr int | LimitOfMap32 = kMap32DefinitionCapacityVanilla |
| constexpr int | NumberOfOWSprites = 352 |
| constexpr int | NumberOfMap32 = Map32PerScreen * kNumOverworldMaps |
| constexpr int | kNumMapsPerWorld = 0x40 |
| constexpr int | kAllocationAreaCount = 0xC0 |
| constexpr int | kSpecialTailFirstArea = 0xA0 |
| constexpr int | kEntranceRoomEXP = 0x078000 |
| constexpr int | kEntranceScrollEdgeEXP = 0x078200 |
| constexpr int | kEntranceCameraYEXP = 0x078A00 |
| constexpr int | kEntranceCameraXEXP = 0x078C00 |
| constexpr int | kEntranceYPositionEXP = 0x078E00 |
| constexpr int | kEntranceXPositionEXP = 0x079000 |
| constexpr int | kEntranceCameraYTriggerEXP = 0x079200 |
| constexpr int | kEntranceCameraXTriggerEXP = 0x079400 |
| constexpr int | kEntranceBlocksetEXP = 0x079600 |
| constexpr int | kEntranceFloorEXP = 0x079700 |
| constexpr int | kEntranceDungeonEXP = 0x079800 |
| constexpr int | kEntranceDoorEXP = 0x079900 |
| constexpr int | kEntranceLadderBgEXP = 0x079A00 |
| constexpr int | kEntranceScrollingEXP = 0x079B00 |
| constexpr int | kEntranceScrollQuadrantEXP = 0x079C00 |
| constexpr int | kEntranceExitEXP = 0x079D00 |
| constexpr int | kEntranceMusicEXP = 0x079F00 |
| constexpr int | kEntranceExtraEXP = 0x07A000 |
| constexpr int | kEntranceTotalEXP = 0xFF |
| constexpr int | kEntranceTotal = 0x84 |
| constexpr int | kEntranceLinkSpawn = 0x00 |
| constexpr int | kEntranceNorthTavern = 0x43 |
| constexpr int | kEntranceEXP = 0x07F000 |
| constexpr int | kEntranceCameraY = 0x014D45 |
| constexpr int | kEntranceCameraX = 0x014E4F |
| constexpr int | kNumOverworldEntrances = 129 |
| constexpr int | kNumOverworldHoles = 0x13 |
| constexpr int | kOverworldEntranceMap = 0xDB96F |
| constexpr int | kOverworldEntrancePos = 0xDBA71 |
| constexpr int | kOverworldEntranceEntranceId = 0xDBB73 |
| constexpr int | kOverworldEntranceMapExpanded = 0x0DB55F |
| constexpr int | kOverworldEntrancePosExpanded = 0x0DB35F |
| constexpr int | kOverworldEntranceEntranceIdExpanded = 0x0DB75F |
| constexpr int | kOverworldEntranceExpandedFlagPos = 0x0DB895 |
| constexpr int | kOverworldHolePos = 0xDB800 |
| constexpr int | kOverworldHoleArea = 0xDB826 |
| constexpr int | kOverworldHoleEntrance = 0xDB84C |
| constexpr int | kEntranceTileTypePtrLow = 0xDB8BF |
| constexpr int | kEntranceTileTypePtrHigh = 0xDB917 |
| constexpr int | kNumEntranceTileTypes = 0x2C |
| constexpr int | kNumOverworldExits = 0x4F |
| constexpr int | OWExitRoomId = 0x15D8A |
| constexpr int | OWExitMapId = 0x15E28 |
| constexpr int | OWExitVram = 0x15E77 |
| constexpr int | OWExitYScroll = 0x15F15 |
| constexpr int | OWExitXScroll = 0x15FB3 |
| constexpr int | OWExitYPlayer = 0x16051 |
| constexpr int | OWExitXPlayer = 0x160EF |
| constexpr int | OWExitYCamera = 0x1618D |
| constexpr int | OWExitXCamera = 0x1622B |
| constexpr int | OWExitDoorPosition = 0x15724 |
| constexpr int | OWExitUnk1 = 0x162C9 |
| constexpr int | OWExitUnk2 = 0x16318 |
| constexpr int | OWExitDoorType1 = 0x16367 |
| constexpr int | OWExitDoorType2 = 0x16405 |
| constexpr int | OWExitMapIdWhirlpool = 0x16AE5 |
| constexpr int | OWExitVramWhirlpool = 0x16B07 |
| constexpr int | OWExitYScrollWhirlpool = 0x16B29 |
| constexpr int | OWExitXScrollWhirlpool = 0x16B4B |
| constexpr int | OWExitYPlayerWhirlpool = 0x16B6D |
| constexpr int | OWExitXPlayerWhirlpool = 0x16B8F |
| constexpr int | OWExitYCameraWhirlpool = 0x16BB1 |
| constexpr int | OWExitXCameraWhirlpool = 0x16BD3 |
| constexpr int | OWExitUnk1Whirlpool = 0x16BF5 |
| constexpr int | OWExitUnk2Whirlpool = 0x16C17 |
| constexpr int | OWWhirlpoolPosition = 0x16CF8 |
| constexpr int | kNumOverworldMapItemPointers = 0x80 |
| constexpr int | kOverworldItemsPointers = 0xDC2F9 |
| constexpr int | kOverworldItemsAddress = 0xDC8B9 |
| constexpr int | kOverworldItemsBank = 0xDC8BF |
| constexpr int | kOverworldItemsEndData = 0xDC89C |
| constexpr int | kOverworldBombDoorItemLocationsNew = 0x012644 |
| constexpr int | kOverworldItemsPointersNew = 0x012784 |
| constexpr int | kOverworldItemsStartDataNew = 0x0DC2F9 |
| constexpr int | overworldItemsPointers = 0x0DC2F9 |
| constexpr int | overworldItemsAddress = 0x0DC8B9 |
| constexpr int | overworldItemsAddressBank = 0x0DC8BF |
| constexpr int | overworldItemsEndData = 0x0DC89C |
| constexpr int | overworldBombDoorItemLocationsNew = 0x012644 |
| constexpr int | overworldItemsPointersNew = 0x012784 |
| constexpr int | overworldItemsStartDataNew = 0x0DC2F9 |
| const std::vector< std::string > | kSecretItemNames |
| constexpr int | OverworldCustomAreaSpecificBGPalette = 0x140000 |
| constexpr int | OverworldCustomAreaSpecificBGEnabled = 0x140140 |
| constexpr int | OverworldCustomSubscreenOverlayArray |
| constexpr int | OverworldCustomSubscreenOverlayEnabled |
| constexpr int | OverworldCustomAnimatedGFXArray |
| constexpr int | OverworldCustomAnimatedGFXEnabled |
| constexpr int | OverworldCustomTileGFXGroupArray |
| constexpr int | OverworldCustomTileGFXGroupEnabled |
| constexpr int | OverworldCustomMosaicArray |
| constexpr int | OverworldCustomMosaicEnabled |
| constexpr int | kOverlayPointers |
| constexpr int | kOverlayPointersBank = 0x0E |
| constexpr int | kOverlayData1 = 0x77676 |
| constexpr int | kOverlayData2 = 0x77677 |
| constexpr int | kOverlayCodeStart = 0x77657 |
| constexpr int | OverworldCustomMainPaletteArray = 0x140160 |
| constexpr int | OverworldCustomMainPaletteEnabled = 0x140141 |
| constexpr int | OverworldCustomDefaultGFXGroups = 0x140980 |
| constexpr int | kAnimatedSheetSlotBytes = 0x800 |
| constexpr int | kOverworldMessagesExpanded = 0x1417F8 |
| constexpr int | kOverworldMapParentIdExpanded = 0x140998 |
| constexpr int | kOverworldTransitionPositionYExpanded = 0x140F38 |
| constexpr int | kOverworldTransitionPositionXExpanded = 0x141078 |
| constexpr int | kOverworldScreenTileMapChangeByScreen1Expanded = 0x140A38 |
| constexpr int | kOverworldScreenTileMapChangeByScreen2Expanded = 0x140B78 |
| constexpr int | kOverworldScreenTileMapChangeByScreen3Expanded = 0x140CB8 |
| constexpr int | kOverworldScreenTileMapChangeByScreen4Expanded = 0x140DF8 |
| constexpr int | kOverworldSpecialSpriteGFXGroup = 0x016811 |
| constexpr int | kOverworldSpecialGFXGroup = 0x016821 |
| constexpr int | kOverworldSpecialPALGroup = 0x016831 |
| constexpr int | kOverworldSpecialSpritePalette = 0x016841 |
| constexpr int | kOverworldPalettesScreenToSetNew = 0x4C635 |
| constexpr int | kOverworldSpecialSpriteGfxGroupExpandedTemp = 0x0166E1 |
| constexpr int | kOverworldSpecialSpritePaletteExpandedTemp = 0x016701 |
| constexpr int | transition_target_northExpanded = 0x1411B8 |
| constexpr int | transition_target_westExpanded = 0x1412F8 |
| constexpr int | kDarkWorldMapIdStart = 0x40 |
| constexpr int | kSpecialWorldMapIdStart = 0x80 |
| constexpr int | kOverworldSpriteDataStart = 0x4CB41 |
| constexpr int | kOverworldSpriteDataEnd = 0x4D62E |
| constexpr int | kRoomSpritePointerTableOperand = 0x4C298 |
| constexpr int | kMaxTile8UsageId = 1024 |
| const char *const | kSpriteNames [] |
| const size_t | kSpriteNameCount = sizeof(kSpriteNames) / sizeof(kSpriteNames[0]) |
| constexpr int | kDungeonMapRoomsPtr = 0x57605 |
| constexpr int | kDungeonMapFloors = 0x575D9 |
| constexpr int | kDungeonMapGfxPtr = 0x57BE4 |
| constexpr int | kDungeonMapDataStart = 0x57039 |
| constexpr int | kDungeonMapDataReservedStart = 0x575D9 |
| constexpr int | kDungeonMapDataReservedEnd = 0x57620 |
| constexpr int | kDungeonMapDataLimit = 0x57CE0 |
| constexpr int | kDungeonMapExpCheck = 0x56652 |
| constexpr int | kDungeonMapTile16 = 0x57009 |
| constexpr int | kDungeonMapTile16Expanded = 0x109010 |
| constexpr int | kDungeonMapBossRooms = 0x56807 |
| constexpr int | kDungeonMapBossFloors = 0x56E79 |
| constexpr int | kTriforceVertices = 0x04FFD2 |
| constexpr int | kTriforceFaces = 0x04FFE4 |
| constexpr int | kCrystalVertices = 0x04FF98 |
| constexpr int | kNumDungeons = 14 |
| constexpr int | kNumRooms = 25 |
| constexpr int | kNumDungeonMapTile16 = 186 |
| constexpr int | kInventoryStart = 0x6564A |
| constexpr int | kItemIconsPtr = 0x0DF629 |
| const std::string | kOverlordNames [26] |
| const std::string | kSpriteDefaultNames [256] |
| constexpr const char * | kSpriteProperties [] |
| const SpriteOamLayout | kVultureLayout |
| const SpriteOamLayout | kOctorokLayout |
| const SpriteOamLayout | kChickenLayout |
| const SpriteOamLayout | kGreenSoldierLayout |
| const SpriteOamLayout | kBlueSoldierLayout |
| const SpriteOamLayout | kRedSoldierLayout |
| const SpriteOamLayout | kBlueGuardLayout |
| const SpriteOamLayout | kGreenPatrolLayout |
| const SpriteOamLayout | kArmosKnightLayout |
| const SpriteOamLayout | kOctoballoonLayout |
| const SpriteOamLayout | kRedEyegoreLayout |
| const SpriteOamLayout | kGreenEyegoreLayout |
| const SpriteOamLayout | kMoblinLayout |
| const SpriteOamLayout | kHinoxLayout |
| const SpriteOamLayout | kUncleLayout |
| const SpriteOamLayout | kHeartContainerLayout |
| const SpriteOamLayout | kGreenRupeeLayout |
| const SpriteOamLayout | kBlueRupeeLayout |
| const SpriteOamLayout | kRedRupeeLayout |
| const SpriteOamLayout | kSmallHeartLayout |
| const SpriteOamLayout | kKeyLayout |
| const SpriteOamLayout | kSmallMagicLayout |
| const SpriteOamLayout | kLargeMagicLayout |
Zelda 3 specific classes and functions.
| using yaze::zelda3::DrawRoutineFn = std::function<void(const DrawContext& ctx)> |
Function signature for a draw routine.
All draw routines are static functions with this signature. They receive all context via DrawContext and write tiles to target_bg.
Definition at line 58 of file draw_routine_types.h.
| using yaze::zelda3::DungeonSpawnPointWriteRange = std::pair<uint32_t, uint32_t> |
Definition at line 73 of file dungeon_spawn_point.h.
| using yaze::zelda3::EntranceTable = std::pair<uint32_t, uint32_t> |
Definition at line 44 of file entrance_layout.h.
| using yaze::zelda3::json = nlohmann::json |
Definition at line 13 of file object_templates.cc.
| using yaze::zelda3::DungeonEntranceWriteRange = std::pair<uint32_t, uint32_t> |
Definition at line 47 of file room_entrance.h.
| using yaze::zelda3::RoomLinkFactsLookup = std::function<const RoomLinkFacts*(int room_id)> |
Definition at line 147 of file room_links.h.
| using yaze::zelda3::SheetColor = std::array<uint8_t, 3> |
Definition at line 28 of file gfx_sheet_png.h.
| using yaze::zelda3::SheetPalette = std::array<SheetColor, 8> |
Colors for 3bpp indices 0-7. Index 0 is exported as transparent.
Definition at line 30 of file gfx_sheet_png.h.
| using yaze::zelda3::PaletteAddressMap = std::array<std::optional<PaletteColorAddress>, 128> |
Definition at line 33 of file resolved_graphics_context.h.
| using yaze::zelda3::PreviewTile8 = std::array<uint8_t, 64> |
Definition at line 15 of file graphics_preview.h.
| using yaze::zelda3::AreaGraphicsPreview = std::map<uint16_t, PreviewTile8> |
Definition at line 16 of file graphics_preview.h.
| using yaze::zelda3::OverworldGraphicsPreview = std::map<int, AreaGraphicsPreview> |
Definition at line 17 of file graphics_preview.h.
| using yaze::zelda3::OverworldBlockset = std::vector<std::vector<uint16_t>> |
Represents tile32 data for the overworld.
Definition at line 150 of file overworld_map.h.
| typedef struct yaze::zelda3::OverworldMapTiles yaze::zelda3::OverworldMapTiles |
Overworld map tile32 data.
| using yaze::zelda3::OverworldTilesetKey = std::array<uint8_t, 17> |
Sheet ids that fully determine a map's 64KB tileset (current_graphics): the 16 static sheets plus the animated sheet that fills the top of slot 7.
Definition at line 230 of file overworld_map.h.
| using yaze::zelda3::OverworldSpriteBytes = std::vector<uint8_t> |
Definition at line 29 of file overworld_sprite_io.h.
Definition at line 30 of file overworld_sprite_io.h.
| using yaze::zelda3::OverworldSpriteSavePlan = std::vector<OverworldSpriteWrite> |
Definition at line 36 of file overworld_sprite_io.h.
| using yaze::zelda3::Tile8PixelData = std::array<uint8_t, 64> |
Definition at line 15 of file tile16_renderer.h.
| using yaze::zelda3::Tile8UsageIndex = std::array<std::vector<Tile8UsageHit>, kMaxTile8UsageId> |
Definition at line 20 of file tile16_usage_index.h.
Definition at line 72 of file dungeon_map.h.
|
strong |
| Enumerator | |
|---|---|
| kDefaultFilename | |
| kConfiguredFilename | |
| kConfiguredSlotUnmapped | |
Definition at line 122 of file custom_object.h.
|
strong |
Door direction on room walls.
Doors in ALTTP can only be placed on the four edges of a room. The direction determines which wall the door is on and affects its dimensions and orientation.
| Enumerator | |
|---|---|
| North | Top wall (horizontal door, 4x3 tiles) |
| South | Bottom wall (horizontal door, 4x3 tiles) |
| West | Left wall (vertical door, 3x4 tiles) |
| East | Right wall (vertical door, 3x4 tiles) |
Definition at line 18 of file door_types.h.
|
strong |
Door types from ALTTP.
Complete list of 52 door types from the ROM's DoorGFXDataOffset tables. Values step by 2 (0x00, 0x02, 0x04, ... 0x66).
Source: bank_00.asm DoorGFXDataOffset_North table (lines 8070-8122)
Definition at line 33 of file door_types.h.
|
strong |
| Enumerator | |
|---|---|
| kTileObjects | |
| kSprites | |
| kDoors | |
| kChests | |
| Overlords | |
| SpecialDoors | |
| StairsTransition | |
| Blocks | |
| Torches | |
| StarTiles | |
| SomariaLine | |
| StairsNorth | |
| StairsSouth | |
| GeneralManipulable | |
Definition at line 35 of file dungeon_limits.h.
|
strong |
| Enumerator | |
|---|---|
| kObject | |
| kSprite | |
| kPotItem | |
Definition at line 19 of file dungeon_stream_allocator.h.
|
strong |
| Enumerator | |
|---|---|
| kLong24 | |
| kFixedBank16 | |
Definition at line 25 of file dungeon_stream_allocator.h.
|
strong |
| Enumerator | |
|---|---|
| kInvalidPointer | |
| kPointerOutsideDataRanges | |
| kMalformedStream | |
Definition at line 51 of file dungeon_stream_allocator.h.
|
strong |
| Enumerator | |
|---|---|
| kSuffix | |
| kInterior | |
Definition at line 85 of file dungeon_stream_allocator.h.
|
strong |
| Enumerator | |
|---|---|
| kCopyOnWrite | |
| kRepackAll | |
Definition at line 133 of file dungeon_stream_allocator.h.
|
strong |
| Enumerator | |
|---|---|
| kLegacy | |
| kZscreamExpanded | |
Definition at line 19 of file entrance_layout.h.
|
strong |
| Enumerator | |
|---|---|
| kRoom | |
| kScrollEdge | |
| kYScroll | |
| kXScroll | |
| kYPosition | |
| kXPosition | |
| kCameraYTrigger | |
| kCameraXTrigger | |
| kBlockset | |
| kFloor | |
| kDungeon | |
| kDoor | |
| kLadderBG | |
| kScrolling | |
| kScrollQuadrant | |
| kExit | |
| kMusic | |
| kCount | |
Definition at line 21 of file entrance_layout.h.
|
strong |
| Enumerator | |
|---|---|
| kBg1 | |
| kBg2 | |
| kBothBg1Bg2 | |
Definition at line 15 of file object_layer_semantics.h.
|
strong |
| Enumerator | |
|---|---|
| kStoredPlacement | |
| kFixedBg1 | |
| kFixedBg2 | |
| kFullBothBg1Bg2 | |
| kMixedBg1Bg2 | |
Definition at line 11 of file object_render_routing.h.
|
strong |
| Enumerator | |
|---|---|
| kLightableTorchDraw | |
| kTorchLightingChange | |
Definition at line 63 of file object_tile_editor.h.
|
strong |
| Enumerator | |
|---|---|
| INFO | |
| WARNING | |
| ERROR | |
Definition at line 13 of file palette_debug.h.
| enum yaze::zelda3::CollisionKey : uint8_t |
| enum yaze::zelda3::EffectKey : uint8_t |
| enum yaze::zelda3::TagKey : uint8_t |
|
strong |
| Enumerator | |
|---|---|
| kInUse | |
| kFree | |
| kReclaimable | |
Definition at line 63 of file room_census.h.
|
strong |
| Enumerator | |
|---|---|
| kTilemap | |
| kStar | |
| kStairs | |
| kLayerStairs | |
| kWater | |
| kManipulable | |
| kTorch | |
| kChest | |
| kBigKeyLock | |
| kDoor | |
| kLockedDoor | |
| kDoorLayerToggle | |
| kDoorSwitch | |
| kCrystalPeg | |
Definition at line 46 of file room_collision.h.
|
strong |
| Enumerator | |
|---|---|
| kResolved | |
| kTriggerUnavailable | |
| kOverlappingStairs | |
| kOutsideRoom | |
| kTooManyStairs | |
Definition at line 124 of file room_collision.h.
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kDirect | |
| kDungeonMap | |
| kNeighbour | |
Definition at line 14 of file room_default_entrance.h.
|
strong |
| Enumerator | |
|---|---|
| kExplicitPreview | |
| kDirectDefault | |
| kInferredDefault | |
| kHeaderFallback | |
| kZeroFallback | |
Definition at line 41 of file room_default_entrance.h.
|
strong |
Layer types for the 4-way visibility system.
The SNES dungeon rendering uses two background layers (BG1, BG2). Each layer has two components:
| Enumerator | |
|---|---|
| BG1_Layout | |
| BG1_Objects | |
| BG2_Layout | |
| BG2_Objects | |
Definition at line 23 of file room_layer_manager.h.
|
strong |
Layer blend modes for compositing.
| Enumerator | |
|---|---|
| Normal | |
| Translucent | |
| Addition | |
| Dark | |
| Off | |
Definition at line 33 of file room_layer_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kEntrance | |
| kHole | |
| kSpawn | |
| kUnplacedEntrance | |
| kDoor | |
| kStair | |
| kHolewarp | |
| kWarpTag | |
| kHeaderOnly | |
| kProjectListing | |
| kDungeonMap | |
| kTeleportDoor | |
Definition at line 57 of file room_links.h.
|
strong |
| Enumerator | |
|---|---|
| kNeighbor | |
| kTeleport | |
| kExit | |
| kKeyStairs | |
Definition at line 75 of file room_links.h.
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kPits | |
| kWarpTiles | |
| kTag | |
| kSprite | |
Definition at line 124 of file room_links.h.
|
strong |
| Enumerator | |
|---|---|
| Chest | |
| BigChest | |
| InterroomStairs | |
Definition at line 17 of file room_object.h.
| Enumerator | |
|---|---|
| All | |
| Wall | |
| Horizontal | |
| Vertical | |
| NonScalable | |
| Dungeons | |
| Floors | |
| SortStairs | |
Definition at line 19 of file room_object.h.
|
strong |
| Enumerator | |
|---|---|
| Nothing | |
| Door | |
| Chest | |
| Block | |
| Torch | |
| Bgr | |
| Stairs | |
Definition at line 30 of file room_object.h.
|
strong |
Definition at line 23 of file track_collision_generator.h.
|
strong |
| Enumerator | |
|---|---|
| kCompressed3bpp | |
| kRaw3bpp | |
| kCompressed2bpp | |
Definition at line 35 of file gfx_sheet_storage.h.
|
strong |
| Enumerator | |
|---|---|
| kInPlace | |
| kRelocated | |
Definition at line 117 of file gfx_sheet_storage.h.
|
strong |
| Enumerator | |
|---|---|
| kDungeonMain | |
| kOverworldMain | |
| kOverworldAux | |
Definition at line 26 of file resolved_graphics_context.h.
|
strong |
| Enumerator | |
|---|---|
| kLight | |
| kDark | |
| kSpecial | |
Definition at line 34 of file overworld_allocation.h.
|
strong |
| Enumerator | |
|---|---|
| kSmall | |
| kLarge | |
| kWide | |
| kTall | |
Definition at line 36 of file overworld_allocation.h.
|
strong |
| Enumerator | |
|---|---|
| kSafe | |
| kUnsafe | |
| kAlreadyApplied | |
Definition at line 194 of file overworld_allocation.h.
|
strong |
| Enumerator | |
|---|---|
| kRom | |
| kPatch | |
| kYaze | |
Definition at line 195 of file overworld_allocation.h.
|
strong |
Source of slots 3-6 for roomset impact reporting. Custom v3 background groups replace all eight slots, including $FF world-default entries.
| Enumerator | |
|---|---|
| kSharedSessionGroup | |
| kCustomTileGroups | |
| kIndependentRomGroup | |
Definition at line 180 of file overworld_map.h.
|
strong |
| Enumerator | |
|---|---|
| kSharedSessionGroup | |
| kIndependentRomGroup | |
| kAreaOverride | |
| kCustomTileGroups | |
Definition at line 186 of file overworld_map.h.
|
strong |
| Enumerator | |
|---|---|
| kNoChange | |
| kInPlace | |
| kGrowInPlace | |
| kRelocate | |
Definition at line 48 of file overworld_sprite_io.h.
|
strong |
Area size enumeration for v3+ ROMs.
v3 introduces explicit area size types beyond the simple large_map_ flag:
| Enumerator | |
|---|---|
| SmallArea | |
| LargeArea | |
| WideArea | |
| TallArea | |
Definition at line 65 of file overworld_version_helper.h.
|
strong |
ROM version detection for overworld features.
Centralizes version checks to distinguish between:
The version is stored at ROM address 0x140145 (OverworldCustomASMHasBeenApplied).
Definition at line 83 of file overworld_version_helper.h.
|
strong |
Enumeration of all supported resource types for labeling.
| Enumerator | |
|---|---|
| kSprite | |
| kRoom | |
| kEntrance | |
| kItem | |
| kOverlord | |
| kOverworldMap | |
| kMusic | |
| kGraphics | |
| kRoomEffect | |
| kRoomTag | |
| kTileType | |
Definition at line 20 of file resource_labels.h.
| void yaze::zelda3::stle16b_i | ( | uint8_t *const | p_arr, |
| size_t const | p_index, | ||
| uint16_t const | p_val ) |
Store little endian 16-bit value using a byte pointer, offset by an index before dereferencing.
Definition at line 59 of file hyrule_magic.cc.
References stle16b().

| void yaze::zelda3::stle16b | ( | uint8_t *const | p_arr, |
| uint16_t const | p_val ) |
Definition at line 64 of file hyrule_magic.cc.
Referenced by yaze::gfx::HyruleMagicDecompress(), and stle16b_i().
| uint16_t yaze::zelda3::ldle16b | ( | uint8_t const *const | p_arr | ) |
Definition at line 69 of file hyrule_magic.cc.
Referenced by yaze::gfx::HyruleMagicDecompress(), and ldle16b_i().
| uint16_t yaze::zelda3::ldle16b_i | ( | uint8_t const *const | p_arr, |
| size_t const | p_index ) |
Load little endian halfword (16-bit) dereferenced from an arrays of bytes. This version provides an index that will be multiplied by 2 and added to the base address.
Definition at line 75 of file hyrule_magic.cc.
References ldle16b().

| absl::StatusOr< CutsceneShotSet > yaze::zelda3::ParseCutsceneShots | ( | std::string_view | json | ) |
Definition at line 91 of file cutscene_shot.cc.
References yaze::zelda3::CutsceneShot::actors, yaze::zelda3::CutsceneShot::area, yaze::zelda3::CutsceneShot::camera_x, yaze::zelda3::CutsceneShot::camera_y, yaze::zelda3::CutsceneActor::facing, yaze::zelda3::CutsceneShot::link, yaze::zelda3::CutsceneShot::name, yaze::zelda3::CutsceneActor::note, yaze::zelda3::CutsceneShotSet::shots, yaze::zelda3::CutsceneActor::sprite, yaze::zelda3::CutsceneActor::x, and yaze::zelda3::CutsceneActor::y.
Referenced by yaze::editor::CutsceneCameraPanel::Load(), and SerializeCutsceneShots().
| absl::StatusOr< std::string > yaze::zelda3::SerializeCutsceneShots | ( | const CutsceneShotSet & | set | ) |
Definition at line 206 of file cutscene_shot.cc.
References ParseCutsceneShots(), and yaze::zelda3::CutsceneShotSet::shots.
Referenced by yaze::editor::CutsceneCameraPanel::Draw(), and yaze::editor::CutsceneCameraPanel::Save().

| CameraBounds yaze::zelda3::CameraBoundsForArea | ( | const AreaExtent & | area | ) |
Definition at line 240 of file cutscene_shot.cc.
References yaze::zelda3::AreaExtent::height, kCutsceneViewportHeight, kCutsceneViewportWidth, yaze::zelda3::CameraBounds::max_x, yaze::zelda3::CameraBounds::max_y, yaze::zelda3::CameraBounds::min_x, yaze::zelda3::CameraBounds::min_y, yaze::zelda3::AreaExtent::origin_x, yaze::zelda3::AreaExtent::origin_y, and yaze::zelda3::AreaExtent::width.
Referenced by ClampCamera().
| ClampedCamera yaze::zelda3::ClampCamera | ( | const AreaExtent & | area, |
| int | x, | ||
| int | y ) |
Definition at line 249 of file cutscene_shot.cc.
References CameraBoundsForArea(), yaze::zelda3::CameraBounds::max_x, yaze::zelda3::CameraBounds::max_y, yaze::zelda3::CameraBounds::min_x, yaze::zelda3::CameraBounds::min_y, yaze::zelda3::ClampedCamera::requested_x, yaze::zelda3::ClampedCamera::requested_y, yaze::zelda3::ClampedCamera::x, and yaze::zelda3::ClampedCamera::y.
Referenced by yaze::editor::CutsceneCameraPanel::DrawCanvas(), and yaze::editor::CutsceneCameraPanel::DrawShotFields().

| absl::StatusOr< AreaExtent > yaze::zelda3::VanillaAreaExtent | ( | int | area | ) |
Definition at line 259 of file cutscene_shot.cc.
References yaze::zelda3::AreaExtent::height, yaze::zelda3::AreaExtent::origin_x, yaze::zelda3::AreaExtent::origin_y, and yaze::zelda3::AreaExtent::width.
Referenced by yaze::editor::CutsceneCameraPanel::ExtentFor().
| AreaExtent yaze::zelda3::AreaExtentFromParent | ( | int | parent, |
| AreaSizeEnum | size ) |
Definition at line 282 of file cutscene_shot.cc.
References yaze::zelda3::AreaExtent::height, LargeArea, yaze::zelda3::AreaExtent::origin_x, yaze::zelda3::AreaExtent::origin_y, TallArea, WideArea, and yaze::zelda3::AreaExtent::width.
Referenced by yaze::editor::CutsceneCameraPanel::ExtentFor().
| MapRect yaze::zelda3::ViewportOnMap | ( | const AreaExtent & | area, |
| int | camera_x, | ||
| int | camera_y, | ||
| float | scale ) |
Definition at line 296 of file cutscene_shot.cc.
References kCutsceneViewportHeight, kCutsceneViewportWidth, yaze::zelda3::AreaExtent::origin_x, and yaze::zelda3::AreaExtent::origin_y.
Referenced by yaze::editor::CutsceneCameraPanel::DrawCanvas().
| MapRect yaze::zelda3::PointOnMap | ( | const AreaExtent & | area, |
| int | world_x, | ||
| int | world_y, | ||
| float | scale ) |
Definition at line 303 of file cutscene_shot.cc.
References yaze::zelda3::AreaExtent::origin_x, and yaze::zelda3::AreaExtent::origin_y.
Referenced by yaze::editor::CutsceneCameraPanel::DrawCanvas().
| bool yaze::zelda3::PointInViewport | ( | int | camera_x, |
| int | camera_y, | ||
| int | world_x, | ||
| int | world_y ) |
Definition at line 309 of file cutscene_shot.cc.
References kCutsceneViewportHeight, and kCutsceneViewportWidth.
Referenced by yaze::editor::CutsceneCameraPanel::DrawCanvas().
| std::optional< size_t > yaze::zelda3::ChestIndexForObject | ( | const std::vector< RoomObject > & | objects, |
| size_t | object_index ) |
Definition at line 63 of file chest_edit.cc.
Referenced by yaze::editor::CopyDungeonSelection(), yaze::editor::TileObjectHandler::CopyObjectsToClipboard(), yaze::editor::DrawDungeonChestEditor(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::FindChestObject(), yaze::editor::anonymous_namespace{dungeon_editor_v2_chest_edits.cc}::ObjectForChest(), and yaze::editor::DungeonCanvasViewer::RenderChestContents().
| absl::Status yaze::zelda3::ValidateChestObjectMapping | ( | const std::vector< RoomObject > & | objects, |
| const std::vector< chest_data > & | chests ) |
Definition at line 74 of file chest_edit.cc.
Referenced by yaze::editor::CopyDungeonSelection(), yaze::editor::TileObjectHandler::CopyObjectsToClipboard(), yaze::editor::DrawDungeonChestEditor(), PlanChestObjectEdit(), yaze::editor::DungeonCanvasViewer::RenderChestContents(), and yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateObjectReplacement().
| absl::StatusOr< std::vector< chest_data > > yaze::zelda3::PlanChestObjectEdit | ( | const std::vector< RoomObject > & | before_objects, |
| const std::vector< chest_data > & | before_chests, | ||
| const std::vector< RoomObject > & | after_objects, | ||
| const std::vector< std::optional< size_t > > & | source_indices, | ||
| const std::vector< std::optional< chest_data > > & | chest_overrides ) |
Definition at line 94 of file chest_edit.cc.
References UsesRoomObjectStream(), and ValidateChestObjectMapping().
Referenced by yaze::editor::TileObjectHandler::CommitCandidate(), yaze::editor::DungeonEditorV2::DeleteChest(), yaze::editor::DungeonEditorV2::EditChest(), yaze::editor::PlanDungeonSelectionEdit(), and yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateObjectReplacement().

| absl::StatusOr< CustomCollisionMap > yaze::zelda3::LoadCustomCollisionMap | ( | Rom * | rom, |
| int | room_id ) |
Definition at line 32 of file custom_collision.cc.
References yaze::zelda3::CustomCollisionMap::has_data, yaze::Rom::is_loaded(), kCollisionMapTiles, kCustomCollisionDataSoftEnd, kCustomCollisionRoomPointers, kNumberOfRooms, yaze::zelda3::CustomCollisionMap::SetOverride(), yaze::SnesToPc(), yaze::zelda3::CustomCollisionMap::tiles, and yaze::Rom::vector().
Referenced by yaze::cli::handlers::anonymous_namespace{minecart_commands.cc}::AuditRoom(), yaze::editor::DungeonRenderingHelpers::DrawMinecartSpriteOverlay(), DumpCustomCollisionSourceFromRom(), yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded(), yaze::cli::handlers::DungeonListCustomCollisionCommandHandler::Execute(), yaze::cli::handlers::DungeonImportCustomCollisionJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonGenerateTrackCollisionCommandHandler::Execute(), yaze::cli::handlers::DungeonMinecartMapCommandHandler::Execute(), yaze::cli::handlers::DungeonExportCustomCollisionJsonCommandHandler::ExecuteWithContext(), yaze::editor::DungeonCanvasViewer::GetCollisionOverlayCache(), yaze::zelda3::Room::LoadObjects(), yaze::cli::handlers::anonymous_namespace{dungeon_map_commands.cc}::OverlayCustomCollision(), and RunOracleRomSafetyPreflight().

| absl::StatusOr< std::string > yaze::zelda3::DumpCustomCollisionRoomsToJsonString | ( | const std::vector< CustomCollisionRoomEntry > & | rooms | ) |
Definition at line 147 of file custom_collision.cc.
References kCollisionMapTiles, and kNumberOfRooms.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), DumpCustomCollisionSourceFromRom(), and yaze::cli::handlers::DungeonExportCustomCollisionJsonCommandHandler::ExecuteWithContext().
| absl::StatusOr< std::vector< CustomCollisionRoomEntry > > yaze::zelda3::LoadCustomCollisionRoomsFromJsonString | ( | const std::string & | json_content | ) |
Definition at line 207 of file custom_collision.cc.
References kCollisionMapTiles, kNumberOfRooms, yaze::zelda3::CustomCollisionTileEntry::offset, yaze::zelda3::CustomCollisionRoomEntry::room_id, yaze::zelda3::CustomCollisionRoomEntry::tiles, and yaze::zelda3::CustomCollisionTileEntry::value.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), and yaze::cli::handlers::DungeonImportCustomCollisionJsonCommandHandler::Execute().
| absl::StatusOr< std::string > yaze::zelda3::DumpCustomCollisionSourceFromRom | ( | Rom * | rom | ) |
Definition at line 363 of file custom_collision.cc.
References DumpCustomCollisionRoomsToJsonString(), kNumberOfRooms, LoadCustomCollisionMap(), yaze::zelda3::CustomCollisionRoomEntry::room_id, and yaze::zelda3::CustomCollisionRoomEntry::tiles.
Referenced by yaze::editor::anonymous_namespace{collision_source_pairing.cc}::CollisionSourceOfRomBytes(), yaze::editor::SaveRomWithCollisionSource(), and yaze::editor::ValidateRomCollisionSourceBinding().

| absl::StatusOr< CustomObject > yaze::zelda3::DecodeCustomObjectBinary | ( | const std::vector< uint8_t > & | data | ) |
Definition at line 112 of file custom_object.cc.
Referenced by EncodeCustomObjectBinary(), LoadCustomObjectAsset(), and PublishCustomObjectBinary().
| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::EncodeCustomObjectBinary | ( | const CustomObject & | object | ) |
Definition at line 180 of file custom_object.cc.
References DecodeCustomObjectBinary().
Referenced by PublishCustomObjectBinary().

| absl::StatusOr< std::filesystem::path > yaze::zelda3::ResolveCustomObjectAssetPath | ( | const std::string & | custom_objects_folder, |
| const std::string & | filename ) |
Definition at line 302 of file custom_object.cc.
Referenced by yaze::editor::ObjectTileEditorPanel::AnalyzeSourceImpactSnapshot(), yaze::editor::DungeonObjectSelector::DrawCustomObjectAssetBrowser(), LoadCustomObjectAsset(), and PublishCustomObjectBinary().
| absl::StatusOr< CustomObjectAsset > yaze::zelda3::LoadCustomObjectAsset | ( | const std::string & | custom_objects_folder, |
| const std::string & | filename ) |
Definition at line 389 of file custom_object.cc.
References ASSIGN_OR_RETURN, DecodeCustomObjectBinary(), yaze::zelda3::CustomObjectAsset::object, and ResolveCustomObjectAssetPath().
Referenced by yaze::zelda3::ObjectTileEditor::LoadCustomObjectLayout(), and yaze::zelda3::CustomObjectManager::LoadObject().

| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::PublishCustomObjectBinary | ( | const std::string & | custom_objects_folder, |
| const std::string & | filename, | ||
| const CustomObject & | object, | ||
| const std::vector< uint8_t > & | expected_source_bytes, | ||
| const fs::path & | expected_resolved_path ) |
Definition at line 403 of file custom_object.cc.
References yaze::core::AcquireSourceArtifactPublicationLock(), ASSIGN_OR_RETURN, yaze::core::ComputeSourceArtifactSha256(), DecodeCustomObjectBinary(), EncodeCustomObjectBinary(), yaze::core::PublishSourceArtifacts(), ResolveCustomObjectAssetPath(), and RETURN_IF_ERROR.
Referenced by yaze::zelda3::ObjectTileEditor::WriteBack().
| uint16_t yaze::zelda3::CustomObjectRuntimeTileWord | ( | int | object_id, |
| uint16_t | source_word ) |
Definition at line 479 of file custom_object.cc.
Referenced by yaze::zelda3::ObjectTileEditor::BuildTile8Atlas(), yaze::zelda3::draw_routines::CustomDraw(), yaze::zelda3::ObjectDrawer::DrawCustomObject(), and yaze::zelda3::ObjectTileEditor::RenderLayoutToBitmap().
| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::PublishCustomObjectBinary | ( | const std::string & | custom_objects_folder, |
| const std::string & | filename, | ||
| const CustomObject & | object, | ||
| const std::vector< uint8_t > & | expected_source_bytes, | ||
| const std::filesystem::path & | expected_resolved_path ) |
|
constexpr |
Get human-readable name for door type.
Definition at line 110 of file door_types.h.
References BigKeyDoor, BombableCaveExit, BombableDoor, BottomShutterLower, BottomSidedShutter, CaveExit, CurtainDoor, DashWall, DoubleSidedShutter, DoubleSidedShutterLower, DungeonSwapMarker, ExitLower, ExitMarker, ExplicitRoomDoor, ExplodingWall, EyeWatchDoor, FancyDungeonExit, FancyDungeonExitLower, LayerSwapMarker, LitCaveExitLower, NormalDoor, NormalDoorLower, NormalDoorOneSidedShutter, SmallKeyDoor, SmallKeyStairsDown, SmallKeyStairsDownLower, SmallKeyStairsUp, SmallKeyStairsUpLower, TopShutterLower, TopSidedShutter, UnopenableBigKeyDoor, UnusableBottomShutter, UnusableNormalDoor3A, UnusableNormalDoor3C, UnusableNormalDoor3E, UnusedCaveExit, UnusedDoubleSidedShutter, and WaterfallDoor.
Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildDoorIssueSummary(), yaze::editor::DoorEditorContent::DrawContent(), yaze::zelda3::ObjectDrawer::DrawDoor(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawDoor(), yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::DrawEndpoint(), yaze::editor::DoorInteractionHandler::DrawGhostPreview(), yaze::cli::handlers::DungeonSetDoorTypeCommandHandler::Execute(), yaze::cli::handlers::DungeonRoomGraphCommandHandler::Execute(), and yaze::zelda3::Room::Door::GetTypeName().
|
constexpr |
Get human-readable name for door direction.
Definition at line 204 of file door_types.h.
References East, North, South, and West.
Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildDoorIssueSummary(), yaze::editor::InteractionCoordinator::DescribeEntity(), yaze::editor::DoorEditorContent::DrawContent(), yaze::zelda3::ObjectDrawer::DrawDoor(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawDoor(), yaze::editor::anonymous_namespace{dungeon_connection_editor.cc}::DrawEndpoint(), yaze::editor::DoorInteractionHandler::DrawGhostPreview(), and yaze::zelda3::Room::Door::GetDirectionName().
|
constexpr |
Get door dimensions based on direction.
Horizontal doors (North/South walls) are 4 tiles wide x 3 tiles tall. Vertical doors (East/West walls) are 3 tiles wide x 4 tiles tall.
Definition at line 253 of file door_types.h.
References East, North, South, and West.
Referenced by yaze::zelda3::ObjectDrawer::DrawDoor(), yaze::zelda3::ObjectDrawer::DoorDef::GetDimensions(), yaze::zelda3::Room::Door::GetDimensions(), yaze::zelda3::DoorPositionManager::GetDoorBounds(), and yaze::zelda3::DoorPositionManager::IsValidPosition().
|
constexpr |
Get the visible editor footprint for a door.
Defaults mirror the directional one-sided shutter routines. South and East start one tile beyond their raw position-table anchor. A small set of exit routines use bespoke raw-anchor-relative footprints.
Exploding walls intentionally keep the generic footprint here because their visible open-state placement depends on runtime door state and a ROM lookup.
Definition at line 275 of file door_types.h.
References CaveExit, CurtainDoor, East, ExitLower, FancyDungeonExit, FancyDungeonExitLower, LitCaveExitLower, North, South, and West.
Referenced by yaze::zelda3::DoorPositionManager::GetDoorEditorBounds(), and GetEditorDoorDimensions().
|
constexpr |
Get visible editor dimensions for compatibility with UI callers.
Definition at line 309 of file door_types.h.
References yaze::zelda3::DoorFootprint::dimensions(), and GetEditorDoorFootprint().
Referenced by yaze::zelda3::Room::Door::GetEditorDimensions().

|
constexpr |
Return true for terminal exits that do not pair with another room.
Definition at line 315 of file door_types.h.
References BombableCaveExit, CaveExit, ExitLower, ExitMarker, FancyDungeonExit, FancyDungeonExitLower, LitCaveExitLower, UnusedCaveExit, and WaterfallDoor.
Referenced by CollectRoomLinkFacts(), and IsRoomConnectionDoorType().
|
constexpr |
Return true when a door can represent an adjacent-room connection.
Definition at line 333 of file door_types.h.
References DungeonSwapMarker, IsExitDoorType(), and LayerSwapMarker.
Referenced by yaze::editor::DoorInteractionHandler::BuildPairBadgeOverlay(), yaze::editor::CollectDungeonConnectedRoomLinkDiagnostics(), CollectRoomLinkFacts(), and yaze::editor::DungeonCanvasViewer::RoomHasNonExitDoorInDirection().

|
constexpr |
Convert raw type byte to DoorType enum.
| raw_type | Upper nibble of byte2 (already shifted) |
Definition at line 345 of file door_types.h.
Referenced by yaze::cli::handlers::DungeonSetDoorTypeCommandHandler::Execute(), and yaze::zelda3::Room::Door::FromRomBytes().
|
constexpr |
Convert raw direction byte to DoorDirection enum.
| raw_dir | Lower nibble of byte2 |
Definition at line 353 of file door_types.h.
Referenced by yaze::zelda3::Room::Door::FromRomBytes().
|
constexpr |
Get supported door types suitable for editor placement controls.
The ROM tables contain additional entries explicitly identified as unused or glitchy. Those values remain available through raw-type editing, but are intentionally excluded from the primary placement UI.
Definition at line 364 of file door_types.h.
References BigKeyDoor, BombableCaveExit, BombableDoor, BottomShutterLower, BottomSidedShutter, CaveExit, CurtainDoor, DashWall, DoubleSidedShutter, DoubleSidedShutterLower, DungeonSwapMarker, ExitLower, ExitMarker, ExplicitRoomDoor, ExplodingWall, EyeWatchDoor, FancyDungeonExit, FancyDungeonExitLower, LayerSwapMarker, LitCaveExitLower, NormalDoor, NormalDoorLower, NormalDoorOneSidedShutter, SmallKeyDoor, SmallKeyStairsDown, SmallKeyStairsDownLower, SmallKeyStairsUp, SmallKeyStairsUpLower, TopShutterLower, TopSidedShutter, UnopenableBigKeyDoor, and WaterfallDoor.
Referenced by yaze::editor::DoorEditorContent::DrawContent(), yaze::editor::anonymous_namespace{dungeon_entity_inspector.cc}::DrawDoor(), and GetAllDoorTypes().
|
constexpr |
Definition at line 402 of file door_types.h.
References GetPlaceableDoorTypes().

| DrawRoutineSymbology yaze::zelda3::GetSymbologyForRoutine | ( | const DrawRoutineInfo * | info | ) |
Definition at line 61 of file draw_routine_symbology.cc.
References yaze::zelda3::DrawRoutineSymbology::badge, yaze::zelda3::DrawRoutineSymbology::base_height, yaze::zelda3::DrawRoutineInfo::base_height, yaze::zelda3::DrawRoutineSymbology::base_width, yaze::zelda3::DrawRoutineInfo::base_width, yaze::zelda3::DrawRoutineInfo::category, yaze::zelda3::DrawRoutineInfo::draws_to_both_bgs, yaze::zelda3::DrawRoutineSymbology::dual_layer, yaze::zelda3::DrawRoutineSymbology::family, and yaze::zelda3::DrawRoutineInfo::name.
Referenced by GetSymbologyForObject().
| DrawRoutineSymbology yaze::zelda3::GetSymbologyForObject | ( | int16_t | object_id | ) |
Definition at line 105 of file draw_routine_symbology.cc.
References yaze::zelda3::DrawRoutineSymbology::badge, yaze::zelda3::DrawRoutineSymbology::family, yaze::zelda3::DrawRoutineRegistry::Get(), yaze::zelda3::DrawRoutineRegistry::GetRoutineIdForObject(), and GetSymbologyForRoutine().
Referenced by yaze::editor::ObjectCoveragePanel::DrawDetails(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), and yaze::editor::ObjectCoveragePanel::PassesFilters().

|
inline |
Definition at line 47 of file dungeon_block_codec.h.
References yaze::zelda3::PushableBlockBytes::b1, yaze::zelda3::PushableBlockBytes::b2, yaze::zelda3::PushableBlockBytes::b3, yaze::zelda3::PushableBlockBytes::b4, yaze::zelda3::PushableBlockEntry::behavior_layer, yaze::zelda3::PushableBlockEntry::draw_layer, yaze::zelda3::PushableBlockEntry::px, yaze::zelda3::PushableBlockEntry::py, and yaze::zelda3::PushableBlockEntry::room_id.
Referenced by yaze::zelda3::Room::LoadBlocks().
|
inline |
Definition at line 59 of file dungeon_block_codec.h.
References yaze::zelda3::PushableBlockBytes::b1, yaze::zelda3::PushableBlockBytes::b2, yaze::zelda3::PushableBlockBytes::b3, yaze::zelda3::PushableBlockBytes::b4, yaze::zelda3::PushableBlockEntry::behavior_layer, yaze::zelda3::PushableBlockEntry::draw_layer, yaze::zelda3::PushableBlockEntry::px, yaze::zelda3::PushableBlockEntry::py, and yaze::zelda3::PushableBlockEntry::room_id.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildBlockSavePlan().
| std::unique_ptr< DungeonEditorSystem > yaze::zelda3::CreateDungeonEditorSystem | ( | Rom * | rom, |
| GameData * | game_data ) |
Factory function to create dungeon editor system.
Definition at line 342 of file dungeon_editor_system.cc.
Referenced by yaze::editor::DungeonEditorV2::DungeonEditorV2(), and yaze::editor::DungeonEditorV2::Initialize().
| absl::StatusOr< std::string > yaze::zelda3::ExportRoomLayoutTemplate | ( | const Room & | room | ) |
Export a room's layout as a JSON template string.
Captures objects, sprites, pot items, and key room properties (blockset, palette, layout, spriteset) so the template can be applied to another room.
Definition at line 347 of file dungeon_editor_system.cc.
References yaze::zelda3::Room::blockset(), yaze::zelda3::Room::GetPotItems(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::zelda3::Room::id(), yaze::zelda3::Room::layout_id(), yaze::zelda3::Room::palette(), and yaze::zelda3::Room::spriteset().
Referenced by yaze::editor::DungeonCanvasViewer::BuildCopyExportContextMenu().
| absl::Status yaze::zelda3::ApplyRoomLayoutTemplate | ( | Room & | room, |
| const std::string & | json, | ||
| bool | apply_properties = false ) |
Apply a previously exported layout template to a room.
Replaces the room's objects, sprites, and pot items with those from the template. Room properties (blockset, palette, etc.) are optionally applied via apply_properties.
Definition at line 401 of file dungeon_editor_system.cc.
References yaze::zelda3::Room::GetPotItems(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::zelda3::PotItem::item, yaze::zelda3::PotItem::position, yaze::zelda3::Room::SetBlockset(), yaze::zelda3::Room::SetLayoutId(), yaze::zelda3::Room::SetPalette(), and yaze::zelda3::Room::SetSpriteset().
|
inlineconstexpr |
Definition at line 54 of file dungeon_limits.h.
References Blocks, GeneralManipulable, kChests, kDoors, kSprites, kTileObjects, Overlords, SomariaLine, SpecialDoors, StairsNorth, StairsSouth, StairsTransition, StarTiles, and Torches.
Referenced by GetExceededLimits().
|
inlineconstexpr |
Definition at line 97 of file dungeon_limits.h.
References Blocks, GeneralManipulable, kChests, kDoors, kMaxChests, kMaxDoors, kMaxTileObjects, kMaxTotalSprites, kNoHardLimit, kSprites, kTileObjects, Overlords, SomariaLine, SpecialDoors, StairsNorth, StairsSouth, StairsTransition, StarTiles, and Torches.
Referenced by GetExceededLimits(), HasExceededLimits(), and yaze::editor::PlanDungeonDoorConnection().
|
inline |
Definition at line 123 of file dungeon_limits.h.
References kChests, kDoors, kSprites, and kTileObjects.
Referenced by yaze::zelda3::Room::GetLimitedObjectCounts().
|
inline |
Definition at line 133 of file dungeon_limits.h.
References GetDungeonLimitMax(), and kNoHardLimit.
Referenced by yaze::zelda3::Room::HasExceededLimits().

|
inline |
Definition at line 147 of file dungeon_limits.h.
References GetDungeonLimitLabel(), GetDungeonLimitMax(), and kNoHardLimit.
Referenced by yaze::zelda3::Room::GetExceededLimitDetails().

| std::unique_ptr< DungeonObjectEditor > yaze::zelda3::CreateDungeonObjectEditor | ( | Rom * | rom | ) |
Factory function to create dungeon object editor.
Definition at line 2077 of file dungeon_object_editor.cc.
|
constexpr |
Definition at line 38 of file dungeon_rom_addresses.h.
References kDungeonObjectDataRegions.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::GetObjectStreamInfo(), and ReadDungeonObjectStream().
|
constexpr |
Definition at line 162 of file dungeon_rom_addresses.h.
References kCustomCollisionRoomPointers, and kNumberOfRooms.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), HasCustomCollisionWriteSupport(), and SaveAllCollisionImpl().
|
constexpr |
Definition at line 168 of file dungeon_rom_addresses.h.
References kCustomCollisionDataPosition, and kCustomCollisionDataSoftEnd.
Referenced by yaze::editor::CustomCollisionPanel::Draw(), HasCustomCollisionWriteSupport(), and SaveAllCollisionImpl().
|
constexpr |
Definition at line 173 of file dungeon_rom_addresses.h.
References HasCustomCollisionDataRegion(), and HasCustomCollisionPointerTable().
Referenced by yaze::editor::DungeonEditorV2::ApplyMinecartCollisionStamp(), yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::BuildAutoOracleStateHook(), yaze::editor::CustomCollisionPanel::Draw(), yaze::cli::handlers::DungeonImportCustomCollisionJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonOraclePreflightCommandHandler::Execute(), yaze::cli::handlers::OracleSmokeCheckCommandHandler::Execute(), and RunOracleRomSafetyPreflight().

|
constexpr |
Definition at line 178 of file dungeon_rom_addresses.h.
References kWaterFillTableEnd.
Referenced by yaze::editor::WaterFillPanel::Draw(), yaze::cli::handlers::DungeonImportWaterFillJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonExportWaterFillJsonCommandHandler::ExecuteWithContext(), and RunOracleRomSafetyPreflight().
|
inline |
Definition at line 98 of file dungeon_spawn_point.h.
References kDungeonSpawnPointTableLayout, and kNumDungeonSpawnPoints.
Referenced by CollectDirtyDungeonSpawnPointWriteRanges(), yaze::zelda3::DungeonSpawnPoint::Load(), and ValidateDungeonSpawnPointForSave().
|
inline |
Definition at line 208 of file dungeon_spawn_point.h.
References DungeonSpawnPointWriteRanges(), yaze::zelda3::DungeonSpawnPoint::entrance_id, kDungeonSpawnRoomIdMask, kNumDungeonSpawnPoints, kNumRegularDungeonEntrances, yaze::zelda3::DungeonSpawnPoint::room_id, yaze::Rom::size(), and yaze::zelda3::DungeonSpawnPoint::spawn_id().
Referenced by yaze::zelda3::DungeonSpawnPoint::Save(), and ValidateDungeonSpawnPointsForSave().

|
inline |
Definition at line 287 of file dungeon_spawn_point.h.
References DungeonSpawnPointWriteRanges(), and kNumDungeonSpawnPoints.
Referenced by yaze::editor::DungeonEditorV2::CollectWriteRanges(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::ValidateDungeonEntranceSavePreflight().

|
inline |
Definition at line 300 of file dungeon_spawn_point.h.
References kNumDungeonSpawnPoints, RETURN_IF_ERROR, and ValidateDungeonSpawnPointForSave().
Referenced by SaveAllDungeonSpawnPoints(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::ValidateDungeonEntranceSavePreflight().

|
inline |
Definition at line 314 of file dungeon_spawn_point.h.
References yaze::Rom::is_loaded(), kNumDungeonSpawnPoints, RETURN_IF_ERROR, and ValidateDungeonSpawnPointsForSave().
Referenced by yaze::editor::DungeonEditorV2::Save(), and yaze::editor::DungeonEditorV2::SaveRoomImpl().

| absl::StatusOr< DungeonStreamRecord > yaze::zelda3::ReadDungeonObjectStream | ( | const Rom & | rom, |
| int | room_id ) |
Definition at line 948 of file dungeon_stream_allocator.cc.
References ASSIGN_OR_RETURN, yaze::Rom::data(), yaze::zelda3::DungeonStreamRecord::data_pc, yaze::zelda3::DungeonStreamRecord::encoded_stream, GetDungeonObjectDataRegionEnd(), kDoorPointers, kLong24, kNumberOfRooms, kRoomObjectPointer, yaze::zelda3::DungeonStreamRecord::logical_end_pc, yaze::zelda3::DungeonStreamLayout::pointer_encoding, yaze::zelda3::DungeonStreamRecord::pointer_slot_pc, yaze::zelda3::DungeonStreamLayout::pointer_table_pc, yaze::zelda3::DungeonStreamRecord::room_id, yaze::Rom::size(), and yaze::zelda3::DungeonStreamRecord::valid.
Referenced by yaze::zelda3::Room::PlanObjectSave(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_connection_edits.cc}::ValidateConnectionRoomSource().

| absl::StatusOr< DungeonStreamRecord > yaze::zelda3::ReadDungeonSpriteStream | ( | const Rom & | rom, |
| int | room_id ) |
Definition at line 1009 of file dungeon_stream_allocator.cc.
References kSprite.
Referenced by yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded(), yaze::zelda3::Room::PlanSpriteSave(), and yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightSpriteSave().
| absl::StatusOr< DungeonStreamRecord > yaze::zelda3::ReadDungeonPotItemStream | ( | const Rom & | rom, |
| int | room_id ) |
Definition at line 1014 of file dungeon_stream_allocator.cc.
References kPotItem.
Referenced by yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded().
| absl::StatusOr< DungeonStreamInventory > yaze::zelda3::InventoryDungeonStreams | ( | const Rom & | rom, |
| const DungeonStreamLayout & | requested_layout ) |
Definition at line 1019 of file dungeon_stream_allocator.cc.
References yaze::zelda3::DungeonStreamInventory::aliases, yaze::zelda3::DungeonStreamInventory::allocatable_free_intervals, yaze::zelda3::DungeonStreamLayout::allocation_ranges, yaze::util::CalculateCrc32(), yaze::Rom::data(), yaze::zelda3::DungeonStreamRecord::data_pc, yaze::zelda3::DungeonStreamLayout::data_ranges, yaze::zelda3::DungeonStreamRecord::encoded_stream, yaze::zelda3::DungeonStreamInventory::free_intervals, yaze::zelda3::DungeonStreamInventory::issues, yaze::zelda3::DungeonStreamLayout::kind, kInterior, kInvalidPointer, kMalformedStream, kPointerOutsideDataRanges, kSuffix, yaze::zelda3::DungeonStreamInventory::layout, yaze::zelda3::DungeonStreamRecord::logical_end_pc, yaze::zelda3::DungeonStreamInventory::occupied_intervals, yaze::zelda3::DungeonStreamInventory::overlaps, yaze::zelda3::DungeonStreamLayout::pointer_count, yaze::zelda3::DungeonStreamLayout::pointer_encoding, yaze::zelda3::DungeonStreamRecord::pointer_slot_pc, yaze::zelda3::DungeonStreamLayout::pointer_table_pc, yaze::zelda3::DungeonStreamRecord::room_id, yaze::Rom::size(), yaze::zelda3::DungeonStreamInventory::source_crc32, yaze::zelda3::DungeonStreamInventory::source_size, yaze::zelda3::DungeonStreamInventory::streams, and yaze::zelda3::DungeonStreamRecord::valid.
Referenced by ApplyDungeonStreamWritePlan(), yaze::zelda3::anonymous_namespace{room.cc}::DungeonStreamRequiresCopyOnWrite(), yaze::cli::handlers::DungeonStreamPlanCommandHandler::Execute(), yaze::zelda3::Room::PlanObjectStreamHeaderSave(), yaze::zelda3::anonymous_namespace{room.cc}::PlanRelocateDungeonStream(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDoorTypeTarget(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolvePotItemTarget(), and SaveAllPotItemsImpl().

| absl::StatusOr< DungeonStreamWritePlan > yaze::zelda3::PlanDungeonStreamWrites | ( | const DungeonStreamInventory & | inventory, |
| const std::vector< DungeonStreamReplacement > & | requested_replacements ) |
Definition at line 1139 of file dungeon_stream_allocator.cc.
References yaze::zelda3::DungeonStreamInventory::allocatable_free_intervals, yaze::zelda3::DungeonStreamWritePlan::auxiliary_pointer_writes, kCopyOnWrite, kDoorPointers, yaze::zelda3::DungeonStreamLayout::kind, kObject, yaze::zelda3::DungeonStreamInventory::layout, yaze::zelda3::DungeonStreamWritePlan::layout, yaze::zelda3::DungeonStreamWritePlan::mode, yaze::zelda3::DungeonStreamInventory::ok(), yaze::zelda3::DungeonStreamWritePlan::payload_writes, yaze::zelda3::DungeonStreamLayout::pointer_count, yaze::zelda3::DungeonStreamLayout::pointer_encoding, yaze::zelda3::DungeonStreamLayout::pointer_table_pc, yaze::zelda3::DungeonStreamWritePlan::pointer_writes, yaze::zelda3::DungeonStreamInventory::source_crc32, yaze::zelda3::DungeonStreamWritePlan::source_crc32, yaze::zelda3::DungeonStreamInventory::source_size, and yaze::zelda3::DungeonStreamWritePlan::source_size.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::PlanRelocateDungeonStream().

| absl::StatusOr< DungeonStreamWritePlan > yaze::zelda3::PlanDungeonStreamRepack | ( | const DungeonStreamInventory & | inventory, |
| const std::vector< DungeonStreamReplacement > & | requested_replacements ) |
Definition at line 1219 of file dungeon_stream_allocator.cc.
References yaze::zelda3::DungeonStreamLayout::allocation_ranges, ASSIGN_OR_RETURN, yaze::zelda3::DungeonStreamReplacement::encoded_stream, kFixedBank16, yaze::zelda3::DungeonStreamLayout::kind, kNumberOfRooms, kPotItem, kRepackAll, yaze::zelda3::DungeonStreamInventory::layout, yaze::zelda3::DungeonStreamWritePlan::layout, yaze::zelda3::DungeonStreamWritePlan::mode, yaze::zelda3::DungeonStreamInventory::ok(), yaze::zelda3::DungeonStreamWritePlan::payload_writes, yaze::zelda3::DungeonStreamLayout::pointer_bank, yaze::zelda3::DungeonStreamLayout::pointer_count, yaze::zelda3::DungeonStreamLayout::pointer_encoding, yaze::zelda3::DungeonStreamLayout::pointer_table_pc, yaze::zelda3::DungeonStreamWritePlan::pointer_writes, yaze::zelda3::DungeonStreamReplacement::room_id, yaze::SnesToPc(), yaze::zelda3::DungeonStreamInventory::source_crc32, yaze::zelda3::DungeonStreamWritePlan::source_crc32, yaze::zelda3::DungeonStreamInventory::source_size, yaze::zelda3::DungeonStreamWritePlan::source_size, and yaze::zelda3::DungeonStreamInventory::streams.
Referenced by SaveAllPotItemsImpl().

| absl::Status yaze::zelda3::ApplyDungeonStreamWritePlan | ( | Rom * | rom, |
| const DungeonStreamWritePlan & | plan ) |
Definition at line 1357 of file dungeon_stream_allocator.cc.
References yaze::rom::WriteFence::Allow(), yaze::zelda3::DungeonStreamWritePlan::auxiliary_pointer_writes, yaze::util::CalculateCrc32(), yaze::Rom::data(), yaze::Rom::dirty(), InventoryDungeonStreams(), yaze::Rom::is_loaded(), yaze::zelda3::DungeonStreamWritePlan::layout, yaze::Rom::mutable_vector(), yaze::zelda3::DungeonStreamWritePlan::payload_writes, yaze::zelda3::DungeonStreamWritePlan::pointer_writes, RETURN_IF_ERROR, yaze::Rom::set_dirty(), yaze::Rom::size(), yaze::zelda3::DungeonStreamWritePlan::source_crc32, yaze::zelda3::DungeonStreamWritePlan::source_size, yaze::Rom::vector(), and yaze::Rom::WriteVector().
Referenced by yaze::zelda3::Room::ApplyStreamSavePlan(), and SaveAllPotItemsImpl().
| absl::StatusOr< DungeonTilePatterns > yaze::zelda3::ParseDungeonTilePatterns | ( | absl::string_view | source | ) |
Definition at line 89 of file dungeon_tile_patterns.cc.
References yaze::zelda3::DungeonTilePatterns::source_text, yaze::zelda3::DungeonTilePatterns::tokens, and yaze::zelda3::DungeonTilePatterns::words.
Referenced by LoadDungeonTilePatterns(), and PublishDungeonTilePatterns().
| absl::StatusOr< DungeonTilePatterns > yaze::zelda3::LoadDungeonTilePatterns | ( | const std::string & | path | ) |
Definition at line 171 of file dungeon_tile_patterns.cc.
References ParseDungeonTilePatterns().
Referenced by yaze::zelda3::CustomObjectManager::GetTilePatterns(), PublishDungeonTilePatterns(), and yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::ValidatePatternContext().

| absl::Status yaze::zelda3::PublishDungeonTilePatterns | ( | const DungeonTilePatterns & | expected, |
| const std::map< uint32_t, uint16_t > & | replacements ) |
Definition at line 203 of file dungeon_tile_patterns.cc.
References yaze::core::AcquireSourceArtifactPublicationLock(), yaze::core::ComputeSourceArtifactSha256(), LoadDungeonTilePatterns(), ParseDungeonTilePatterns(), yaze::core::PublishSourceArtifacts(), yaze::zelda3::DungeonTilePatterns::source_path, and yaze::zelda3::DungeonTilePatterns::source_text.
Referenced by yaze::zelda3::ObjectTileEditor::ApplyStandardWritePlan().
|
inline |
Definition at line 40 of file dungeon_torch_codec.h.
References yaze::zelda3::LightableTorchBytes::high, yaze::zelda3::LightableTorchBytes::low, and yaze::zelda3::LightableTorchEntry::px.
Referenced by yaze::zelda3::Room::LoadTorches().
|
inline |
Definition at line 52 of file dungeon_torch_codec.h.
References yaze::zelda3::LightableTorchEntry::draw_layer, yaze::zelda3::LightableTorchEntry::lit, yaze::zelda3::LightableTorchBytes::low, yaze::zelda3::LightableTorchEntry::px, yaze::zelda3::LightableTorchEntry::py, and yaze::zelda3::LightableTorchEntry::reserved.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::EncodeTorchSegmentForRoom().
|
inline |
Definition at line 129 of file entrance_layout.h.
References kEntranceLoaderSites, kExpandedEntranceLayout, kLegacyEntranceLayout, and kNumRegularDungeonEntrances.
Referenced by yaze::editor::DungeonWorkbenchContent::BuildRoomDungeonCache(), CollectDirtyRegularDungeonEntranceWriteRanges(), CollectRoomCensusInput(), ComputeRoomDefaultEntrances(), yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), yaze::editor::DungeonRoomLoader::LoadRoomEntrances(), ReadDungeonEntranceTarget(), RegularDungeonEntranceWriteRanges(), yaze::zelda3::RoomEntrance::RoomEntrance(), yaze::zelda3::RoomEntrance::Save(), UsesExpandedEntranceTables(), ValidateRegularDungeonEntranceForSave(), and ValidateRegularDungeonEntrancesForSave().
| absl::StatusOr< RoomTilemaps > yaze::zelda3::ParseGameRoomTilemaps | ( | const std::vector< uint8_t > & | bytes | ) |
Definition at line 43 of file game_tilemap_comparison.cc.
References yaze::zelda3::RoomTilemaps::bg1, yaze::zelda3::RoomTilemaps::bg2, kGameRoomTilemapBytes, and kRoomTilemapWords.
Referenced by yaze::editor::ObjectCoveragePanel::CheckRoomAgainstGame().
| RoomTilemaps yaze::zelda3::ComposeYazeRoomTilemaps | ( | const Room & | room | ) |
Definition at line 61 of file game_tilemap_comparison.cc.
References yaze::zelda3::RoomTilemaps::bg1, yaze::zelda3::Room::bg1_buffer(), yaze::zelda3::RoomTilemaps::bg2, yaze::zelda3::Room::bg2_buffer(), yaze::gfx::BackgroundBuffer::buffer(), kRoomTilemapWords, yaze::zelda3::Room::object_bg1_buffer(), and yaze::zelda3::Room::object_bg2_buffer().
Referenced by yaze::editor::usage_preview::RoomUsagePreview::CaptureUsage(), yaze::editor::ObjectCoveragePanel::CheckRoomAgainstGame(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), and MakeRoomCollisionInput().
| bool yaze::zelda3::GameHidesObjectOnRoomLoad | ( | int | tag1, |
| int | tag2, | ||
| const RoomObject & | object ) |
Definition at line 82 of file game_tilemap_comparison.cc.
Referenced by yaze::editor::ObjectCoveragePanel::CheckRoomAgainstGame().
| TileOwners yaze::zelda3::ComputeObjectTileOwners | ( | Rom * | rom, |
| int | room_id, | ||
| const std::vector< RoomObject > & | objects, | ||
| const RoomTilemaps & | yaze, | ||
| const std::vector< bool > & | hidden ) |
Definition at line 93 of file game_tilemap_comparison.cc.
References yaze::zelda3::TileOwners::bg1, yaze::zelda3::TileOwners::bg2, yaze::zelda3::RoomObject::BG2, yaze::zelda3::ObjectDrawer::DrawObject(), yaze::zelda3::RoomObject::GetLayerValue(), kRoomTilemapSize, kRoomTilemapWords, MapRoomObjectListIndexToDrawLayer(), yaze::zelda3::RoomObject::SetRom(), and yaze::zelda3::ObjectDrawer::SetTraceCollector().
Referenced by yaze::editor::usage_preview::RoomUsagePreview::CaptureUsage(), and yaze::editor::ObjectCoveragePanel::CheckRoomAgainstGame().
| RoomTilemapCheck yaze::zelda3::CompareRoomTilemaps | ( | int | room_id, |
| const RoomTilemaps & | game, | ||
| const RoomTilemaps & | yaze, | ||
| const TileOwners & | owners, | ||
| const std::vector< RoomObject > & | objects ) |
Definition at line 171 of file game_tilemap_comparison.cc.
References yaze::zelda3::RoomTilemaps::bg1, yaze::zelda3::TileOwners::bg1, yaze::zelda3::RoomTilemapCheck::bg1_matching, yaze::zelda3::RoomTilemaps::bg2, yaze::zelda3::TileOwners::bg2, yaze::zelda3::RoomTilemapCheck::bg2_matching, yaze::zelda3::RoomTilemapCheck::differences, yaze::zelda3::TileDifference::game, kRoomTilemapSize, kRoomTilemapWords, yaze::zelda3::TileDifference::layer, yaze::zelda3::TileDifference::owner, yaze::zelda3::RoomTilemapCheck::placements, yaze::zelda3::RoomTilemapCheck::room_id, yaze::zelda3::RoomTilemapCheck::unowned_differences, yaze::zelda3::TileDifference::x, yaze::zelda3::TileDifference::y, and yaze::zelda3::TileDifference::yaze.
Referenced by yaze::editor::ObjectCoveragePanel::CheckRoomAgainstGame().
| std::string yaze::zelda3::DescribeTileWordDifference | ( | uint16_t | xor_bits | ) |
|
inline |
| std::vector< ObjectDrawCode > yaze::zelda3::ReadObjectDrawCode | ( | const Rom & | rom | ) |
Definition at line 31 of file object_draw_code.cc.
References yaze::zelda3::ObjectDrawCode::object_id, yaze::zelda3::ObjectDrawCode::routine_start, yaze::SnesToPc(), and yaze::Rom::vector().
Referenced by yaze::editor::ObjectCoveragePanel::RebuildIndex().

|
inline |
Definition at line 32 of file object_layer_semantics.h.
References Block, Nothing, and Torch.
Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildObjectTraceReport(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildSelectedObjectSemanticsSummary(), yaze::editor::DungeonCanvasViewer::BuildSelectionContextMenuItems(), yaze::editor::DungeonObjectInteraction::CanAssignSelectedObjectsToLayer(), yaze::editor::CopyDungeonSelection(), yaze::cli::anonymous_namespace{dungeon_doctor_commands.cc}::DiagnoseRoom(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), yaze::editor::DungeonWorkbenchContent::DrawObjectPlacementInspector(), yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), yaze::editor::DungeonObjectInteraction::DrawSelectionHighlights(), yaze::editor::TileObjectHandler::DuplicateObjects(), yaze::cli::handlers::DungeonRemoveObjectCommandHandler::Execute(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::GetStoredPlacementLabel(), yaze::editor::anonymous_namespace{dungeon_canvas_overlays.cc}::GetStoredPlacementLabel(), yaze::zelda3::anonymous_namespace{chest_edit.cc}::IsChest(), yaze::editor::TileObjectHandler::PasteFromClipboard(), yaze::editor::TileObjectHandler::PlaceObjectAt(), PlanChestObjectEdit(), yaze::editor::PlanDungeonSelectionEdit(), yaze::zelda3::Room::PlanObjectSave(), ReassignObjectStorage(), ResolveVanillaStaircaseSlots(), yaze::zelda3::anonymous_namespace{room_collision.cc}::RoomLoadReplay::Run(), yaze::zelda3::anonymous_namespace{chest_edit.cc}::StreamObjectIndices(), yaze::editor::anonymous_namespace{dungeon_selection_edit.cc}::TranslateObject(), UsesSpecialLayerSelector(), yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateDomains(), yaze::editor::anonymous_namespace{tile_object_handler.cc}::ValidateObjectCandidates(), yaze::zelda3::DungeonValidator::ValidateRoom(), and yaze::zelda3::anonymous_namespace{chest_edit.cc}::ValidateRoomEventSlots().
|
inline |
Definition at line 38 of file object_layer_semantics.h.
References UsesRoomObjectStream().
Referenced by yaze::zelda3::DungeonObjectEditor::BatchChangeObjectLayer(), ReassignObjectStorage(), yaze::editor::TileObjectHandler::SetPreviewLayer(), and yaze::editor::TileObjectHandler::UpdateObjectsId().

|
inline |
Definition at line 42 of file object_layer_semantics.h.
References yaze::core::FeatureFlags::get(), yaze::zelda3::CustomObjectManager::Get(), and yaze::zelda3::CustomObjectManager::GetObjectInternal().
Referenced by yaze::editor::DrawDungeonDestinationEditor(), yaze::zelda3::ObjectDrawer::DrawObject(), GetEffectiveObjectLayerSemantics(), and yaze::editor::MakeDungeonGraphicsEditContext().

|
inline |
Definition at line 53 of file object_layer_semantics.h.
References yaze::zelda3::RoomObject::BG2, yaze::zelda3::ObjectLayerSemantics::draws_to_both_bgs, yaze::zelda3::ObjectLayerSemantics::effective_bg_layer, yaze::zelda3::DrawRoutineRegistry::Get(), yaze::zelda3::DrawRoutineRegistry::GetRoutineIdForObject(), yaze::zelda3::object_render_routing::IsFullBothAutoStairsObject(), yaze::zelda3::object_render_routing::IsMixedStraightInterroomObject(), yaze::zelda3::DrawRoutineIds::kAgahnimsAltar, yaze::zelda3::DrawRoutineIds::kAutoStairs, kBg1, kBg2, kBothBg1Bg2, kFixedBg1, yaze::zelda3::DrawRoutineIds::kFortuneTellerRoom, kFullBothBg1Bg2, kMixedBg1Bg2, yaze::zelda3::DrawRoutineIds::kSanctuaryWall, yaze::zelda3::DrawRoutineIds::kStraightInterRoomStairs, yaze::zelda3::ObjectLayerSemantics::render_routing, yaze::zelda3::ObjectLayerSemantics::routine_id, and yaze::zelda3::DrawRoutineRegistry::RoutineDrawsToBothBGs().
Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildSelectedObjectSemanticsSummary(), yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), and GetEffectiveObjectLayerSemantics().
|
inline |
Definition at line 112 of file object_layer_semantics.h.
References yaze::zelda3::RoomObject::BG2, yaze::zelda3::ObjectLayerSemantics::custom_override_active, yaze::zelda3::ObjectLayerSemantics::draws_to_both_bgs, yaze::zelda3::ObjectLayerSemantics::effective_bg_layer, GetObjectLayerSemantics(), HasActiveCustomObjectOverride(), kBg1, kBg2, kBothBg1Bg2, kFullBothBg1Bg2, kStoredPlacement, and yaze::zelda3::ObjectLayerSemantics::render_routing.
Referenced by yaze::zelda3::ObjectDrawer::DrawObjectList(), yaze::editor::DungeonCanvasViewer::DungeonCanvasViewer(), and yaze::editor::MakeDungeonGraphicsEditContext().

|
inline |
Definition at line 133 of file object_layer_semantics.h.
References kBg1, kBg2, and kBothBg1Bg2.
Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildSelectedObjectSemanticsSummary().
|
inline |
Definition at line 145 of file object_layer_semantics.h.
References kFixedBg1, kFixedBg2, kFullBothBg1Bg2, kMixedBg1Bg2, and kStoredPlacement.
Referenced by ObjectRenderRoutingDisplayLabel().
|
inline |
Definition at line 161 of file object_layer_semantics.h.
References yaze::zelda3::ObjectLayerSemantics::effective_bg_layer, kBg2, kStoredPlacement, ObjectRenderRoutingLabel(), and yaze::zelda3::ObjectLayerSemantics::render_routing.
Referenced by yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), and yaze::editor::MakeDungeonGraphicsEditContext().

|
inline |
Definition at line 171 of file object_layer_semantics.h.
References kFixedBg1, kFixedBg2, kFullBothBg1Bg2, kMixedBg1Bg2, and kStoredPlacement.
Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildSelectedObjectSemanticsSummary().
|
inline |
Definition at line 30 of file object_stream_ordering.h.
References yaze::zelda3::ObjectStorageMutationResult::changed, yaze::zelda3::ObjectStorageMutationResult::changed_old_indices, yaze::zelda3::RoomObject::layer_, yaze::zelda3::ObjectStorageMutationResult::old_to_new_index, yaze::zelda3::ObjectStorageMutationResult::selected_indices, UsesRoomObjectStream(), and UsesSpecialLayerSelector().
Referenced by yaze::zelda3::DungeonObjectEditor::BatchChangeObjectLayer(), and yaze::editor::TileObjectHandler::UpdateObjectsLayer().

| yaze::zelda3::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE | ( | TemplateObject | , |
| id | , | ||
| rel_x | , | ||
| rel_y | , | ||
| size | , | ||
| layer | ) |
| OracleRomSafetyPreflightResult yaze::zelda3::RunOracleRomSafetyPreflight | ( | Rom * | rom, |
| const OracleRomSafetyPreflightOptions & | options ) |
Definition at line 60 of file oracle_rom_safety_preflight.cc.
References HasCustomCollisionWriteSupport(), HasWaterFillReservedRegion(), yaze::Rom::is_loaded(), kNumberOfRooms, kWaterFillTableStart, LoadCustomCollisionMap(), LoadWaterFillTable(), yaze::zelda3::OracleRomSafetyPreflightOptions::max_collision_errors, yaze::zelda3::OracleRomSafetyPreflightResult::ok(), yaze::zelda3::OracleRomSafetyPreflightOptions::require_custom_collision_write_support, yaze::zelda3::OracleRomSafetyPreflightOptions::require_water_fill_reserved_region, yaze::zelda3::OracleRomSafetyPreflightOptions::room_ids_requiring_custom_collision, yaze::zelda3::OracleRomSafetyPreflightOptions::room_ids_requiring_water_fill_zones, yaze::zelda3::OracleRomSafetyPreflightOptions::validate_custom_collision_maps, yaze::zelda3::OracleRomSafetyPreflightOptions::validate_water_fill_table, and yaze::Rom::vector().
Referenced by yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::BuildAutoOracleStateHook(), yaze::editor::RomLifecycleManager::CheckOracleRomSafetyPreSave(), yaze::cli::handlers::DungeonImportCustomCollisionJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonImportWaterFillJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonOraclePreflightCommandHandler::Execute(), and yaze::cli::handlers::OracleSmokeCheckCommandHandler::Execute().
| absl::StatusOr< std::string > yaze::zelda3::ComputeSha256 | ( | const std::string & | file_path | ) |
Definition at line 275 of file oracle_rom_safety_preflight.cc.
Referenced by yaze::cli::GfxSheetInventoryCommandHandler::Execute(), and VerifySha256().
| absl::Status yaze::zelda3::VerifySha256 | ( | const std::string & | file_path, |
| const std::string & | expected_hash ) |
Definition at line 347 of file oracle_rom_safety_preflight.cc.
References ComputeSha256().

|
constexpr |
Definition at line 13 of file pot_item_position.h.
Referenced by yaze::zelda3::PotItem::GetPixelX().
|
constexpr |
Definition at line 16 of file pot_item_position.h.
Referenced by yaze::zelda3::PotItem::GetPixelY().
|
constexpr |
Definition at line 19 of file pot_item_position.h.
Referenced by yaze::editor::ItemInteractionHandler::HandleRelease(), yaze::editor::ItemInteractionHandler::NudgeSelected(), yaze::editor::ItemInteractionHandler::PlaceItemAtPosition(), yaze::editor::anonymous_namespace{dungeon_selection_edit.cc}::TranslateItem(), and yaze::editor::ItemInteractionHandler::UpdateItem().
| std::vector< SDL_Color > yaze::zelda3::BuildDungeonRenderPalette | ( | const gfx::SnesPalette & | dungeon_palette, |
| const gfx::SnesPalette * | hud_palette, | ||
| PaletteAddressMap * | addresses, | ||
| int | palette_id ) |
Definition at line 138 of file room.cc.
References kDungeonMain, and yaze::gfx::SnesColor::rgb().
Referenced by yaze::zelda3::Room::RenderRoomGraphics().

| gfx::PaletteGroup yaze::zelda3::BuildDungeonRenderPaletteGroup | ( | const gfx::SnesPalette & | dungeon_palette, |
| const gfx::SnesPalette * | hud_palette ) |
Definition at line 164 of file room.cc.
References yaze::gfx::SnesPalette::AddColor(), yaze::gfx::PaletteGroup::AddPalette(), and yaze::gfx::PaletteGroup::SetColor().
Referenced by BuildDungeonRenderPaletteGroupFromGameData().

| gfx::PaletteGroup yaze::zelda3::BuildDungeonRenderPaletteGroupFromGameData | ( | const gfx::SnesPalette & | dungeon_palette, |
| const GameData * | game_data ) |
Definition at line 191 of file room.cc.
References BuildDungeonRenderPaletteGroup(), yaze::gfx::PaletteGroup::empty(), yaze::gfx::PaletteGroupMap::hud, yaze::zelda3::GameData::palette_groups, and yaze::gfx::PaletteGroup::palette_ref().
Referenced by yaze::editor::DungeonEditorV2::HandleDungeonPaletteChanged(), yaze::editor::DungeonEditorV2::Load(), yaze::editor::DungeonCanvasViewer::LoadAndRenderRoomGraphics(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::DungeonEditorV2::OpenObjectTileEditorForObject(), yaze::editor::DungeonEditorV2::RefreshRomBackedState(), yaze::editor::DungeonEditorV2::RefreshRoomMetadataViews(), ResolveRoomSheetPalette(), and RoomBackgroundSheetPalette().

| std::array< SDL_Color, 256 > yaze::zelda3::BuildDungeonSpriteRenderPalette | ( | const Room & | room, |
| const GameData * | game_data ) |
Definition at line 200 of file room.cc.
References yaze::zelda3::Room::palette(), yaze::zelda3::GameData::palette_groups, and yaze::zelda3::GameData::paletteset_ids.
Referenced by yaze::editor::usage_preview::SpriteUsagePreview::Configure(), yaze::editor::SpriteEditor::LoadSpritePalettes(), yaze::editor::DungeonCanvasViewer::RenderSprites(), and RoomSpriteSheetPalette().

| void yaze::zelda3::LoadDungeonRenderPaletteToCgram | ( | std::span< uint16_t > | cgram, |
| const gfx::SnesPalette & | dungeon_palette, | ||
| const gfx::SnesPalette * | hud_palette ) |
Definition at line 256 of file room.cc.
References yaze::gfx::SnesColor::snes().
Referenced by yaze::emu::render::EmulatorRenderService::InjectRoomContext(), yaze::emu::render::EmulatorRenderService::LoadPaletteIntoCgram(), and yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender().

Definition at line 630 of file room.cc.
References yaze::Rom::is_loaded(), kNumberOfRooms, yaze::Rom::size(), and yaze::Rom::vector().
Referenced by yaze::editor::DungeonRoomLoader::LoadAllRooms().

Definition at line 655 of file room.cc.
References yaze::zelda3::Room::ClearCustomCollisionDirty(), yaze::zelda3::Room::ClearSaveDirtyState(), yaze::zelda3::Room::ClearWaterFillDirty(), yaze::zelda3::Room::LoadBlocks(), yaze::zelda3::Room::LoadChests(), yaze::zelda3::Room::LoadObjects(), yaze::zelda3::Room::LoadPits(), yaze::zelda3::Room::LoadPotItems(), LoadRoomHeaderFromRom(), yaze::zelda3::Room::LoadTorches(), and yaze::zelda3::Room::SetLoaded().
Referenced by yaze::cli::agent::anonymous_namespace{conversational_agent_service.cc}::BuildAutoOracleStateHook(), yaze::editor::MinecartTrackEditorPanel::BuildCollisionPreview(), yaze::editor::ObjectCoveragePanel::CheckRoomAgainstGame(), CollectRoomCensusInput(), ComputeRoomFingerprints(), yaze::editor::DungeonEditorV2::EnsureConnectionRoomLoaded(), yaze::editor::DungeonCanvasViewer::EnsureRoomLoadedForConnectedView(), yaze::cli::handlers::DungeonDescribeRoomCommandHandler::Execute(), yaze::cli::handlers::DungeonSetRoomPropertyCommandHandler::Execute(), yaze::cli::handlers::DungeonPlaceObjectCommandHandler::Execute(), yaze::cli::handlers::DungeonRemoveObjectCommandHandler::Execute(), yaze::cli::handlers::DungeonSetCollisionTileCommandHandler::Execute(), yaze::cli::handlers::DungeonMapCommandHandler::Execute(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), yaze::cli::GraphicsContextCommandHandler::Execute(), yaze::zelda3::RoomLinkFactsCache::Get(), yaze::app::service::RenderService::GetDungeonRoomMetadata(), yaze::emu::render::EmulatorRenderService::InjectRoomContext(), yaze::editor::DungeonRoomLoader::LoadRoom(), yaze::zelda3::DungeonEditorSystem::LoadRoomData(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightObjectRemoval(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightObjectSave(), yaze::editor::usage_preview::RoomUsagePreview::Render(), yaze::emu::render::EmulatorRenderService::RenderDungeonObject(), yaze::emu::render::EmulatorRenderService::RenderDungeonObjectStatic(), yaze::app::service::RenderService::RenderDungeonRoom(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDoorTypeTarget(), yaze::gui::DungeonObjectEmulatorPreview::TriggerEmulatedRender(), and yaze::gui::DungeonObjectEmulatorPreview::TriggerStaticRender().
Definition at line 680 of file room.cc.
References yaze::zelda3::Room::ClearCustomCollisionDirty(), yaze::zelda3::Room::ClearSaveDirtyState(), yaze::zelda3::Room::ClearWaterFillDirty(), yaze::Rom::data(), yaze::Rom::is_loaded(), kMessagesIdDungeon, kRoomHeaderPointer, kRoomHeaderPointerBank, yaze::zelda3::Room::SetBackgroundTileset(), yaze::zelda3::Room::SetBg2(), yaze::zelda3::Room::SetBlockset(), yaze::zelda3::Room::SetCollision(), yaze::zelda3::Room::SetEffect(), yaze::zelda3::Room::SetHolewarp(), yaze::zelda3::Room::SetIsDark(), yaze::zelda3::Room::SetIsLight(), yaze::zelda3::Room::SetLayer2Behavior(), yaze::zelda3::Room::SetLayer2Mode(), yaze::zelda3::Room::SetLayerMerging(), yaze::zelda3::Room::SetMessageId(), yaze::zelda3::Room::SetPalette(), yaze::zelda3::Room::SetPitsTarget(), yaze::zelda3::Room::SetPitsTargetLayer(), yaze::zelda3::Room::SetSpriteset(), yaze::zelda3::Room::SetSpriteTileset(), yaze::zelda3::Room::SetStair1Target(), yaze::zelda3::Room::SetStair1TargetLayer(), yaze::zelda3::Room::SetStair2Target(), yaze::zelda3::Room::SetStair2TargetLayer(), yaze::zelda3::Room::SetStair3Target(), yaze::zelda3::Room::SetStair3TargetLayer(), yaze::zelda3::Room::SetStair4Target(), yaze::zelda3::Room::SetStair4TargetLayer(), yaze::zelda3::Room::SetStaircasePlane(), yaze::zelda3::Room::SetStaircaseRoom(), yaze::zelda3::Room::SetTag1(), yaze::zelda3::Room::SetTag1Direct(), yaze::zelda3::Room::SetTag2(), yaze::zelda3::Room::SetTag2Direct(), yaze::Rom::size(), and yaze::SnesToPc().
Referenced by yaze::cli::handlers::anonymous_namespace{minecart_commands.cc}::AuditRoom(), yaze::editor::usage_preview::SpriteUsagePreview::Configure(), yaze::cli::anonymous_namespace{dungeon_doctor_commands.cc}::DiagnoseRoom(), yaze::editor::SheetBrowserPanel::DrawPngTransfer(), yaze::cli::handlers::DungeonListSpritesCommandHandler::Execute(), yaze::cli::handlers::DungeonListChestsCommandHandler::Execute(), yaze::cli::handlers::DungeonGenerateTrackCollisionCommandHandler::Execute(), yaze::cli::handlers::DungeonPlaceSpriteCommandHandler::Execute(), yaze::cli::handlers::DungeonRemoveSpriteCommandHandler::Execute(), yaze::editor::RoomMatrixContent::GetRoomColor(), yaze::editor::RoomMatrixContent::GetRoomMetadata(), yaze::editor::DungeonRoomLoader::LoadAllRooms(), LoadRoomFromRom(), yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::LoadRoomWithPalettes(), yaze::editor::SpriteEditor::LoadSpritePalettes(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightSpriteSave(), yaze::editor::DungeonEditorV2::RefreshRomBackedState(), and yaze::editor::DungeonEditorV2::ResolveDungeonRenderContextForRoom().
| int yaze::zelda3::FindMaxUsedSpriteAddress | ( | Rom * | rom | ) |
Definition at line 2193 of file room.cc.
References yaze::Rom::is_loaded(), kNumberOfRooms, kSpritesData, kSpritesDataEndExclusive, and yaze::Rom::vector().
Referenced by RelocateSpriteData().

| absl::Status yaze::zelda3::RelocateSpriteData | ( | Rom * | rom, |
| int | room_id, | ||
| const std::vector< uint8_t > & | encoded_bytes ) |
Definition at line 2233 of file room.cc.
References FindMaxUsedSpriteAddress(), yaze::Rom::is_loaded(), kNumberOfRooms, kSpritesData, kSpritesDataEndExclusive, yaze::PcToSnes(), RETURN_IF_ERROR, yaze::Rom::vector(), yaze::Rom::WriteByte(), and yaze::Rom::WriteVector().
Definition at line 3331 of file room.cc.
References yaze::zelda3::Room::rom().
Referenced by yaze::editor::DungeonEditorV2::Save(), yaze::zelda3::DungeonEditorSystem::SaveDungeon(), yaze::editor::DungeonEditorV2::SaveRoomImpl(), and yaze::zelda3::anonymous_namespace{dungeon_editor_system.cc}::SaveSingleRoomState().

| absl::Status yaze::zelda3::SaveAllTorches | ( | Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 3336 of file room.cc.
References yaze::zelda3::Room::rom().

| absl::StatusOr< std::vector< std::pair< uint32_t, uint32_t > > > yaze::zelda3::GetTorchSaveWriteRanges | ( | const Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 3343 of file room.cc.
References ASSIGN_OR_RETURN, kTorchData, kTorchesLengthPointer, and yaze::zelda3::Room::rom().
Referenced by yaze::editor::DungeonEditorV2::PreflightObjectMutation().

| absl::Status yaze::zelda3::SaveAllPits | ( | Rom * | rom | ) |
Definition at line 3358 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllPits().
Referenced by yaze::editor::DungeonEditorV2::Save(), SaveAllPits(), and yaze::editor::DungeonEditorV2::SaveRoomImpl().

| absl::Status yaze::zelda3::SaveAllPits | ( | Rom * | rom, |
| PitDamageTable * | pit_damage_table ) |
Definition at line 3362 of file room.cc.
References yaze::zelda3::PitDamageTable::ClearDirty(), yaze::zelda3::PitDamageTable::dirty(), kPitCount, kPitPointer, RETURN_IF_ERROR, yaze::zelda3::Room::rom(), yaze::zelda3::PitDamageTable::SaveToRom(), and yaze::SnesToPc().
| absl::Status yaze::zelda3::SaveAllBlocks | ( | Rom * | rom | ) |
Definition at line 3543 of file room.cc.
References kBlocksLength, RETURN_IF_ERROR, and yaze::zelda3::Room::rom().
Referenced by yaze::editor::DungeonEditorV2::Save(), and yaze::editor::DungeonEditorV2::SaveRoomImpl().

| absl::Status yaze::zelda3::SaveAllBlocks | ( | Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 3796 of file room.cc.
References yaze::zelda3::Room::AreBlocksLoaded(), ASSIGN_OR_RETURN, yaze::zelda3::Room::ClearBlocksDirty(), kBlocksLength, RETURN_IF_ERROR, and yaze::zelda3::Room::rom().

| absl::StatusOr< std::vector< std::pair< uint32_t, uint32_t > > > yaze::zelda3::GetBlockSaveWriteRanges | ( | const Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 3830 of file room.cc.
References ASSIGN_OR_RETURN, kBlocksLength, and yaze::zelda3::Room::rom().
Referenced by yaze::editor::DungeonEditorV2::PreflightObjectMutation().

| absl::Status yaze::zelda3::SaveAllCollisionImpl | ( | Rom * | rom, |
| int | room_count, | ||
| RoomLookup && | room_lookup ) |
Definition at line 3844 of file room.cc.
References yaze::rom::WriteFence::Allow(), yaze::zelda3::Room::ClearCustomCollisionDirty(), yaze::zelda3::Room::custom_collision(), yaze::zelda3::Room::custom_collision_dirty(), yaze::zelda3::Room::has_custom_collision(), HasCustomCollisionDataRegion(), HasCustomCollisionPointerTable(), yaze::zelda3::CustomCollisionMap::HasOverrides(), yaze::zelda3::Room::id(), kCustomCollisionDataPosition, kCustomCollisionDataSoftEnd, kCustomCollisionRoomPointers, kNumberOfRooms, RETURN_IF_ERROR, yaze::zelda3::Room::rom(), and WriteTrackCollision().
Referenced by SaveAllCollision(), and SaveAllCollision().
Definition at line 3933 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllCollisionImpl().
Referenced by yaze::cli::handlers::DungeonImportCustomCollisionJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonSetCollisionTileCommandHandler::Execute(), yaze::editor::DungeonEditorV2::Save(), yaze::zelda3::DungeonEditorSystem::SaveDungeon(), yaze::editor::DungeonEditorV2::SaveRoomImpl(), and yaze::zelda3::anonymous_namespace{dungeon_editor_system.cc}::SaveSingleRoomState().

| absl::Status yaze::zelda3::SaveAllCollision | ( | Rom * | rom, |
| int | room_count, | ||
| const std::function< Room *(int)> & | room_lookup ) |
Definition at line 3939 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllCollisionImpl().

| absl::StatusOr< std::vector< std::pair< uint32_t, uint32_t > > > yaze::zelda3::GetChestTableWriteRanges | ( | const Rom * | rom | ) |
Definition at line 3945 of file room.cc.
References kChestsDataPointer1, kChestsLengthPointer, kChestTableCapacityBytes, yaze::zelda3::Room::rom(), and yaze::SnesToPc().
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildChestSavePlanImpl().

| absl::StatusOr< ChestSavePlan > yaze::zelda3::BuildChestSavePlan | ( | const Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 4269 of file room.cc.
References yaze::zelda3::Room::rom().
Referenced by ApplyChestSavePlan(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyChestWriteRanges(), GetDirtyChestWriteRanges(), yaze::editor::DungeonEditorV2::PreflightObjectMutation(), yaze::editor::DungeonEditorV2::Save(), SaveAllChestsImpl(), and yaze::editor::DungeonEditorV2::SaveRoomImpl().

| absl::StatusOr< std::vector< std::pair< uint32_t, uint32_t > > > yaze::zelda3::GetDirtyChestWriteRanges | ( | const Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 4276 of file room.cc.
References ASSIGN_OR_RETURN, BuildChestSavePlan(), yaze::zelda3::Room::rom(), and yaze::zelda3::ChestSavePlan::write_ranges().

| absl::Status yaze::zelda3::ApplyChestSavePlan | ( | Rom * | rom, |
| const ChestSavePlan & | plan, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 4283 of file room.cc.
References yaze::rom::WriteFence::Allow(), yaze::zelda3::ChestSavePlan::any_dirty, ASSIGN_OR_RETURN, BuildChestSavePlan(), yaze::zelda3::Room::chests_dirty(), yaze::zelda3::Room::ClearChestsDirty(), yaze::ScopedRomTransaction::Commit(), yaze::zelda3::ChestSavePlan::data_pc, yaze::zelda3::ChestSavePlan::dirty_rooms, kChestsDataPointer1, kChestsLengthPointer, yaze::zelda3::ChestSavePlan::original_byte_length, yaze::zelda3::ChestSavePlan::original_capacity_bytes, yaze::zelda3::ChestSavePlan::pointer_operand, RETURN_IF_ERROR, yaze::zelda3::Room::rom(), yaze::zelda3::ChestSavePlan::room_limit, and yaze::zelda3::ChestSavePlan::writes.
Referenced by yaze::editor::DungeonEditorV2::Save(), SaveAllChestsImpl(), and yaze::editor::DungeonEditorV2::SaveRoomImpl().
| absl::Status yaze::zelda3::SaveAllChestsImpl | ( | Rom * | rom, |
| int | room_count, | ||
| RoomLookup && | room_lookup ) |
Definition at line 4357 of file room.cc.
References ApplyChestSavePlan(), ASSIGN_OR_RETURN, BuildChestSavePlan(), and yaze::zelda3::Room::rom().
Referenced by SaveAllChests(), and SaveAllChests().

Definition at line 4366 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllChestsImpl().
Referenced by yaze::zelda3::DungeonEditorSystem::SaveDungeon(), and yaze::zelda3::anonymous_namespace{dungeon_editor_system.cc}::SaveSingleRoomState().

| absl::Status yaze::zelda3::SaveAllChests | ( | Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 4371 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllChestsImpl().

| absl::Status yaze::zelda3::SaveAllPotItemsImpl | ( | Rom * | rom, |
| int | room_count, | ||
| RoomLookup && | room_lookup, | ||
| const DungeonStreamLayout * | repack_layout = nullptr ) |
Definition at line 4377 of file room.cc.
References ApplyDungeonStreamWritePlan(), ASSIGN_OR_RETURN, yaze::zelda3::Room::ClearPotItemsDirty(), yaze::zelda3::DungeonStreamReplacement::encoded_stream, yaze::zelda3::Room::GetPotItems(), InventoryDungeonStreams(), kNumberOfRooms, kRoomItemsPointers, PlanDungeonStreamRepack(), yaze::zelda3::Room::pot_items_dirty(), RETURN_IF_ERROR, yaze::zelda3::Room::rom(), and yaze::zelda3::DungeonStreamReplacement::room_id.
Referenced by SaveAllPotItems(), SaveAllPotItems(), SaveAllPotItems(), and SaveAllPotItems().
Definition at line 4491 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllPotItemsImpl().
Referenced by yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::SaveAllPotItemsForProject(), yaze::zelda3::DungeonEditorSystem::SaveDungeon(), and yaze::zelda3::anonymous_namespace{dungeon_editor_system.cc}::SaveSingleRoomState().

| absl::Status yaze::zelda3::SaveAllPotItems | ( | Rom * | rom, |
| absl::Span< const Room > | rooms, | ||
| const DungeonStreamLayout * | repack_layout ) |
Definition at line 4496 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllPotItemsImpl().

| absl::Status yaze::zelda3::SaveAllPotItems | ( | Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup ) |
Definition at line 4503 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllPotItemsImpl().

| absl::Status yaze::zelda3::SaveAllPotItems | ( | Rom * | rom, |
| int | room_count, | ||
| const std::function< const Room *(int)> & | room_lookup, | ||
| const DungeonStreamLayout * | repack_layout ) |
Definition at line 4509 of file room.cc.
References yaze::zelda3::Room::rom(), and SaveAllPotItemsImpl().

| const char * yaze::zelda3::RoomCensusStatusName | ( | RoomCensusStatus | status | ) |
Definition at line 93 of file room_census.cc.
References kFree, kInUse, and kReclaimable.
Referenced by yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute(), and yaze::cli::handlers::anonymous_namespace{dungeon_census_commands.cc}::FormatTable().
| uint16_t yaze::zelda3::HashRoomCensusObject | ( | int | id, |
| int | x, | ||
| int | y, | ||
| int | size ) |
Definition at line 105 of file room_census.cc.
Referenced by yaze::zelda3::anonymous_namespace{room_census.cc}::FingerprintRoom().
| float yaze::zelda3::RoomFingerprintSimilarity | ( | const std::vector< uint16_t > & | a, |
| const std::vector< uint16_t > & | b ) |
Definition at line 118 of file room_census.cc.
Referenced by CollectRoomCensusInput().
| absl::StatusOr< std::vector< std::vector< uint16_t > > > yaze::zelda3::ComputeRoomFingerprints | ( | Rom * | rom, |
| util::StopToken | stop_token ) |
Definition at line 143 of file room_census.cc.
References yaze::Rom::is_loaded(), LoadRoomFromRom(), and yaze::util::StopToken::stop_requested().
Referenced by CollectRoomCensusInput(), and yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute().

| std::vector< RoomCensusOwnerGroup > yaze::zelda3::RoomCensusOwnersFromProject | ( | const core::ProjectRegistry & | registry | ) |
Definition at line 165 of file room_census.cc.
References yaze::core::ProjectRegistry::dungeons, yaze::zelda3::RoomCensusOwnerGroup::id, yaze::zelda3::RoomCensusOwnerGroup::name, and yaze::zelda3::RoomCensusOwnerGroup::rooms.
Referenced by CollectRoomCensusInput(), and yaze::editor::RoomMatrixCensusOverlay::StartComputation().
| std::set< uint8_t > yaze::zelda3::RoomCensusWarpTagsFromManifest | ( | const core::HackManifest & | manifest | ) |
Definition at line 184 of file room_census.cc.
References yaze::core::HackManifest::room_tags().
Referenced by CollectRoomCensusInput(), yaze::editor::RoomMatrixCensusOverlay::StartComputation(), and yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::WarpTagsFromProject().

| absl::StatusOr< RoomCensusInput > yaze::zelda3::CollectRoomCensusInput | ( | Rom * | rom, |
| const RoomCensusOptions & | options ) |
Definition at line 201 of file room_census.cc.
References yaze::zelda3::RoomCensusOptions::address_overrides, ASSIGN_OR_RETURN, BuiltinVanillaRoomFingerprint(), yaze::zelda3::RoomCensusRoomFacts::chest_count, CollectRoomLinkFacts(), ComputeRoomFingerprints(), yaze::zelda3::RoomCensusOptions::custom_objects, yaze::zelda3::RoomCensusEntranceFact::dungeon_id, yaze::zelda3::RoomCensusEntranceFact::entrance_id, yaze::zelda3::RoomCensusInput::entrances, yaze::zelda3::RoomCensusInput::expanded_entrance_tables, yaze::Rom::filename(), yaze::zelda3::Room::GetChests(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::zelda3::RoomCensusInput::has_vanilla_baseline, HasBuiltinVanillaRoomFingerprints(), yaze::Rom::is_loaded(), IsDungeonRoomId(), kDungeonEntranceCount, kEntrance, kHole, yaze::zelda3::RoomCensusEntranceFact::kind, kNumDungeonSpawnPoints, kSpawn, kUnplacedEntrance, kZscreamExpanded, yaze::zelda3::DungeonSpawnPoint::Load(), LoadDungeonMaps(), LoadEntrances(), yaze::zelda3::PitDamageTable::LoadFromRom(), LoadHoles(), LoadRoomFromRom(), yaze::zelda3::Room::LoadSprites(), yaze::zelda3::RoomCensusOptions::manifest, yaze::zelda3::RoomCensusRoomFacts::object_count, yaze::zelda3::RoomCensusEntranceFact::ow_map, yaze::zelda3::RoomCensusInput::pause_map_rooms, yaze::zelda3::RoomCensusEntranceFact::placement, yaze::zelda3::RoomCensusOptions::project, yaze::zelda3::RoomCensusInput::project_owners, ReadDungeonEntranceTarget(), ResolveEntranceLayout(), yaze::zelda3::RoomCensusEntranceFact::room_id, yaze::zelda3::RoomCensusOptions::room_visitor, RoomCensusOwnersFromProject(), RoomCensusWarpTagsFromManifest(), RoomFingerprintSimilarity(), yaze::zelda3::RoomCensusInput::rooms, yaze::zelda3::RoomCensusRoomFacts::sprite_count, yaze::util::StopToken::stop_requested(), yaze::zelda3::RoomCensusOptions::stop_token, yaze::zelda3::RoomCensusInput::vanilla_baseline_source, yaze::zelda3::RoomCensusOptions::vanilla_rom, yaze::zelda3::RoomCensusRoomFacts::vanilla_similarity, yaze::Rom::vector(), and yaze::zelda3::RoomCensusInput::warp_tag_ids.
Referenced by yaze::zelda3::atlas::CollectDungeonAtlasInput(), and ComputeRoomCensus().
| std::string yaze::zelda3::FormatRoomBlockSummary | ( | const std::vector< int > & | rooms_in | ) |
Definition at line 361 of file room_census.cc.
| RoomCensus yaze::zelda3::BuildRoomCensus | ( | const RoomCensusInput & | input | ) |
Definition at line 409 of file room_census.cc.
References CollectRoomLinks(), yaze::zelda3::RoomReference::detail, yaze::zelda3::RoomCensusOwner::dungeon_id, yaze::zelda3::RoomReference::entrance_id, yaze::zelda3::RoomCensusInput::entrances, yaze::zelda3::RoomCensusInput::expanded_entrance_tables, yaze::zelda3::RoomCensus::expanded_entrance_tables, yaze::zelda3::RoomCensusOwner::from_project, yaze::zelda3::RoomReference::from_room, yaze::zelda3::RoomCensusInput::has_vanilla_baseline, yaze::zelda3::RoomCensus::has_vanilla_baseline, yaze::zelda3::RoomCensusOwner::id, yaze::zelda3::RoomCensusOwner::interior, IsDungeonRoomId(), kDungeonMap, kHole, yaze::zelda3::RoomReference::kind, kReclaimableVanillaSimilarity, kRoomCensusInteriorDungeonId, kSpawn, kUnplacedEntrance, yaze::zelda3::RoomCensusOwner::name, yaze::zelda3::RoomCensus::owners, yaze::zelda3::RoomCensus::owners_from_project, yaze::zelda3::RoomCensusInput::pause_map_rooms, yaze::zelda3::RoomCensusInput::project_owners, yaze::zelda3::RoomCensusInput::rooms, yaze::zelda3::RoomCensus::rooms, yaze::zelda3::RoomReference::strong, yaze::zelda3::RoomCensusInput::vanilla_baseline_source, yaze::zelda3::RoomCensus::vanilla_baseline_source, yaze::zelda3::RoomCensus::vanilla_owner_names, and yaze::zelda3::RoomCensusInput::warp_tag_ids.
Referenced by yaze::zelda3::atlas::BuildDungeonAtlas(), ComputeRoomCensus(), and yaze::editor::RoomMatrixCensusOverlay::StartComputation().

| absl::StatusOr< RoomCensus > yaze::zelda3::ComputeRoomCensus | ( | Rom * | rom, |
| const RoomCensusOptions & | options ) |
Definition at line 909 of file room_census.cc.
References BuildRoomCensus(), CollectRoomCensusInput(), ComputeRoomCensus(), yaze::util::StopToken::stop_requested(), and yaze::zelda3::RoomCensusOptions::stop_token.
Referenced by ComputeRoomCensus(), yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute(), and yaze::cli::handlers::DungeonGraphCommandHandler::Execute().

| bool yaze::zelda3::HasBuiltinVanillaRoomFingerprints | ( | ) |
Definition at line 13 of file room_census_vanilla_fingerprints.cc.
Referenced by CollectRoomCensusInput().
| std::vector< uint16_t > yaze::zelda3::BuiltinVanillaRoomFingerprint | ( | int | room_id | ) |
Definition at line 17 of file room_census_vanilla_fingerprints.cc.
Referenced by CollectRoomCensusInput().
| std::string yaze::zelda3::FormatVanillaFingerprintTable | ( | const std::vector< std::vector< uint16_t > > & | fingerprints, |
| const std::string & | source_note ) |
Definition at line 27 of file room_census_vanilla_fingerprints.cc.
Referenced by yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute().
| const char * yaze::zelda3::CollisionSourceName | ( | CollisionSource | source | ) |
Definition at line 1269 of file room_collision.cc.
References CollisionSourceName().
Referenced by CollisionSourceName(), and yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute().

| std::array< uint8_t, kTileAttributeTableSize > yaze::zelda3::LoadUnderworldTileAttributeTable | ( | const Rom & | rom, |
| uint8_t | blockset ) |
Definition at line 1303 of file room_collision.cc.
References LoadUnderworldTileAttributeTable().
Referenced by ComputeRoomCollisionMaps(), LoadUnderworldTileAttributeTable(), and yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles().

| RoomCollisionMaps yaze::zelda3::ComputeBasicCollisionMaps | ( | const std::array< uint8_t, kTileAttributeTableSize > & | table, |
| const RoomTilemaps & | tilemaps ) |
Definition at line 1321 of file room_collision.cc.
References yaze::zelda3::RoomCollisionMaps::attributes, yaze::zelda3::RoomTilemaps::bg1, yaze::zelda3::RoomTilemaps::bg2, ComputeBasicCollisionMaps(), kTileAttributeTableSize, and yaze::zelda3::RoomCollisionMaps::sources.
Referenced by ComputeBasicCollisionMaps(), and ComputeRoomCollisionMaps().

| RoomCollisionMaps yaze::zelda3::ComputeRoomCollisionMaps | ( | const Rom & | rom, |
| const RoomCollisionInput & | input, | ||
| const UnderworldRoomLoadState & | state ) |
Definition at line 1348 of file room_collision.cc.
References yaze::zelda3::RoomCollisionMaps::attributes, yaze::zelda3::RoomCollisionInput::blockset, ComputeBasicCollisionMaps(), ComputeRoomCollisionMaps(), yaze::zelda3::UnderworldRoomLoadState::crystal_pegs_swapped, kRoomCollisionBytes, LoadUnderworldTileAttributeTable(), yaze::zelda3::RoomCollisionMaps::sources, and yaze::zelda3::RoomCollisionInput::tilemaps.
Referenced by yaze::app::service::RenderService::ApplyOverlays(), ComputeRoomCollisionMaps(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), and ResolveVanillaStaircaseSlots().

| std::vector< StaircaseSlotResolution > yaze::zelda3::ResolveVanillaStaircaseSlots | ( | const Rom & | rom, |
| const RoomCollisionInput & | input, | ||
| const UnderworldRoomLoadState & | state ) |
Definition at line 1373 of file room_collision.cc.
References ComputeRoomCollisionMaps(), yaze::zelda3::StaircaseSlotResolution::object_index, yaze::zelda3::RoomCollisionInput::objects, ResolveVanillaStaircaseSlots(), yaze::zelda3::StaircaseSlotResolution::status, and UsesRoomObjectStream().
Referenced by CollectRoomLinkFacts(), yaze::editor::DrawDungeonDestinationEditor(), yaze::cli::handlers::DungeonDescribeRoomCommandHandler::Execute(), and ResolveVanillaStaircaseSlots().

| RoomCollisionInput yaze::zelda3::MakeRoomCollisionInput | ( | const Room & | room, |
| const RoomTilemaps & | tilemaps ) |
Definition at line 1488 of file room_collision.cc.
References yaze::zelda3::Room::blockset(), yaze::zelda3::RoomCollisionInput::blockset, yaze::zelda3::RoomCollisionInput::doors, yaze::zelda3::Room::GetDoors(), yaze::zelda3::Room::GetTileObjects(), yaze::zelda3::Room::id(), MakeRoomCollisionInput(), yaze::zelda3::RoomCollisionInput::objects, yaze::zelda3::RoomCollisionInput::room_id, yaze::zelda3::Room::tag1(), yaze::zelda3::RoomCollisionInput::tag1, yaze::zelda3::Room::tag2(), yaze::zelda3::RoomCollisionInput::tag2, and yaze::zelda3::RoomCollisionInput::tilemaps.
Referenced by yaze::app::service::RenderService::ApplyOverlays(), CollectRoomLinkFacts(), yaze::editor::DrawDungeonDestinationEditor(), yaze::cli::handlers::DungeonDescribeRoomCommandHandler::Execute(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), MakeRoomCollisionInput(), and MakeRoomCollisionInput().
| RoomCollisionInput yaze::zelda3::MakeRoomCollisionInput | ( | const Room & | room | ) |
Definition at line 1501 of file room_collision.cc.
References ComposeYazeRoomTilemaps(), and MakeRoomCollisionInput().

| int yaze::zelda3::DungeonBackgroundPaletteOffset | ( | uint8_t | main_blockset, |
| int | destination_slot ) |
Definition at line 19 of file room_default_entrance.cc.
Referenced by yaze::zelda3::Room::BackgroundPaletteOffset(), yaze::editor::SheetBrowserPanel::DrawPngTransfer(), and ResolveRoomSheetPalette().
| RoomMainBlocksetResolution yaze::zelda3::ResolveRoomMainBlockset | ( | int | room_id, |
| uint8_t | header_blockset, | ||
| uint8_t | requested_main_blockset, | ||
| const GameData & | game_data ) |
Definition at line 31 of file room_default_entrance.cc.
References kDirect, kDirectDefault, kExplicitPreview, kHeaderFallback, kInferredDefault, kZeroFallback, yaze::zelda3::GameData::main_blockset_ids, and yaze::zelda3::GameData::room_default_entrances.
Referenced by DescribeMainGroupUsage(), yaze::zelda3::Room::LoadRoomGraphics(), ResolveRoomBackgroundSet(), and ResolveRoomSheetPalette().
| std::vector< RoomDefaultEntrance > yaze::zelda3::ComputeRoomDefaultEntrances | ( | Rom & | rom | ) |
Definition at line 56 of file room_default_entrance.cc.
References yaze::zelda3::RoomEntrance::blockset_, yaze::zelda3::RoomEntrance::dungeon_id_, yaze::zelda3::RoomDefaultEntrance::entrance_id, yaze::Rom::is_loaded(), kDirect, kDungeonMap, kNeighbour, kNone, kNumberOfRooms, kNumRegularDungeonEntrances, yaze::zelda3::RoomEntrance::load_status(), LoadDungeonMaps(), yaze::zelda3::RoomDefaultEntrance::main_blockset, ResolveEntranceLayout(), yaze::zelda3::RoomEntrance::room_, yaze::zelda3::RoomDefaultEntrance::source, and yaze::Rom::vector().
Referenced by LoadGameData().
|
inline |
Definition at line 53 of file room_entrance.h.
References kNumRegularDungeonEntrances, and yaze::zelda3::EntranceLayout::tables.
Referenced by CollectDirtyRegularDungeonEntranceWriteRanges(), RegularDungeonEntranceWriteRanges(), and ValidateRegularDungeonEntranceForSave().
|
inline |
Definition at line 69 of file room_entrance.h.
References ASSIGN_OR_RETURN, kNumRegularDungeonEntrances, RegularDungeonEntranceWriteRanges(), ResolveEntranceLayout(), and yaze::Rom::vector().

|
inline |
Definition at line 423 of file room_entrance.h.
References ASSIGN_OR_RETURN, yaze::zelda3::RoomEntrance::entrance_id_, yaze::zelda3::RoomEntrance::is_spawn_point(), kNumberOfRooms, kNumRegularDungeonEntrances, yaze::zelda3::RoomEntrance::load_status(), yaze::zelda3::RoomEntrance::loaded_layout_kind(), RegularDungeonEntranceWriteRanges(), ResolveEntranceLayout(), RETURN_IF_ERROR, yaze::zelda3::RoomEntrance::room_, yaze::Rom::size(), and yaze::Rom::vector().
Referenced by yaze::zelda3::RoomEntrance::Save(), and ValidateRegularDungeonEntrancesForSave().
|
inline |
Definition at line 405 of file room_entrance.h.
References ASSIGN_OR_RETURN, kNumDungeonSpawnPoints, kNumRegularDungeonEntrances, RegularDungeonEntranceWriteRanges(), ResolveEntranceLayout(), and yaze::Rom::vector().
Referenced by yaze::editor::DungeonEditorV2::CollectWriteRanges(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::ValidateDungeonEntranceSavePreflight().

|
inline |
Definition at line 466 of file room_entrance.h.
References kNumDungeonSpawnPoints, kNumRegularDungeonEntrances, ResolveEntranceLayout(), RETURN_IF_ERROR, ValidateRegularDungeonEntranceForSave(), and yaze::Rom::vector().
Referenced by SaveAllDungeonEntrances(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::ValidateDungeonEntranceSavePreflight().

|
inline |
Definition at line 483 of file room_entrance.h.
References kNumDungeonSpawnPoints.
Referenced by SaveAllDungeonEntrances(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::ValidateDungeonEntranceSavePreflight().
|
inline |
Definition at line 498 of file room_entrance.h.
References yaze::Rom::is_loaded(), kNumDungeonSpawnPoints, kNumRegularDungeonEntrances, RejectUnsupportedDungeonSpawnPointSaves(), RETURN_IF_ERROR, and ValidateRegularDungeonEntrancesForSave().
Referenced by yaze::editor::DungeonEditorV2::Save(), and yaze::editor::DungeonEditorV2::SaveRoomImpl().

|
constexpr |
Definition at line 15 of file room_header_destination.h.
Referenced by CheckedHeaderDestinationRoom(), CollectRoomLinks(), yaze::editor::DrawDungeonDestinationEditor(), yaze::cli::handlers::DungeonRoomHeaderCommandHandler::Execute(), yaze::cli::handlers::DungeonGraphCommandHandler::Execute(), yaze::zelda3::Room::holewarp_destination_room(), and yaze::zelda3::Room::staircase_destination_room().
|
constexpr |
Definition at line 23 of file room_header_destination.h.
| RoomLayerRegisters yaze::zelda3::DeriveRoomLayerRegisters | ( | uint8_t | bgact, |
| bool | dark, | ||
| int | effect, | ||
| int | tag2, | ||
| const std::vector< RoomObject > & | objects, | ||
| uint16_t | room_flags ) |
Definition at line 15 of file room_layer_registers.cc.
References yaze::zelda3::RoomLayerRegisters::cgadsub, yaze::zelda3::RoomLayerRegisters::tm, and yaze::zelda3::RoomLayerRegisters::ts.
Referenced by yaze::zelda3::Room::GameLayerRegisters().
| const char * yaze::zelda3::RoomReferenceKindName | ( | RoomReferenceKind | kind | ) |
Definition at line 214 of file room_links.cc.
References kDoor, kDungeonMap, kEntrance, kHeaderOnly, kHole, kHolewarp, kProjectListing, kSpawn, kStair, kTeleportDoor, kUnplacedEntrance, and kWarpTag.
Referenced by yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::AddLinkObject(), yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute(), and yaze::cli::handlers::DungeonRoomGraphCommandHandler::Execute().
| const char * yaze::zelda3::RoomDoorRoleName | ( | RoomDoorRole | role | ) |
Definition at line 244 of file room_links.cc.
References kExit, kKeyStairs, kNeighbor, and kTeleport.
Referenced by yaze::cli::handlers::DungeonRoomGraphCommandHandler::Execute().
| bool yaze::zelda3::IsDungeonRoomId | ( | int | room_id | ) |
Definition at line 258 of file room_links.cc.
References kDungeonRoomCount.
Referenced by yaze::zelda3::atlas::BuildDungeonAtlas(), BuildRoomCensus(), CheckedHeaderDestinationRoom(), CollectRoomCensusInput(), CollectRoomLinks(), DungeonNeighborRoom(), yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::EntranceStart(), yaze::cli::handlers::DungeonGraphCommandHandler::Execute(), yaze::zelda3::RoomLinkFactsCache::Get(), and yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::RoomName().
| int yaze::zelda3::DungeonNeighborRoom | ( | int | room_id, |
| int | direction ) |
Definition at line 262 of file room_links.cc.
References IsDungeonRoomId().
Referenced by CollectRoomLinks().

| int yaze::zelda3::CheckedHeaderDestinationRoom | ( | int | source_room_id, |
| uint8_t | header_byte ) |
Definition at line 287 of file room_links.cc.
References IsDungeonRoomId(), and ResolveHeaderDestinationRoom().

| bool yaze::zelda3::UsesExpandedEntranceTables | ( | const Rom & | rom | ) |
Definition at line 292 of file room_links.cc.
References kZscreamExpanded, ResolveEntranceLayout(), and yaze::Rom::vector().

| std::optional< DungeonEntranceTarget > yaze::zelda3::ReadDungeonEntranceTarget | ( | const Rom & | rom, |
| int | entrance_id ) |
Definition at line 297 of file room_links.cc.
References yaze::zelda3::DungeonEntranceTarget::dungeon_id, yaze::zelda3::DungeonEntranceTarget::expanded, kDungeon, kDungeonEntranceCount, kRoom, kZscreamExpanded, ResolveEntranceLayout(), yaze::zelda3::DungeonEntranceTarget::room_id, and yaze::Rom::vector().
Referenced by CollectRoomCensusInput(), yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::EntranceStart(), and yaze::cli::handlers::EntranceInfoCommandHandler::Execute().

| bool yaze::zelda3::IsPitObjectId | ( | int | id | ) |
Definition at line 322 of file room_links.cc.
Referenced by CollectRoomLinkFacts().
| bool yaze::zelda3::IsWarpTileObjectId | ( | int | id | ) |
Definition at line 331 of file room_links.cc.
Referenced by CollectRoomLinkFacts().
| bool yaze::zelda3::IsHoleRoomTag | ( | uint8_t | tag | ) |
Definition at line 335 of file room_links.cc.
References Holes_0, Holes_1, Holes_2, Holes_3, Holes_4, Holes_5, Holes_6, Holes_7, Holes_8, Open_Chest_Activate_Holes_0, and Open_Chest_for_Holes_8.
Referenced by CollectRoomLinkFacts(), and yaze::zelda3::anonymous_namespace{room_links.cc}::LiveHoleTag().
| bool yaze::zelda3::IsPitTileAttribute | ( | uint8_t | attribute | ) |
Definition at line 355 of file room_links.cc.
Referenced by CollectRoomLinkFacts(), and yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles().
| bool yaze::zelda3::IsWarpTileAttribute | ( | uint8_t | attribute | ) |
Definition at line 359 of file room_links.cc.
Referenced by CollectRoomLinkFacts(), and yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles().
| absl::StatusOr< RoomLinkFacts > yaze::zelda3::CollectRoomLinkFacts | ( | Rom * | rom, |
| const Room & | room, | ||
| const PitDamageTable * | pit_table, | ||
| const CustomObjectRenderSnapshot * | custom_objects, | ||
| util::StopToken | stop_token ) |
Definition at line 363 of file room_links.cc.
References yaze::zelda3::RoomLinkFacts::Door::along, ASSIGN_OR_RETURN, yaze::zelda3::Room::blockset(), yaze::zelda3::RoomLinkFacts::blockset, yaze::zelda3::PitDamageTable::Contains(), yaze::zelda3::Room::custom_collision(), yaze::zelda3::RoomLinkFacts::Door::direction, yaze::zelda3::RoomLinkFacts::doors, yaze::zelda3::Room::GetDoors(), yaze::zelda3::RoomLayout::GetObjects(), yaze::zelda3::Room::GetSprites(), yaze::zelda3::Room::GetTileObjects(), yaze::zelda3::Room::has_custom_collision(), yaze::zelda3::RoomLinkFacts::has_hole_tag, yaze::zelda3::RoomLinkFacts::has_pits, yaze::zelda3::RoomLinkFacts::has_warp_tiles, yaze::zelda3::RoomLinkFacts::hole_sprite, yaze::zelda3::Room::holewarp(), yaze::zelda3::RoomLinkFacts::holewarp_byte, yaze::zelda3::Room::id(), yaze::zelda3::RoomLinkFacts::in_pit_damage_table, yaze::Rom::is_loaded(), IsExitDoorType(), IsHoleRoomTag(), IsPitObjectId(), IsPitTileAttribute(), IsRoomConnectionDoorType(), IsWarpTileAttribute(), IsWarpTileObjectId(), kExit, kKeyStairs, kTeleport, kTeleportDoorType, yaze::zelda3::Room::layout_id(), yaze::zelda3::RoomLayout::LoadLayout(), MakeRoomCollisionInput(), name, yaze::zelda3::RoomLinkFacts::Door::outer, yaze::zelda3::RoomLinkFacts::pits_only_in_braziers, ResolveVanillaStaircaseSlots(), RETURN_IF_ERROR, yaze::zelda3::RoomLinkFacts::Door::role, yaze::zelda3::RoomLinkFacts::room_id, yaze::zelda3::RoomLinkFacts::stair_bytes, yaze::zelda3::RoomLinkFacts::stair_slot_estimated, yaze::zelda3::RoomLinkFacts::stair_slot_used, yaze::zelda3::Room::staircase_room(), yaze::util::StopToken::stop_requested(), yaze::zelda3::Room::tag1(), yaze::zelda3::RoomLinkFacts::tag1, yaze::zelda3::Room::tag2(), yaze::zelda3::RoomLinkFacts::tag2, yaze::zelda3::RoomLinkFacts::Door::tile_x, yaze::zelda3::RoomLinkFacts::Door::tile_y, yaze::zelda3::CustomCollisionMap::tiles, and yaze::zelda3::RoomLinkFacts::Door::type.
Referenced by CollectRoomCensusInput(), and yaze::zelda3::RoomLinkFactsCache::Get().
| std::vector< RoomLink > yaze::zelda3::CollectRoomLinks | ( | int | room_id, |
| const RoomLinkFactsLookup & | lookup, | ||
| const std::set< uint8_t > & | warp_tag_ids ) |
Definition at line 487 of file room_links.cc.
References yaze::zelda3::RoomLinkFacts::blockset, yaze::zelda3::RoomLink::detail, yaze::zelda3::RoomLink::direction, yaze::zelda3::RoomLink::door, yaze::zelda3::RoomLinkFacts::doors, DungeonNeighborRoom(), yaze::zelda3::RoomLink::from, yaze::zelda3::RoomLinkFacts::has_pits, yaze::zelda3::RoomLinkFacts::has_warp_tiles, yaze::zelda3::RoomLinkFacts::hole_sprite, yaze::zelda3::RoomLinkFacts::holewarp_byte, yaze::zelda3::RoomLink::holewarp_cause, yaze::zelda3::RoomLinkFacts::in_pit_damage_table, IsDungeonRoomId(), kDoor, kHeaderOnly, kHolewarp, yaze::zelda3::RoomLink::kind, kNeighbor, kPits, kSprite, kStair, kTag, kTeleport, kTeleportDoor, kWarpTag, kWarpTiles, yaze::zelda3::RoomLink::owner_ok, yaze::zelda3::RoomLinkFacts::pits_only_in_braziers, yaze::zelda3::RoomLink::raw_to, ResolveHeaderDestinationRoom(), yaze::zelda3::RoomLink::slot, yaze::zelda3::RoomLinkFacts::stair_bytes, yaze::zelda3::RoomLinkFacts::stair_slot_estimated, yaze::zelda3::RoomLinkFacts::stair_slot_used, yaze::zelda3::RoomLink::strong, yaze::zelda3::RoomLinkFacts::tag1, yaze::zelda3::RoomLinkFacts::tag2, and yaze::zelda3::RoomLink::to.
Referenced by yaze::zelda3::atlas::BuildDungeonAtlas(), BuildRoomCensus(), yaze::cli::handlers::DungeonGraphCommandHandler::Execute(), yaze::cli::handlers::DungeonDiscoverCommandHandler::Execute(), and yaze::cli::handlers::DungeonRoomGraphCommandHandler::Execute().

| ObjectOption yaze::zelda3::operator| | ( | ObjectOption | lhs, |
| ObjectOption | rhs ) |
Definition at line 45 of file room_object.cc.
| ObjectOption yaze::zelda3::operator& | ( | ObjectOption | lhs, |
| ObjectOption | rhs ) |
Definition at line 50 of file room_object.cc.
| ObjectOption yaze::zelda3::operator^ | ( | ObjectOption | lhs, |
| ObjectOption | rhs ) |
Definition at line 55 of file room_object.cc.
| ObjectOption yaze::zelda3::operator~ | ( | ObjectOption | option | ) |
Definition at line 60 of file room_object.cc.
| bool yaze::zelda3::IsRoomObjectSizeEditable | ( | int | object_id | ) |
Definition at line 337 of file room_object.cc.
Referenced by yaze::zelda3::DungeonObjectEditor::BatchResizeObjects(), CanonicalRoomObjectSize(), DefaultRoomObjectSizeForPlacement(), yaze::editor::workbench::DescribeObjectSize(), yaze::editor::workbench::DrawObjectSizeControls(), yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), IsRoomObjectResizable(), yaze::zelda3::DungeonObjectEditor::ResizeObject(), yaze::editor::TileObjectHandler::SetPreviewSize(), and yaze::editor::TileObjectHandler::UpdateObjectsSize().
| bool yaze::zelda3::IsRoomObjectResizable | ( | int | object_id | ) |
Definition at line 341 of file room_object.cc.
References yaze::core::FeatureFlags::get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::CustomObjectManager::GetSubtypeCount(), IsRoomObjectSizeEditable(), and yaze::core::FeatureFlags::Flags::kEnableCustomObjects.
Referenced by yaze::editor::workbench::DescribeObjectSize(), yaze::editor::DungeonObjectInteraction::DrawSelectionHighlights(), yaze::editor::TileObjectHandler::ResizeObjects(), ResizeRoomObjectByDelta(), RoomObjectSizeAxisStep(), yaze::editor::TileObjectHandler::SetPreviewSize(), and yaze::editor::TileObjectHandler::UpdateObjectsSize().

| int yaze::zelda3::RoomObjectSizeAxisStep | ( | int | object_id | ) |
Definition at line 347 of file room_object.cc.
References yaze::zelda3::DrawRoutineRegistry::Get(), IsRoomObjectResizable(), yaze::zelda3::DrawRoutineIds::k3x3FloorIn4x4SuperSquare, yaze::zelda3::DrawRoutineIds::k4x4BlocksIn4x4SuperSquare, yaze::zelda3::DrawRoutineIds::k4x4FloorIn4x4SuperSquare, yaze::zelda3::DrawRoutineIds::k4x4FloorOneIn4x4SuperSquare, yaze::zelda3::DrawRoutineIds::k4x4FloorTwoIn4x4SuperSquare, yaze::zelda3::DrawRoutineIds::kClosedChestPlatform, yaze::zelda3::DrawRoutineIds::kOpenChestPlatform, yaze::zelda3::DrawRoutineIds::kSpike2x2In4x4SuperSquare, and yaze::zelda3::DrawRoutineIds::kTableRock4x4_1to16.
Referenced by DefaultRoomObjectSizeForPlacement(), yaze::editor::workbench::DescribeObjectSize(), yaze::editor::workbench::DrawObjectSizeControls(), yaze::editor::DungeonObjectInteraction::DrawSelectionHighlights(), ResizeRoomObjectByDelta(), ResizeRoomObjectUniformlyByDelta(), and RoomObjectSizeAxisTiles().

| int yaze::zelda3::RoomObjectSizeAxisTiles | ( | int | object_id, |
| uint8_t | size, | ||
| bool | horizontal ) |
Definition at line 369 of file room_object.cc.
References yaze::zelda3::ObjectDimensionTable::Get(), yaze::zelda3::ObjectDimensionTable::GetDimensions(), and RoomObjectSizeAxisStep().
Referenced by yaze::editor::workbench::DrawObjectSizeControls(), and yaze::editor::DungeonObjectInteraction::DrawSelectionHighlights().

| uint8_t yaze::zelda3::ResizeRoomObjectByDelta | ( | int | object_id, |
| uint8_t | size, | ||
| int | delta, | ||
| bool | horizontal ) |
Definition at line 385 of file room_object.cc.
References IsRoomObjectResizable(), and RoomObjectSizeAxisStep().
Referenced by yaze::editor::TileObjectHandler::HandleMouseWheel(), yaze::zelda3::DungeonObjectEditor::HandleSizeEdit(), yaze::editor::TileObjectHandler::ResizeObjects(), and ResizeRoomObjectUniformlyByDelta().

| uint8_t yaze::zelda3::CanonicalRoomObjectSize | ( | int | object_id, |
| uint8_t | requested_size ) |
Definition at line 403 of file room_object.cc.
References IsRoomObjectSizeEditable().
Referenced by yaze::zelda3::DungeonObjectEditor::BatchResizeObjects(), yaze::zelda3::ObjectTileEditor::CaptureObjectLayout(), yaze::zelda3::DungeonObjectEditor::ChangeObjectType(), DefaultRoomObjectSizeForPlacement(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement(), yaze::editor::DungeonObjectSelector::DrawCustomObjectAssetBrowser(), yaze::editor::DungeonEditorV2::EditChest(), yaze::cli::handlers::DungeonPlaceObjectCommandHandler::Execute(), yaze::editor::DungeonObjectSelector::GetOrCreatePreview(), yaze::zelda3::DungeonObjectEditor::InsertObject(), yaze::zelda3::DungeonObjectEditor::ResizeObject(), yaze::editor::DungeonObjectSelector::SelectObject(), yaze::zelda3::DungeonObjectEditor::SetCurrentObjectType(), yaze::editor::TileObjectHandler::SetPreviewSize(), yaze::editor::TileObjectHandler::UpdateObjectsId(), yaze::editor::TileObjectHandler::UpdateObjectsSize(), yaze::zelda3::DungeonObjectEditor::UpdatePreviewObject(), and ValidateRoomObjectStreamEntryForSave().

| uint8_t yaze::zelda3::ResizeRoomObjectUniformlyByDelta | ( | int | object_id, |
| uint8_t | size, | ||
| int | delta ) |
Definition at line 417 of file room_object.cc.
References ResizeRoomObjectByDelta(), and RoomObjectSizeAxisStep().
Referenced by yaze::editor::TileObjectHandler::HandleMouseWheel(), and yaze::editor::TileObjectHandler::ResizeObjects().

| uint8_t yaze::zelda3::DefaultRoomObjectSizeForPlacement | ( | int | object_id | ) |
Definition at line 433 of file room_object.cc.
References CanonicalRoomObjectSize(), IsRoomObjectSizeEditable(), and RoomObjectSizeAxisStep().
Referenced by yaze::zelda3::ObjectTileEditor::CaptureObjectLayout(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::zelda3::DungeonObjectEditor::InitializeEditor(), yaze::editor::DungeonObjectSelector::MakePreviewObject(), and yaze::editor::DungeonObjectSelector::SelectObject().

| absl::Status yaze::zelda3::ValidateRoomObjectStreamEntryForSave | ( | const RoomObject & | object | ) |
Definition at line 440 of file room_object.cc.
References yaze::zelda3::RoomObject::ObjectBytes::b1, yaze::zelda3::RoomObject::ObjectBytes::b2, yaze::zelda3::RoomObject::ObjectBytes::b3, CanonicalRoomObjectSize(), yaze::zelda3::RoomObject::DecodeObjectFromBytes(), yaze::zelda3::RoomObject::DetermineObjectType(), yaze::zelda3::RoomObject::id_, yaze::zelda3::RoomObject::x_, and yaze::zelda3::RoomObject::y_.
Referenced by yaze::zelda3::Room::PlanObjectSave(), yaze::editor::anonymous_namespace{dungeon_selection_edit.cc}::TranslateObject(), yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateDomains(), yaze::editor::anonymous_namespace{tile_object_handler.cc}::ValidateObjectCandidates(), and yaze::zelda3::DungeonValidator::ValidateRoom().

|
inlineconstexpr |
Definition at line 285 of file room_object.h.
Referenced by yaze::editor::CopyDungeonSelection(), yaze::editor::TileObjectHandler::CopyObjectsToClipboard(), yaze::cli::anonymous_namespace{dungeon_doctor_commands.cc}::DiagnoseRoom(), yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement(), yaze::editor::DrawDungeonChestEditor(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), yaze::editor::TileObjectHandler::DuplicateObjects(), yaze::zelda3::Room::HandleSpecialObjects(), yaze::zelda3::anonymous_namespace{chest_edit.cc}::IsChest(), yaze::editor::TileObjectHandler::PasteFromClipboard(), yaze::editor::TileObjectHandler::PlaceObjectAt(), yaze::editor::PlanDungeonSelectionEdit(), yaze::zelda3::anonymous_namespace{chest_edit.cc}::StreamObjectIndices(), yaze::editor::TileObjectHandler::UpdateObjectsId(), yaze::zelda3::DungeonValidator::ValidateRoom(), and yaze::zelda3::anonymous_namespace{chest_edit.cc}::ValidateRoomEventSlots().
|
inline |
Definition at line 302 of file room_object.h.
References yaze::zelda3::RoomObject::BG1, yaze::zelda3::RoomObject::BG2, and yaze::zelda3::RoomObject::BG3.
Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildObjectTraceReport(), yaze::editor::anonymous_namespace{dungeon_canvas_issue_report.cc}::BuildSelectedObjectSemanticsSummary(), ComputeObjectTileOwners(), yaze::zelda3::Room::RenderObjectsToBackground(), and yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles().
|
inline |
Definition at line 769 of file room_object.h.
Referenced by yaze::editor::ObjectTileEditorPanel::BuildWindowTitle(), yaze::editor::InteractionCoordinator::DescribeEntity(), yaze::editor::DungeonCanvasViewer::DisplayObjectInfo(), yaze::editor::ObjectCoveragePanel::DrawDetails(), yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::editor::DungeonWorkbenchContent::DrawObjectPlacementInspector(), yaze::editor::DungeonCanvasViewer::DrawObjectPositionOutlines(), yaze::editor::ObjectCoveragePanel::DrawObjectTable(), yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), yaze::editor::DungeonObjectInteraction::DrawSelectionHighlights(), yaze::cli::handlers::DungeonDescribeRoomCommandHandler::Execute(), yaze::cli::handlers::DungeonPlaceObjectCommandHandler::Execute(), yaze::cli::handlers::DungeonRemoveObjectCommandHandler::Execute(), yaze::editor::DungeonCanvasViewer::HandleTouchLongPressContextMenu(), and yaze::editor::ObjectCoveragePanel::PassesFilters().
|
inline |
Definition at line 801 of file room_object.h.
Referenced by yaze::editor::DungeonWorkbenchContent::DrawInspectorShelfSelection(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::zelda3::DungeonObjectEditor::DrawPropertyUI(), and yaze::editor::DungeonObjectInteraction::DrawSelectionHighlights().
| absl::StatusOr< TrackCollisionResult > yaze::zelda3::GenerateTrackCollision | ( | Room * | room, |
| const GeneratorOptions & | options ) |
Definition at line 252 of file track_collision_generator.cc.
References yaze::zelda3::TrackCollisionResult::ascii_visualization, yaze::zelda3::TrackCollisionResult::collision_map, yaze::zelda3::TrackCollisionResult::corner_count, yaze::zelda3::Room::EnsureObjectsLoaded(), yaze::zelda3::DimensionService::Get(), yaze::zelda3::Room::GetTileObjects(), yaze::zelda3::CustomCollisionMap::has_data, yaze::zelda3::Room::id(), IsMinecartTrackGraphicsSubtype(), yaze::zelda3::TrackCollisionResult::room_id, yaze::zelda3::TrackCollisionResult::stop_count, yaze::zelda3::GeneratorOptions::stop_overrides, yaze::zelda3::TrackCollisionResult::switch_count, yaze::zelda3::GeneratorOptions::switch_promotions, yaze::zelda3::CustomCollisionMap::tiles, yaze::zelda3::TrackCollisionResult::tiles_generated, yaze::zelda3::GeneratorOptions::track_object_id, and VisualizeCollisionMap().
Referenced by yaze::editor::DungeonEditorV2::ApplyMinecartCollisionBatch(), yaze::editor::MinecartTrackEditorPanel::BuildCollisionPreview(), and yaze::cli::handlers::DungeonGenerateTrackCollisionCommandHandler::Execute().
| absl::Status yaze::zelda3::WriteTrackCollision | ( | Rom * | rom, |
| int | room_id, | ||
| const CustomCollisionMap & | map ) |
Definition at line 352 of file track_collision_generator.cc.
References yaze::rom::WriteFence::Allow(), ASSIGN_OR_RETURN, yaze::zelda3::CustomCollisionMap::HasOverride(), yaze::Rom::is_loaded(), kCustomCollisionDataPosition, kCustomCollisionDataSoftEnd, kCustomCollisionRoomPointers, kNumberOfRooms, yaze::PcToSnes(), RETURN_IF_ERROR, yaze::SnesToPc(), yaze::zelda3::CustomCollisionMap::tiles, yaze::Rom::vector(), yaze::Rom::WriteByte(), and yaze::Rom::WriteVector().
Referenced by yaze::cli::handlers::DungeonGenerateTrackCollisionCommandHandler::Execute(), and SaveAllCollisionImpl().
| std::string yaze::zelda3::VisualizeCollisionMap | ( | const CustomCollisionMap & | map | ) |
Definition at line 500 of file track_collision_generator.cc.
References yaze::zelda3::CustomCollisionMap::tiles.
Referenced by GenerateTrackCollision().
| absl::StatusOr< std::vector< WaterFillZoneEntry > > yaze::zelda3::LoadWaterFillTable | ( | Rom * | rom | ) |
Definition at line 190 of file water_fill_zone.cc.
References yaze::zelda3::WaterFillZoneEntry::fill_offsets, yaze::Rom::is_loaded(), kWaterFillTableEnd, kWaterFillTableReservedSize, kWaterFillTableStart, RETURN_IF_ERROR, yaze::zelda3::WaterFillZoneEntry::room_id, yaze::zelda3::WaterFillZoneEntry::sram_bit_mask, and yaze::Rom::vector().
Referenced by yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::AssignTransferredWaterMask(), yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded(), yaze::cli::RomDoctorCommandHandler::Execute(), yaze::cli::handlers::DungeonExportWaterFillJsonCommandHandler::ExecuteWithContext(), yaze::editor::DungeonEditorV2::PreflightRoomTransfer(), yaze::editor::DungeonEditorV2::ReloadWaterFillZones(), RunOracleRomSafetyPreflight(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::SaveWaterFillZones().

| absl::Status yaze::zelda3::WriteWaterFillTable | ( | Rom * | rom, |
| const std::vector< WaterFillZoneEntry > & | zones ) |
Definition at line 316 of file water_fill_zone.cc.
References yaze::rom::WriteFence::Allow(), yaze::Rom::is_loaded(), kWaterFillTableEnd, kWaterFillTableReservedSize, kWaterFillTableStart, RETURN_IF_ERROR, yaze::Rom::vector(), and yaze::Rom::WriteVector().
Referenced by yaze::cli::handlers::DungeonImportWaterFillJsonCommandHandler::Execute(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::SaveWaterFillZones().

| absl::StatusOr< std::vector< WaterFillZoneEntry > > yaze::zelda3::LoadLegacyWaterGateZones | ( | Rom * | rom, |
| const std::string & | symbol_path ) |
Definition at line 406 of file water_fill_zone.cc.
References ASSIGN_OR_RETURN, yaze::Rom::filename(), yaze::zelda3::WaterFillZoneEntry::fill_offsets, yaze::Rom::is_loaded(), RETURN_IF_ERROR, yaze::zelda3::WaterFillZoneEntry::room_id, yaze::SnesToPc(), yaze::zelda3::WaterFillZoneEntry::sram_bit_mask, and yaze::Rom::vector().
Referenced by yaze::editor::DungeonEditorV2::ReloadWaterFillZones().

| absl::Status yaze::zelda3::NormalizeWaterFillZoneMasks | ( | std::vector< WaterFillZoneEntry > * | zones | ) |
| absl::StatusOr< std::string > yaze::zelda3::DumpWaterFillZonesToJsonString | ( | const std::vector< WaterFillZoneEntry > & | zones | ) |
Definition at line 566 of file water_fill_zone.cc.
Referenced by yaze::editor::WaterFillPanel::Draw(), and yaze::cli::handlers::DungeonExportWaterFillJsonCommandHandler::ExecuteWithContext().
| absl::StatusOr< std::vector< WaterFillZoneEntry > > yaze::zelda3::LoadWaterFillZonesFromJsonString | ( | const std::string & | json_content | ) |
Definition at line 606 of file water_fill_zone.cc.
References yaze::zelda3::WaterFillZoneEntry::fill_offsets, yaze::zelda3::WaterFillZoneEntry::room_id, and yaze::zelda3::WaterFillZoneEntry::sram_bit_mask.
Referenced by yaze::editor::WaterFillPanel::Draw(), and yaze::cli::handlers::DungeonImportWaterFillJsonCommandHandler::Execute().
| uint32_t yaze::zelda3::GetGraphicsAddress | ( | const uint8_t * | data, |
| uint8_t | addr, | ||
| uint32_t | ptr1, | ||
| uint32_t | ptr2, | ||
| uint32_t | ptr3, | ||
| size_t | rom_size ) |
Gets the graphics address for a sheet index.
| data | ROM data pointer |
| addr | Sheet index |
| ptr1 | Bank byte pointer table offset |
| ptr2 | High byte pointer table offset |
| ptr3 | Low byte pointer table offset |
| rom_size | ROM size for bounds checking |
Definition at line 112 of file game_data.cc.
References yaze::AddressFromBytes(), and yaze::SnesToPc().
Referenced by Load2BppGraphics(), and LoadSheetRaw().

| absl::Status yaze::zelda3::LoadGameData | ( | Rom & | rom, |
| GameData & | data, | ||
| const LoadOptions & | options = {} ) |
Loads all Zelda3-specific game data from a generic ROM.
| rom | The source ROM |
| data | The destination GameData structure |
| options | Loading configuration |
Definition at line 123 of file game_data.cc.
References yaze::zelda3::GameData::Clear(), ComputeRoomDefaultEntrances(), yaze::Rom::Expand(), yaze::zelda3::LoadOptions::expand_rom, yaze::zelda3::LoadOptions::load_gfx_groups, yaze::zelda3::LoadOptions::load_graphics, yaze::zelda3::LoadOptions::load_palettes, yaze::zelda3::PitDamageTable::LoadFromRom(), LoadGfxGroups(), LoadGraphics(), LoadMetadata(), LoadPalettes(), yaze::zelda3::GameData::pit_damage_table, yaze::zelda3::LoadOptions::populate_metadata, RETURN_IF_ERROR, yaze::zelda3::GameData::room_default_entrances, yaze::zelda3::GameData::set_rom(), and yaze::Rom::size().
Referenced by yaze::editor::EditorManager::EnsureGameDataLoaded(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), yaze::cli::handlers::OverworldTerrainCatalogCommandHandler::Execute(), yaze::cli::GfxTilemapRenderCommandHandler::Execute(), yaze::cli::GraphicsContextCommandHandler::Execute(), yaze::cli::handlers::DungeonRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldRenderCommandHandler::ExecuteWithContext(), getRomPaletteGroup(), yaze::cli::HandlePaletteExportLegacy(), yaze::cli::HandlePaletteImportLegacy(), yaze::emu::render::EmulatorRenderService::Initialize(), yaze::editor::EditorManager::LoadAssets(), yaze::cli::handlers::anonymous_namespace{palette_commands.cc}::LoadPalettes(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::LoadRoomContext(), main(), yaze::editor::EditorManager::ReplaceActiveSessionRom(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ResolvePalette(), yaze::test::OverworldEditorTestSuite::RunEntityManipulationTest(), yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), yaze::test::GraphicsEditorTestSuite::RunPaletteEditingTest(), yaze::test::GraphicsEditorTestSuite::RunPixelEditingTest(), yaze::test::RomDependentTestSuite::RunRomGraphicsExtractionTest(), yaze::test::DungeonEditorTestSuite::RunRoomSaveTest(), yaze::test::RomDependentTestSuite::RunTile16EditorTest(), yaze::test::OverworldEditorTestSuite::RunTilePlacementTest(), and yaze_load_rom().
Saves modified game data back to the ROM.
| rom | The target ROM |
| data | The source GameData |
Definition at line 157 of file game_data.cc.
References yaze::gfx::PaletteGroupMap::for_each(), yaze::core::FeatureFlags::get(), yaze::gfx::SnesColor::is_modified(), yaze::core::FeatureFlags::Flags::kSaveGfxGroups, yaze::gfx::PaletteGroup::mutable_palette(), yaze::zelda3::GameData::palette_groups, RETURN_IF_ERROR, SaveGfxGroups(), and yaze::gfx::PaletteGroup::size().
Definition at line 186 of file game_data.cc.
References yaze::Rom::data(), yaze::Rom::ReadByteVector(), yaze::Rom::size(), yaze::zelda3::GameData::title, and yaze::zelda3::GameData::version.
Referenced by LoadGameData().

Definition at line 210 of file game_data.cc.
References yaze::gfx::LoadAllPalettes(), yaze::zelda3::GameData::palette_groups, and yaze::Rom::vector().
Referenced by yaze::cli::handlers::PaletteGetColorsCommandHandler::Execute(), yaze::cli::handlers::PaletteSetColorCommandHandler::Execute(), yaze::cli::handlers::PaletteAnalyzeCommandHandler::Execute(), and LoadGameData().

Definition at line 216 of file game_data.cc.
References ASSIGN_OR_RETURN, yaze::zelda3::GameData::gfx_groups_loaded, yaze::zelda3::GameData::gfx_main_group_address, kEntranceGfxGroup, kGfxGroupsPointer, kNumMainBlocksets, kNumPalettesets, kNumRoomBlocksets, kNumSpritesets, yaze::zelda3::GameData::main_blockset_ids, yaze::zelda3::GameData::paletteset_ids, yaze::Rom::ReadByte(), yaze::Rom::ReadWord(), yaze::zelda3::GameData::room_blockset_ids, yaze::SnesToPc(), yaze::zelda3::GameData::spriteset_ids, and yaze::zelda3::GameData::version.
Referenced by LoadGameData().

| absl::StatusOr< GfxGroupDiff > yaze::zelda3::DiffGfxGroups | ( | const Rom & | rom, |
| const GameData & | data ) |
Compares GameData's main blockset, room blockset, spriteset and paletteset tables with the ROM. Fails when the ROM version has no table addresses or a table lies outside the ROM.
Definition at line 334 of file game_data.cc.
References ASSIGN_OR_RETURN, yaze::zelda3::GfxGroupDiff::changed_bytes, yaze::Rom::data(), yaze::zelda3::GfxGroupDiff::main_blocksets, yaze::zelda3::GfxGroupDiff::palettesets, yaze::zelda3::GfxGroupDiff::room_blocksets, and yaze::zelda3::GfxGroupDiff::spritesets.
Referenced by yaze::editor::RomSession::HasPendingGfxGroupChanges(), and SaveGfxGroups().

Writes the gfx group bytes that differ from the ROM, then reads the tables back and fails with DataLoss if any byte still differs.
Definition at line 362 of file game_data.cc.
References ASSIGN_OR_RETURN, yaze::Rom::data(), DiffGfxGroups(), and RETURN_IF_ERROR.
Referenced by SaveGameData(), and yaze::editor::EditorManager::SaveRomInternal().

| SheetLoadResult yaze::zelda3::LoadSheetRaw | ( | const Rom & | rom, |
| uint32_t | i, | ||
| uint32_t | ptr1, | ||
| uint32_t | ptr2, | ||
| uint32_t | ptr3 ) |
Definition at line 421 of file game_data.cc.
References yaze::Rom::data(), yaze::zelda3::SheetLoadResult::data, yaze::zelda3::SheetLoadResult::decompression_succeeded, yaze::gfx::lc_lz2::DecompressV2(), GetGraphicsAddress(), yaze::zelda3::SheetLoadResult::is_bpp3, yaze::zelda3::SheetLoadResult::is_compressed, kUncompressedSheetSize, yaze::zelda3::SheetLoadResult::pc_offset, yaze::Rom::ReadByteVector(), and yaze::Rom::size().
Referenced by LoadGraphics().
| void yaze::zelda3::ProcessSheetBitmap | ( | GameData & | data, |
| uint32_t | i, | ||
| const SheetLoadResult & | result ) |
Definition at line 468 of file game_data.cc.
References yaze::zelda3::SheetLoadResult::data, yaze::gfx::PaletteGroupMap::dungeon_main, yaze::gfx::SnesPalette::empty(), yaze::gfx::PaletteGroupMap::empty(), yaze::zelda3::GameData::gfx_bitmaps, yaze::zelda3::GraphicsSheetStoreHolder::graphics_buffer, yaze::gfx::PaletteGroupMap::hud, yaze::zelda3::SheetLoadResult::is_bpp3, yaze::gfx::kTilesheetDepth, yaze::gfx::kTilesheetHeight, yaze::gfx::kTilesheetWidth, yaze::gfx::PaletteGroup::palette(), yaze::zelda3::GameData::palette_groups, yaze::zelda3::GameData::raw_gfx_sheets, yaze::gfx::PaletteGroup::size(), yaze::gfx::SnesTo8bppSheet(), and yaze::gfx::PaletteGroupMap::sprites_aux1.
Referenced by LoadGraphics().
Definition at line 530 of file game_data.cc.
References yaze::zelda3::GraphicsSheetStore::Clear(), yaze::zelda3::GameData::diagnostics, yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kNumGfxSheets, yaze::core::RomAddressKey::kOverworldGfxPtr1, yaze::core::RomAddressKey::kOverworldGfxPtr2, yaze::core::RomAddressKey::kOverworldGfxPtr3, LoadSheetRaw(), LOG_DEBUG, LOG_INFO, yaze::zelda3::GraphicsSheetStore::MarkAllSheetsChanged(), ProcessSheetBitmap(), yaze::GraphicsLoadDiagnostics::rom_size, yaze::zelda3::GraphicsSheetStoreHolder::sheet_store, yaze::Rom::size(), and yaze::zelda3::GameData::version.
Referenced by LoadGameData().
| absl::StatusOr< std::array< gfx::Bitmap, kNumLinkSheets > > yaze::zelda3::LoadLinkGraphics | ( | const Rom & | rom | ) |
Loads Link's graphics sheets from ROM.
| rom | The source ROM |
Definition at line 612 of file game_data.cc.
References kLinkGfxLength, kLinkGfxOffset, kNumLinkSheets, yaze::gfx::kTilesheetDepth, yaze::gfx::kTilesheetHeight, yaze::gfx::kTilesheetWidth, yaze::Rom::ReadByteVector(), and yaze::gfx::SnesTo8bppSheet().
Referenced by yaze::editor::LinkSpritePanel::LoadLinkSheets().

| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::Load2BppGraphics | ( | const Rom & | rom | ) |
Loads 2BPP graphics sheets from ROM.
| rom | The source ROM |
Definition at line 638 of file game_data.cc.
References yaze::Rom::data(), yaze::gfx::lc_lz2::DecompressV2(), yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), GetGraphicsAddress(), yaze::core::RomAddressKey::kOverworldGfxPtr1, yaze::core::RomAddressKey::kOverworldGfxPtr2, yaze::core::RomAddressKey::kOverworldGfxPtr3, yaze::Rom::size(), and yaze::gfx::SnesTo8bppSheet().
Referenced by yaze::zelda3::Inventory::BuildTileset(), and ResolveMenuChrFromRom().
| absl::StatusOr< gfx::Bitmap > yaze::zelda3::LoadFontGraphics | ( | const Rom & | rom | ) |
Loads font graphics from ROM.
| rom | The source ROM |
Definition at line 682 of file game_data.cc.
References yaze::gfx::Bitmap::Create(), kFontSpriteLocation, yaze::gfx::kTilesheetDepth, yaze::gfx::kTilesheetHeight, yaze::gfx::kTilesheetWidth, yaze::Rom::ReadByteVector(), and yaze::gfx::SnesTo8bppSheet().
Referenced by yaze::editor::MessageEditor::LoadFontGraphics().

| absl::Status yaze::zelda3::SaveAllGraphicsData | ( | Rom & | rom, |
| const std::array< gfx::Bitmap, kNumGfxSheets > & | sheets ) |
Not implemented; always returns UnimplementedError.
Write edited sheets with WriteGfxSheet (zelda3/gfx_sheet_storage.h).
Definition at line 706 of file game_data.cc.
| absl::StatusOr< GfxSheetInventory > yaze::zelda3::BuildGfxSheetInventory | ( | const Rom & | rom, |
| const std::map< int, OverworldAreaGfxInfo > & | areas, | ||
| const std::map< int, RoomGfxInfo > & | rooms, | ||
| const GfxSheetInventoryOptions & | options = {} ) |
Reads the sheet pointer tables and group tables and joins usage from the given overworld areas and rooms (either map may be empty).
Definition at line 93 of file gfx_sheet_inventory.cc.
References yaze::util::ComputeSha1Hex(), yaze::gfx::lc_lz2::DecompressExact(), yaze::zelda3::GfxSheetInventoryOptions::flagged_sheets, GetGfxSheetStorageKind(), yaze::Rom::is_loaded(), IsGfxSheetBlockEmpty(), kCompressed3bpp, kDungeonSpritesetBase, kGfxSheet3bppBytes, kGfxSheetBlockCount, kGfxSheetCount, kRaw3bpp, kSpriteSheetBase, kSpriteSheetValueCount, yaze::zelda3::GfxSheetInventory::main_blocksets, yaze::zelda3::GfxSheetInventory::overworld_areas, ReadGfxSheetPc(), yaze::zelda3::GfxSheetInventoryOptions::reserved_blocks, yaze::zelda3::GfxSheetInventoryOptions::reserved_sheets, yaze::zelda3::GfxSheetInventory::room_blocksets, yaze::zelda3::GfxSheetInventory::rooms, yaze::zelda3::GfxSheetInventory::sheets, yaze::SnesToPc(), yaze::zelda3::GfxSheetInventoryOptions::sprite_value_labels, yaze::zelda3::GfxSheetInventory::spritesets, and yaze::Rom::vector().
Referenced by yaze::cli::GfxSheetInventoryCommandHandler::Execute(), and yaze::editor::SheetBrowserPanel::RefreshInventory().
| std::map< int, OverworldAreaGfxInfo > yaze::zelda3::CollectOverworldAreaGfx | ( | Rom & | rom, |
| GameData * | game_data = nullptr ) |
Area graphics for all 160 overworld areas at game state 0 (the values z3ed overworld-describe-map reports). Constructs each OverworldMap and runs LoadAreaGraphics(); no map tiles are decompressed.
Definition at line 276 of file gfx_sheet_inventory.cc.
References yaze::zelda3::OverworldAreaGfxInfo::area_graphics, yaze::zelda3::OverworldMap::area_graphics(), yaze::Rom::is_loaded(), kNumOverworldAreas, yaze::zelda3::OverworldMap::LoadAreaGraphics(), yaze::zelda3::OverworldAreaGfxInfo::parent, yaze::zelda3::OverworldMap::parent(), yaze::zelda3::OverworldMap::set_game_state(), yaze::zelda3::OverworldAreaGfxInfo::sprite_graphics, yaze::zelda3::OverworldMap::sprite_graphics(), yaze::zelda3::OverworldAreaGfxInfo::static_graphics, yaze::zelda3::OverworldMap::static_graphics(), and yaze::zelda3::OverworldAreaGfxInfo::world.
Referenced by yaze::editor::SpriteEditor::DrawSpritesetPicker(), yaze::editor::GfxGroupEditor::DrawSpritesetUsage(), yaze::editor::UsagePreviewView::DrawTile16Context(), yaze::cli::GfxSheetInventoryCommandHandler::Execute(), and yaze::editor::SheetBrowserPanel::RefreshInventory().
| std::map< int, RoomGfxInfo > yaze::zelda3::CollectRoomGfx | ( | const Rom & | rom | ) |
Blockset and spriteset header bytes (header +2, +3) for all 296 dungeon rooms, read the way LoadRoomHeaderFromRom() reads them. Rooms whose header pointer is out of range are left out.
Definition at line 301 of file gfx_sheet_inventory.cc.
References kNumDungeonRooms, kRoomHeaderPointer, kRoomHeaderPointerBank, yaze::SnesToPc(), and yaze::Rom::vector().
Referenced by yaze::editor::SpriteEditor::DrawSpritesetPicker(), yaze::editor::GfxGroupEditor::DrawSpritesetUsage(), yaze::editor::EditorSet::EnsureEditorCreated(), yaze::editor::UsagePreviewView::EnsureTables(), yaze::cli::GfxSheetInventoryCommandHandler::Execute(), yaze::editor::DungeonEditorV2::GetRoomGraphicsUsage(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::LoadRoomContext(), yaze::editor::SheetBrowserPanel::RefreshInventory(), and ResolveAllRoomBackgroundSets().

| GfxGroupUsage yaze::zelda3::FindSpritesetUsage | ( | int | spriteset, |
| const std::map< int, OverworldAreaGfxInfo > & | areas, | ||
| const std::map< int, RoomGfxInfo > & | rooms ) |
Definition at line 330 of file gfx_sheet_inventory.cc.
References kDungeonSpritesetBase, yaze::zelda3::GfxGroupUsage::ow_areas_by_state, and yaze::zelda3::GfxGroupUsage::rooms.
Referenced by yaze::editor::SpriteEditor::DrawSpritesetPicker(), and yaze::editor::GfxGroupEditor::DrawSpritesetUsage().
| GfxGroupUsage yaze::zelda3::FindRoomsetUsage | ( | int | roomset, |
| const std::map< int, OverworldAreaGfxInfo > & | areas, | ||
| const std::map< int, RoomGfxInfo > & | rooms ) |
Definition at line 349 of file gfx_sheet_inventory.cc.
References yaze::zelda3::GfxGroupUsage::ow_areas, and yaze::zelda3::GfxGroupUsage::rooms.
Referenced by DescribeRoomsetUsage().
| absl::StatusOr< RoomsetUsageReport > yaze::zelda3::DescribeRoomsetUsage | ( | Rom & | rom, |
| GameData & | game_data, | ||
| int | roomset, | ||
| const std::map< int, RoomGfxInfo > & | rooms, | ||
| const Overworld * | live_overworld = nullptr ) |
Uses live map selectors when supplied, otherwise scans ROM metadata only. Requires loaded graphics groups; never builds maps or decompresses pixels.
Definition at line 366 of file gfx_sheet_inventory.cc.
References yaze::zelda3::OverworldAreaGfxInfo::area_graphics, yaze::zelda3::OverworldMap::area_graphics(), FindRoomsetUsage(), yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::zelda3::GameData::gfx_groups_loaded, yaze::zelda3::RoomsetUsageReport::independent_ow_areas, yaze::Rom::is_loaded(), yaze::zelda3::Overworld::is_loaded(), kCustomTileGroups, kIndependentRomGroup, kNumDungeonRooms, kNumOverworldAreas, kNumRoomBlocksets, kSharedSessionGroup, kVanilla, yaze::zelda3::RoomsetUsageReport::overridden_ow_areas, yaze::zelda3::Overworld::overworld_map(), yaze::zelda3::GfxGroupUsage::ow_areas, yaze::zelda3::RoomsetUsageReport::ow_areas, yaze::zelda3::Overworld::rom(), yaze::zelda3::GfxGroupUsage::rooms, yaze::zelda3::RoomsetUsageReport::rooms, yaze::zelda3::OverworldMap::roomset_source(), yaze::Rom::size(), yaze::zelda3::RoomsetUsageReport::unscanned_ow_areas, yaze::zelda3::RoomsetUsageReport::unscanned_rooms, and yaze::zelda3::RoomsetUsageReport::uses_live_overworld.
Referenced by yaze::editor::EditorSet::EnsureEditorCreated(), and yaze::editor::DungeonEditorV2::GetRoomGraphicsUsage().
| absl::StatusOr< MainGroupUsageReport > yaze::zelda3::DescribeMainGroupUsage | ( | Rom & | rom, |
| GameData & | game_data, | ||
| int | group, | ||
| int | slot, | ||
| const std::map< int, RoomGfxInfo > & | rooms, | ||
| const std::map< int, uint8_t > & | explicit_room_main, | ||
| const Overworld * | live_overworld ) |
Definition at line 444 of file gfx_sheet_inventory.cc.
References yaze::zelda3::MainGroupUsageReport::direct_default_rooms, yaze::zelda3::MainGroupUsageReport::explicit_preview_rooms, yaze::zelda3::MainGroupUsageReport::fallback_rooms, yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::zelda3::GameData::gfx_groups_loaded, yaze::zelda3::MainGroupUsageReport::independent_ow_areas, yaze::zelda3::MainGroupUsageReport::inferred_default_rooms, yaze::Rom::is_loaded(), yaze::zelda3::Overworld::is_loaded(), kAreaOverride, kCustomTileGroups, kDirectDefault, kExplicitPreview, kHeaderFallback, kIndependentRomGroup, kInferredDefault, kNumDungeonRooms, kNumMainBlocksets, kNumOverworldAreas, kSharedSessionGroup, kVanilla, kZeroFallback, yaze::zelda3::MainGroupUsageReport::overridden_ow_areas, yaze::zelda3::MainGroupUsageReport::overridden_rooms, yaze::zelda3::Overworld::overworld_map(), yaze::zelda3::MainGroupUsageReport::ow_areas, ResolveRoomMainBlockset(), yaze::zelda3::Overworld::rom(), yaze::zelda3::GameData::room_blockset_ids, yaze::Rom::size(), yaze::zelda3::MainGroupUsageReport::slot7_bottom_half_only, yaze::zelda3::MainGroupUsageReport::unscanned_ow_areas, yaze::zelda3::MainGroupUsageReport::unscanned_rooms, and yaze::zelda3::MainGroupUsageReport::uses_live_overworld.
Referenced by yaze::editor::EditorSet::EnsureEditorCreated().
| const char * yaze::zelda3::GfxSheetInventoryKindName | ( | GfxSheetStorageKind | kind | ) |
Definition at line 547 of file gfx_sheet_inventory.cc.
References kCompressed2bpp, kCompressed3bpp, and kRaw3bpp.
Referenced by yaze::editor::SheetBrowserPanel::DrawSelectedSheetInfo(), and GfxSheetInventoryToJson().
| nlohmann::json yaze::zelda3::GfxSheetInventoryToJson | ( | const GfxSheetInventory & | inventory | ) |
JSON with the same keys and value formats as Oracle's reference inventory (sheets, spritesets, main_blocksets, room_blocksets, overworld_areas, rooms), plus flagged, reserved_blocks and free_16x16_blocks per sheet.
Definition at line 559 of file gfx_sheet_inventory.cc.
References GfxSheetInventoryKindName(), yaze::zelda3::GfxSheetInventory::main_blocksets, yaze::zelda3::GfxSheetInventory::overworld_areas, yaze::zelda3::GfxSheetInventory::room_blocksets, yaze::zelda3::GfxSheetInventory::rooms, yaze::zelda3::GfxSheetInventory::sheets, and yaze::zelda3::GfxSheetInventory::spritesets.
Referenced by yaze::cli::GfxSheetInventoryCommandHandler::Execute().

| std::map< uint8_t, std::set< std::string > > yaze::zelda3::ParseSpritesetLabelCsv | ( | const std::string & | csv_text | ) |
Parses "0xNN Name" cells in columns 2-5 of Oracle's "Oracle of Secrets Data Sheet - Spritesets.csv".
Definition at line 659 of file gfx_sheet_inventory.cc.
References name.
Referenced by yaze::cli::GfxSheetInventoryCommandHandler::Execute(), and yaze::core::ImportSpritesetSheetLabels().
| SheetPalette yaze::zelda3::GrayscaleSheetPalette | ( | ) |
Definition at line 47 of file gfx_sheet_png.cc.
Referenced by yaze::editor::SheetBrowserPanel::PngPalette(), and yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ResolvePalette().
| absl::StatusOr< SheetPalette > yaze::zelda3::RoomBackgroundSheetPalette | ( | Rom & | rom, |
| GameData & | data, | ||
| int | room, | ||
| int | row ) |
Explicit LEFT half (colors 0-7) of a room's background CGRAM row. This legacy palette selection does not resolve a sheet's loaded slot. Use ResolveRoomSheetPalette for colors matching a room background slot.
Definition at line 56 of file gfx_sheet_png.cc.
References ASSIGN_OR_RETURN, BuildDungeonRenderPaletteGroupFromGameData(), yaze::gfx::PaletteGroupMap::dungeon_main, yaze::zelda3::GameData::palette_groups, yaze::gfx::PaletteGroup::palette_ref(), and yaze::zelda3::Room::ResolveDungeonPaletteId().
Referenced by yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::LoadRoomContext(), yaze::editor::SheetBrowserPanel::PngPalette(), and yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ResolvePalette().

| absl::StatusOr< SheetPalette > yaze::zelda3::RoomSpriteSheetPalette | ( | Rom & | rom, |
| GameData & | data, | ||
| int | room, | ||
| int | row ) |
Sprite palette row (OAM palette 0-7, CGRAM row 8 + row) of room room.
Definition at line 80 of file gfx_sheet_png.cc.
References ASSIGN_OR_RETURN, and BuildDungeonSpriteRenderPalette().
Referenced by yaze::editor::SheetBrowserPanel::PngPalette(), and yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ResolvePalette().

| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::ExportSheetBlocksPng | ( | const std::vector< uint8_t > & | snes_3bpp, |
| const SheetPalette & | palette, | ||
| int | first_block = 0, | ||
| int | block_count = 16 ) |
Indexed PNG of block_count blocks from first_block of a 0x600-byte SNES 3bpp sheet.
Definition at line 94 of file gfx_sheet_png.cc.
References yaze::util::EncodeIndexedPng(), kGfxSheet3bppBytes, kGfxSheetBlockCount, and yaze::gfx::SnesTo8bppSheet().
Referenced by yaze::cli::GfxExportCommandHandler::Execute(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ExportRoomBundle(), and yaze::editor::ExportSheetPixelsPng().

| absl::StatusOr< SheetImportResult > yaze::zelda3::ImportSheetBlocksPng | ( | const std::vector< uint8_t > & | snes_3bpp, |
| const util::PngImage & | png, | ||
| int | first_block, | ||
| const SheetPalette & | palette ) |
Places a PNG's 16x16 blocks over a sheet from first_block.
PNG width and height must be multiples of 16; its blocks are read left to right, top to bottom. Indexed PNGs must use indices 0-7. RGB/RGBA PNGs must use exactly the colors in palette (alpha 0 or palette[0] is index 0). Any other pixel fails the import and lists the first offenders; no value is clamped.
Definition at line 131 of file gfx_sheet_png.cc.
References yaze::zelda3::SheetImportResult::changed_blocks, yaze::zelda3::SheetImportResult::changed_ranges, yaze::zelda3::SheetImportResult::changed_tiles, yaze::util::PngImage::height, yaze::util::PngImage::indexed, yaze::gfx::IndexedToSnesSheet(), yaze::util::PngImage::indices, kGfxSheet3bppBytes, kGfxSheetBlockCount, yaze::util::PngImage::rgba, yaze::zelda3::SheetImportResult::snes_3bpp, yaze::gfx::SnesTo8bppSheet(), and yaze::util::PngImage::width.
Referenced by yaze::cli::GfxImportCommandHandler::Execute(), ImportRoomBackgroundPng(), and yaze::editor::PreviewSheetPngImport().

| RoomBackgroundSet yaze::zelda3::ResolveRoomBackgroundSet | ( | const GameData & | data, |
| int | room, | ||
| uint8_t | header_blockset ) |
Definition at line 254 of file gfx_sheet_png.cc.
References yaze::zelda3::RoomBackgroundSet::from_room_blockset, yaze::zelda3::RoomBackgroundSet::header_blockset, yaze::zelda3::RoomMainBlocksetResolution::main_blockset, yaze::zelda3::RoomBackgroundSet::main_blockset, yaze::zelda3::GameData::main_blockset_ids, ResolveRoomMainBlockset(), yaze::zelda3::RoomBackgroundSet::room, yaze::zelda3::GameData::room_blockset_ids, and yaze::zelda3::RoomBackgroundSet::sheets.
Referenced by yaze::editor::SheetBrowserPanel::DrawPngTransfer(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::LoadRoomContext(), ResolveAllRoomBackgroundSets(), and ResolveRoomSheetPalette().

| absl::StatusOr< RoomSheetPaletteContext > yaze::zelda3::ResolveRoomSheetPalette | ( | Rom & | rom, |
| GameData & | data, | ||
| int | room, | ||
| int | slot, | ||
| int | row ) |
Definition at line 274 of file gfx_sheet_png.cc.
References ASSIGN_OR_RETURN, yaze::zelda3::RoomSheetPaletteContext::background, yaze::zelda3::Room::blockset(), BuildDungeonRenderPaletteGroupFromGameData(), yaze::zelda3::RoomSheetPaletteContext::cgram_indices, yaze::zelda3::RoomSheetPaletteContext::colors, yaze::gfx::PaletteGroupMap::dungeon_main, DungeonBackgroundPaletteOffset(), yaze::zelda3::RoomSheetPaletteContext::entrance, kDirectDefault, kInferredDefault, yaze::zelda3::RoomSheetPaletteContext::main, yaze::zelda3::RoomMainBlocksetResolution::main_blockset, yaze::zelda3::GameData::palette_groups, yaze::zelda3::RoomSheetPaletteContext::palette_offset, yaze::gfx::PaletteGroup::palette_ref(), yaze::zelda3::Room::ResolveDungeonPaletteId(), ResolveRoomBackgroundSet(), ResolveRoomMainBlockset(), yaze::zelda3::GameData::room_default_entrances, yaze::zelda3::RoomSheetPaletteContext::row, yaze::zelda3::RoomSheetPaletteContext::slot, and yaze::zelda3::RoomMainBlocksetResolution::source.
Referenced by yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ExportRoomBundle(), yaze::editor::SheetBrowserPanel::PngPalette(), and yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ResolvePalette().
| std::vector< RoomBackgroundSet > yaze::zelda3::ResolveAllRoomBackgroundSets | ( | const Rom & | rom, |
| const GameData & | data ) |
All 296 rooms' background sets (header bytes read from the ROM).
Definition at line 311 of file gfx_sheet_png.cc.
References CollectRoomGfx(), and ResolveRoomBackgroundSet().
Referenced by yaze::editor::SheetBrowserPanel::DrawPngTransfer(), yaze::cli::GfxRoomExportCommandHandler::Execute(), and yaze::cli::GfxRoomImportCommandHandler::Execute().

| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::ExportRoomBackgroundPng | ( | const Rom & | rom, |
| const RoomBackgroundSet & | set, | ||
| const SheetPalette & | palette ) |
One 128x256 indexed PNG: the room's 8 background sheets stacked in slot order (slot n at y = 32 * n). 2bpp slots are left blank. This legacy interchange applies ONE palette to every slot, not each slot's room colors.
Definition at line 320 of file gfx_sheet_png.cc.
References ASSIGN_OR_RETURN, yaze::util::EncodeIndexedPng(), GetGfxSheetStorageKind(), kCompressed2bpp, kGfxSheetCount, ReadGfxSheetData(), yaze::zelda3::RoomBackgroundSet::sheets, and yaze::gfx::SnesTo8bppSheet().
Referenced by yaze::editor::SheetBrowserPanel::DrawPngTransfer(), and yaze::cli::GfxRoomExportCommandHandler::Execute().

| absl::StatusOr< std::vector< RoomSheetImport > > yaze::zelda3::ImportRoomBackgroundPng | ( | const Rom & | rom, |
| const RoomBackgroundSet & | set, | ||
| const util::PngImage & | png, | ||
| const SheetPalette & | palette ) |
Splits a 128x256 PNG back into the room's sheets and returns the sheets whose pixels changed. A sheet shown in two slots must be edited the same way in both; 2bpp slots must stay unchanged.
Definition at line 347 of file gfx_sheet_png.cc.
References ASSIGN_OR_RETURN, GetGfxSheetStorageKind(), yaze::util::PngImage::height, ImportSheetBlocksPng(), yaze::util::PngImage::indexed, yaze::util::PngImage::indices, kCompressed2bpp, kGfxSheet3bppBytes, kGfxSheetCount, yaze::util::PngImage::palette, ReadGfxSheetData(), yaze::util::PngImage::rgba, yaze::zelda3::RoomBackgroundSet::sheets, and yaze::util::PngImage::width.
Referenced by yaze::cli::GfxRoomImportCommandHandler::Execute(), and yaze::editor::PreviewRoomPngImport().

| bool yaze::zelda3::UsesJapaneseGfxSheetTables | ( | const Rom & | rom | ) |
True when LoadGameData would read this ROM with the Japanese pointer tables (header byte $7FD9 == 0). The default GfxSheetPointerTables are the US ones, so callers that use them must refuse such a ROM.
Definition at line 15 of file gfx_sheet_storage.cc.
References yaze::Rom::data(), and yaze::Rom::size().
Referenced by yaze::cli::GfxSheetInventoryCommandHandler::Execute(), and yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::RequireUsGfxTables().

| std::array< int, 4 > yaze::zelda3::GfxSheetBlockTiles | ( | int | block | ) |
The four 8x8 tile indices of 16x16 block block (row-major, 0-15): top left, top right, bottom left, bottom right. A sheet row holds 16 tiles.
Definition at line 194 of file gfx_sheet_storage.cc.
Referenced by IsGfxSheetBlockEmpty(), and WriteGfxSheet().
| bool yaze::zelda3::IsGfxSheetBlockEmpty | ( | const std::vector< uint8_t > & | data, |
| int | block, | ||
| int | bpp = 3 ) |
True when all four 8x8 tiles of the block are zero in data (SNES planar sheet bytes, 8 * bpp bytes per tile). Blocks past the data are not empty.
Definition at line 199 of file gfx_sheet_storage.cc.
References GfxSheetBlockTiles().
Referenced by BuildGfxSheetInventory(), and yaze::cli::agent::tools::SpritesheetAnalysisTool::FindUnusedRegions().

| GfxSheetStorageKind yaze::zelda3::GetGfxSheetStorageKind | ( | uint16_t | sheet_id | ) |
Definition at line 216 of file gfx_sheet_storage.cc.
References kCompressed2bpp, kCompressed3bpp, and kRaw3bpp.
Referenced by BuildGfxSheetInventory(), yaze::editor::anonymous_namespace{sheet_png_transfer.cc}::CheckSheetPixels(), yaze::editor::RoomGraphicsContent::DrawAssignmentPicker(), yaze::editor::GfxGroupEditor::DrawSheetPicker(), yaze::editor::GfxGroupEditor::EditGraphicsSheet(), yaze::editor::DungeonEditorV2::EditRoomGraphicsSheet(), ExportRoomBackgroundPng(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ExportRoomBundle(), yaze::cli::agent::tools::SpritesheetAnalysisTool::FindUnusedRegions(), ImportRoomBackgroundPng(), yaze::editor::sprite_graphics_context::Make(), yaze::editor::MakeDungeonMapTilesGfxEditContext(), yaze::editor::GraphicsEditor::OpenInContext(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ParseSheet(), yaze::editor::PlanPalettePixelPermutation(), yaze::editor::GraphicsEditor::PrepareGraphicsSave(), ReadGfxSheetExtent(), yaze::editor::ResolveOverworldQuadrantTarget(), yaze::editor::VerifyWrittenSheetPixels(), and WriteGfxSheet().
| const char * yaze::zelda3::GfxSheetStorageKindName | ( | GfxSheetStorageKind | kind | ) |
Definition at line 226 of file gfx_sheet_storage.cc.
References kCompressed2bpp, kCompressed3bpp, and kRaw3bpp.
Referenced by yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::ScanSheets().
| absl::StatusOr< uint32_t > yaze::zelda3::ReadGfxSheetPc | ( | const Rom & | rom, |
| uint16_t | sheet_id, | ||
| const GfxSheetPointerTables & | tables ) |
Resolves a sheet's pointer. Does not read the sheet data.
Definition at line 238 of file gfx_sheet_storage.cc.
References yaze::zelda3::GfxSheetPointerTables::bank, yaze::Rom::data(), yaze::zelda3::GfxSheetPointerTables::high, kGfxSheetCount, yaze::zelda3::GfxSheetPointerTables::low, yaze::Rom::size(), and yaze::SnesToPc().
Referenced by BuildGfxSheetInventory(), ReadGfxSheetExtent(), yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::VerifyCompressedSheet(), yaze::editor::VerifyWrittenSheetPixels(), and WriteGfxSheet().

| absl::StatusOr< GfxSheetExtent > yaze::zelda3::ReadGfxSheetExtent | ( | const Rom & | rom, |
| uint16_t | sheet_id, | ||
| const GfxSheetPointerTables & | tables = {} ) |
Resolves a sheet's pointer and measures its stored and decoded size. Fails when a compressed stream does not decode.
Definition at line 268 of file gfx_sheet_storage.cc.
References ASSIGN_OR_RETURN, yaze::Rom::data(), yaze::zelda3::GfxSheetExtent::decoded_size, yaze::gfx::lc_lz2::DecompressExact(), GetGfxSheetStorageKind(), kGfxSheet3bppBytes, yaze::zelda3::GfxSheetExtent::kind, kRaw3bpp, yaze::zelda3::GfxSheetExtent::pc, ReadGfxSheetPc(), yaze::zelda3::GfxSheetExtent::sheet_id, yaze::Rom::size(), and yaze::zelda3::GfxSheetExtent::stored_size.
Referenced by yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::CollectOtherExtents(), ReadGfxSheetData(), yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::ScanSheets(), and WriteGfxSheet().
| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::ReadGfxSheetData | ( | const Rom & | rom, |
| uint16_t | sheet_id, | ||
| const GfxSheetPointerTables & | tables ) |
Returns the sheet's decoded bytes (SNES planar data).
Definition at line 295 of file gfx_sheet_storage.cc.
References ASSIGN_OR_RETURN, yaze::Rom::data(), yaze::gfx::lc_lz2::DecompressExact(), kGfxSheet3bppBytes, yaze::zelda3::GfxSheetExtent::kind, kRaw3bpp, yaze::zelda3::GfxSheetExtent::pc, ReadGfxSheetExtent(), yaze::Rom::size(), and yaze::Rom::vector().
Referenced by yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::CheckSheetContents(), CheckSpriteTiles(), yaze::cli::GfxExportCommandHandler::Execute(), yaze::cli::GfxImportCommandHandler::Execute(), ExportRoomBackgroundPng(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ExportRoomBundle(), yaze::cli::agent::tools::SpritesheetAnalysisTool::FindUnusedRegions(), ImportRoomBackgroundPng(), yaze::editor::VerifyWrittenSheetPixels(), and WriteGfxSheet().
| absl::StatusOr< GfxSheetWriteResult > yaze::zelda3::WriteGfxSheet | ( | Rom & | rom, |
| uint16_t | sheet_id, | ||
| const std::vector< uint8_t > & | snes_3bpp, | ||
| const GfxSheetWritePolicy & | policy, | ||
| const GfxSheetPointerTables & | tables = {} ) |
Writes one edited 3bpp sheet to the ROM buffer.
| snes_3bpp | exactly 0x600 bytes of SNES planar sheet data. |
Raw sheets are written in place. Compressed sheets are encoded with little-endian LZ addresses, verified by decoding the encoded bytes, then written in place when they fit the old stream and no other sheet shares those bytes. Otherwise they move to the first free fit in policy.allocation_regions and all three pointer bytes are updated (keeping the sheet's FastROM/SlowROM bank form). The written sheet is read back and compared; on any failure after the first byte is written, every touched byte is restored. 2bpp sheets and reserved sheets are refused. Writing pixels identical to the stored sheet changes nothing.
Definition at line 311 of file gfx_sheet_storage.cc.
References yaze::zelda3::GfxSheetWritePolicy::allocation_regions, ASSIGN_OR_RETURN, yaze::zelda3::GfxSheetPointerTables::bank, yaze::Rom::data(), yaze::gfx::lc_lz2::DecompressExact(), GetGfxSheetStorageKind(), GfxSheetBlockTiles(), yaze::zelda3::GfxSheetPointerTables::high, yaze::gfx::HyruleMagicCompress(), yaze::Rom::is_loaded(), kCompressed2bpp, kGfxSheet3bppBytes, kGfxSheetCount, kRaw3bpp, kRelocated, LOG_INFO, yaze::zelda3::GfxSheetPointerTables::low, yaze::zelda3::GfxSheetWriteResult::new_pc, yaze::zelda3::GfxSheetWriteResult::new_stored_size, yaze::zelda3::GfxSheetWriteResult::old_pc, yaze::zelda3::GfxSheetWriteResult::old_stored_size, yaze::zelda3::GfxSheetWriteResult::placement, ReadGfxSheetData(), ReadGfxSheetExtent(), ReadGfxSheetPc(), yaze::zelda3::GfxSheetWritePolicy::reserved_blocks, yaze::zelda3::GfxSheetWritePolicy::reserved_sheets, RETURN_IF_ERROR, yaze::zelda3::GfxSheetWriteResult::sheet_id, and yaze::Rom::size().
Referenced by yaze::cli::GfxImportCommandHandler::Execute(), yaze::cli::GfxRoomImportCommandHandler::Execute(), yaze::editor::GraphicsEditor::PlanGraphicsSave(), and yaze::editor::GraphicsEditor::Save().
| const char * yaze::zelda3::PaletteAddressGroupName | ( | PaletteAddressGroup | group | ) |
Definition at line 139 of file resolved_graphics_context.cc.
References kDungeonMain, kOverworldAux, and kOverworldMain.
Referenced by yaze::editor::UsagePreviewView::DrawSharedUses(), yaze::editor::anonymous_namespace{palette_pixel_command.cc}::Key(), and ReadPaletteColor().
| absl::StatusOr< gfx::SnesColor > yaze::zelda3::ReadPaletteColor | ( | const GameData & | owner, |
| const PaletteColorAddress & | address ) |
Definition at line 151 of file resolved_graphics_context.cc.
References yaze::zelda3::PaletteColorAddress::color_index, yaze::gfx::PaletteGroupMap::get_group(), yaze::zelda3::PaletteColorAddress::group, yaze::zelda3::GameData::palette_groups, yaze::zelda3::PaletteColorAddress::palette_index, and PaletteAddressGroupName().
Referenced by yaze::editor::ValidateGraphicsPaletteAddressing().

| ResolvedGraphicsContext yaze::zelda3::DescribeOverworldGraphicsContext | ( | const OverworldMap & | map, |
| const GraphicsContextIdentity & | identity ) |
Definition at line 207 of file resolved_graphics_context.cc.
Referenced by yaze::editor::OverworldEditor::BuildContextSnapshot(), yaze::cli::GraphicsContextCommandHandler::Execute(), and yaze::editor::MakeOverworldGraphicsEditContext().
| ResolvedGraphicsContext yaze::zelda3::DescribeDungeonGraphicsContext | ( | const Room & | room, |
| const GraphicsContextIdentity & | identity ) |
Definition at line 398 of file resolved_graphics_context.cc.
Referenced by yaze::editor::DungeonEditorV2::BuildContextSnapshot(), yaze::cli::GraphicsContextCommandHandler::Execute(), and yaze::editor::MakeDungeonGraphicsEditContext().
|
inline |
Definition at line 21 of file graphics_preview.h.
Referenced by yaze::core::LoadOverworldGraphicsPreview().
|
inline |
Definition at line 52 of file graphics_preview.h.
Referenced by yaze::zelda3::OverworldMap::BuildTileset(), and yaze::zelda3::OverworldMap::UseCachedTileset().
| absl::StatusOr< std::vector< gfx::Tile16 > > yaze::zelda3::ReadMap16Tiles | ( | const Rom & | rom, |
| bool * | expanded = nullptr ) |
Represents the full Overworld data, light and dark world.
This class is responsible for loading and saving the overworld data, as well as creating the tilesets and tilemaps for the overworld.
The Overworld manages 160 map screens across three worlds and provides the data layer that the OverworldEditor UI operates on.
expanded reports which was read. Definition at line 734 of file overworld.cc.
References ASSIGN_OR_RETURN, DetectOverworldRomProfile(), GetMap16TilesExpanded(), yaze::gfx::GetTilesInfo(), kMap16ExpandedFlagPos, kMap16Tiles, kNumTile16Individual, yaze::util::logf(), NumberOfMap16Ex, ReadRomByteOr(), and yaze::Rom::ReadWord().
Referenced by yaze::zelda3::Overworld::AssembleMap16Tiles(), and yaze::editor::usage_preview::Tile16UsagePreview::Configure().
|
inline |
Definition at line 196 of file overworld.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kMap16TilesExpanded, and yaze::core::RomAddressKey::kOverworldMap16Expanded.
Referenced by yaze::zelda3::Overworld::GetProjectedWriteRanges(), ReadMap16Tiles(), and yaze::zelda3::Overworld::SaveMap16Expanded().

|
inline |
Definition at line 201 of file overworld.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kMap32TileTRExpanded, and yaze::core::RomAddressKey::kOverworldMap32TrExpanded.
Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles(), yaze::zelda3::Overworld::GetProjectedWriteRanges(), yaze::zelda3::anonymous_namespace{overworld.cc}::ResolveMap32StorageLayout(), and yaze::zelda3::Overworld::SaveMap32Expanded().

|
inline |
Definition at line 206 of file overworld.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kMap32TileBLExpanded, and yaze::core::RomAddressKey::kOverworldMap32BlExpanded.
Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles(), yaze::zelda3::Overworld::GetProjectedWriteRanges(), yaze::zelda3::anonymous_namespace{overworld.cc}::ResolveMap32StorageLayout(), and yaze::zelda3::Overworld::SaveMap32Expanded().

|
inline |
Definition at line 211 of file overworld.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kMap32TileBRExpanded, and yaze::core::RomAddressKey::kOverworldMap32BrExpanded.
Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles(), yaze::zelda3::Overworld::GetProjectedWriteRanges(), yaze::zelda3::anonymous_namespace{overworld.cc}::ResolveMap32StorageLayout(), and yaze::zelda3::Overworld::SaveMap32Expanded().

|
inline |
Definition at line 216 of file overworld.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kExpandedPtrTableMarker, and yaze::core::RomAddressKey::kOverworldExpandedPtrMarker.
Referenced by yaze::zelda3::Overworld::HasExpandedPointerTables(), and IsSpecialTailMapExpansionEnabled().

|
inline |
Definition at line 222 of file overworld.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kExpandedPtrTableMagic, and yaze::core::RomAddressKey::kOverworldExpandedPtrMagic.
Referenced by yaze::zelda3::Overworld::HasExpandedPointerTables(), and IsSpecialTailMapExpansionEnabled().

|
inline |
Definition at line 227 of file overworld.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kExpandedPtrTableHigh, and yaze::core::RomAddressKey::kOverworldExpandedPtrHigh.

|
inline |
Definition at line 232 of file overworld.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kExpandedPtrTableLow, and yaze::core::RomAddressKey::kOverworldExpandedPtrLow.

|
constexpr |
Definition at line 255 of file overworld.h.
References kMap32BytesPerPackedGroup, and kMap32DefinitionsPerPackedGroup.
Referenced by Map32DefinitionCapacityForProfile(), and yaze::zelda3::anonymous_namespace{overworld.cc}::ResolveMap32StorageLayout().
|
inline |
Definition at line 289 of file overworld.h.
References yaze::zelda3::OverworldRomProfile::has_expanded_tile32, kMap32TileStorageBytesExpanded, and kMap32TileStorageBytesVanilla.
Referenced by Map32DefinitionCapacityForProfile(), and yaze::zelda3::anonymous_namespace{overworld.cc}::ResolveMap32StorageLayout().
|
inline |
Definition at line 294 of file overworld.h.
References Map32DefinitionCapacityForStorageBytes(), and Map32StorageBytesForProfile().

|
inline |
Definition at line 300 of file overworld.h.
References yaze::Rom::size().
Referenced by ReadRomByteOr().

|
inline |
Definition at line 304 of file overworld.h.
References yaze::Rom::data(), and IsValidRomAddress().
Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles(), DetectOverworldRomProfile(), IsSpecialTailMapExpansionEnabled(), ReadMap16Tiles(), and yaze::zelda3::Overworld::SaveCustomOverworldData().

|
inline |
Definition at line 311 of file overworld.h.
References GetExpandedPtrTableMagic(), GetExpandedPtrTableMarker(), and ReadRomByteOr().
Referenced by DetectOverworldRomProfile().

|
inline |
Definition at line 316 of file overworld.h.
References yaze::zelda3::OverworldRomProfile::asm_version, yaze::zelda3::OverworldRomProfile::editable_map_count, yaze::zelda3::OverworldVersionHelper::GetAsmVersion(), GetOverworldEntranceFlagExpanded(), yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::zelda3::OverworldRomProfile::has_expanded_entrances, yaze::zelda3::OverworldRomProfile::has_expanded_tile16, yaze::zelda3::OverworldRomProfile::has_expanded_tile32, yaze::zelda3::OverworldRomProfile::has_tail_map_expansion, yaze::Rom::InspectLyraLayout(), yaze::zelda3::OverworldRomProfile::is_vanilla, IsSpecialTailMapExpansionEnabled(), yaze::rom::kAbsent, kExpandedMapCount, yaze::zelda3::OverworldRomProfile::kLyraOffline, kMap16ExpandedFlagPos, kMap32ExpandedFlagPos, kNumOverworldMaps, yaze::zelda3::OverworldRomProfile::kOlderTailEa, kVanilla, yaze::zelda3::OverworldRomProfile::layout_kind, yaze::zelda3::OverworldRomProfile::lyra_layout, yaze::rom::LyraLayoutInspection::presence, ReadRomByteOr(), yaze::zelda3::OverworldRomProfile::supports_area_enum, yaze::zelda3::OverworldRomProfile::supports_custom_bg_colors, yaze::zelda3::OverworldRomProfile::supports_expanded_space, yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), yaze::zelda3::OverworldVersionHelper::SupportsCustomBGColors(), yaze::zelda3::OverworldVersionHelper::SupportsExpandedSpace(), and yaze::zelda3::OverworldRomProfile::version.
Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles(), yaze::zelda3::Overworld::BuildLyraTerrainPreview(), yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::cli::handlers::RomInfoCommandHandler::Execute(), yaze::zelda3::Overworld::Load(), ReadMap16Tiles(), yaze::zelda3::anonymous_namespace{overworld.cc}::ResolveMap32StorageLayout(), yaze::editor::OverworldEditor::Save(), and yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::SaveOverworldTileGrid().
|
inline |
Definition at line 355 of file overworld.h.
References kDarkWorldMapIdStart, and kSpecialWorldMapIdStart.
Referenced by yaze::zelda3::OverworldMap::BuildBitmap(), yaze::zelda3::Overworld::BuildLyraTerrainPreview(), yaze::zelda3::Overworld::BuildSubscreenOverlayLayer(), and IsSameOverworldWorld().
|
inline |
Definition at line 365 of file overworld.h.
References WorldForOverworldMap().
Referenced by yaze::zelda3::Overworld::ConfigureMultiAreaMap().

|
inline |
Definition at line 369 of file overworld.h.
References kSpecialWorldMapIdStart.
Referenced by yaze::zelda3::Overworld::ConfigureMultiAreaMap().
|
inline |
Definition at line 373 of file overworld.h.
References kSpecialWorldMapIdStart.
Referenced by yaze::zelda3::Overworld::ConfigureMultiAreaMap().
|
inline |
Definition at line 377 of file overworld.h.
Referenced by yaze::zelda3::Overworld::ConfigureMultiAreaMap().
|
inline |
Definition at line 381 of file overworld.h.
Referenced by yaze::zelda3::Overworld::ConfigureMultiAreaMap().
|
inline |
Definition at line 385 of file overworld.h.
Referenced by yaze::zelda3::Overworld::ConfigureMultiAreaMap(), and yaze::zelda3::OverworldMap::LoadAreaInfo().
| const char * yaze::zelda3::AllocationWorldName | ( | AllocationWorld | world | ) |
Definition at line 409 of file overworld_allocation.cc.
References kDark, kLight, and kSpecial.
Referenced by yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::AreaJson(), and FormatOverworldAllocationText().
| const char * yaze::zelda3::AllocationAreaSizeName | ( | AllocationAreaSize | size | ) |
Definition at line 421 of file overworld_allocation.cc.
References kLarge, kSmall, kTall, and kWide.
Referenced by yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::AreaJson(), BuildOverworldAllocationReport(), and FormatOverworldAllocationText().
| AllocationWorld yaze::zelda3::AllocationWorldForArea | ( | int | area | ) |
Definition at line 435 of file overworld_allocation.cc.
References kDark, kLight, and kSpecial.
Referenced by BuildOverworldAllocationReport().
| std::vector< AreaTableInfo > yaze::zelda3::OverworldAreaTableCatalogue | ( | uint8_t | asm_version | ) |
Tables for this ROM's layout. ZSCustomOverworld v3 ROMs get the Pool tables at $28:8000; every other ROM gets the vanilla tables.
Definition at line 442 of file overworld_allocation.cc.
Referenced by BuildOverworldAllocationReport(), and CheckTailMapExpansion().
| MapStreamScan yaze::zelda3::ScanMapStream | ( | const uint8_t * | data, |
| size_t | size, | ||
| uint32_t | pc, | ||
| size_t | max_output = 0x4000 ) |
Walks a map32 stream the way the game's decompressor does. Decoding stops at $FF, at the end of size, or after max_output bytes.
Definition at line 457 of file overworld_allocation.cc.
References yaze::zelda3::MapStreamScan::compressed_bytes, yaze::zelda3::MapStreamScan::decoded, yaze::zelda3::MapStreamScan::decoded_bytes, yaze::zelda3::MapStreamScan::error, yaze::zelda3::MapStreamScan::in_rom, yaze::zelda3::MapStreamScan::pc, yaze::zelda3::MapStreamScan::snes, and yaze::zelda3::MapStreamScan::terminated.
Referenced by yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::CheckBlankStream(), and yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::ScanAreaMap().
| absl::StatusOr< OverworldAllocationReport > yaze::zelda3::BuildOverworldAllocationReport | ( | Rom * | rom, |
| const OverworldAllocationOptions & | options ) |
Definition at line 582 of file overworld_allocation.cc.
References AllocationAreaSizeName(), AllocationWorldForArea(), yaze::zelda3::AreaAllocation::area, yaze::zelda3::OverworldAllocationOptions::area_names, yaze::zelda3::OverworldAllocationReport::areas, yaze::zelda3::OverworldAllocationReport::asm_version, yaze::zelda3::OverworldAllocationReport::catalogue, yaze::Rom::data(), yaze::zelda3::AreaAllocation::duplicate_of, yaze::Rom::filename(), yaze::zelda3::WorldAllocationSummary::first_area, yaze::zelda3::WorldAllocationSummary::free, yaze::zelda3::WorldAllocationSummary::free_with_map_data, yaze::zelda3::WorldAllocationSummary::free_without_map_data, yaze::zelda3::AreaAllocation::high, yaze::zelda3::TailMapExpansionPlan::high_table_snes, yaze::Rom::is_loaded(), kAllocationAreaCount, yaze::zelda3::WorldAllocationSummary::key, kLarge, kSmall, yaze::zelda3::WorldAllocationSummary::last_area, LoadEntrances(), LoadExits(), LoadHoles(), yaze::zelda3::AreaAllocation::low, yaze::zelda3::TailMapExpansionPlan::low_table_snes, yaze::zelda3::AreaAllocation::map_pointer_source, yaze::zelda3::AreaAllocation::map_pointer_valid, yaze::zelda3::TailMapExpansionPlan::marker_snes, yaze::zelda3::TailMapExpansionPlan::marker_value, yaze::zelda3::AreaAllocation::name, OverworldAreaTableCatalogue(), yaze::zelda3::AreaAllocation::parent, yaze::zelda3::AreaAllocation::parent_past_end, yaze::zelda3::OverworldAllocationReport::rom_name, yaze::zelda3::OverworldAllocationReport::rom_size, yaze::zelda3::OverworldAllocationOptions::scan_entities, yaze::zelda3::OverworldAllocationOptions::scan_sprites, yaze::Rom::size(), yaze::zelda3::AreaAllocation::size, yaze::zelda3::MapStreamScan::snes, yaze::zelda3::OverworldAllocationReport::summary, yaze::zelda3::OverworldAllocationReport::tables, yaze::zelda3::OverworldAllocationReport::tail_marker_present, yaze::zelda3::AreaAllocation::uncovered_tables, yaze::zelda3::AreaAllocation::used, yaze::zelda3::WorldAllocationSummary::used, and yaze::zelda3::AreaAllocation::world.
Referenced by yaze::cli::OverworldAllocationCommandHandler::Execute().
| const char * yaze::zelda3::TailCheckVerdictName | ( | TailCheckVerdict | verdict | ) |
Definition at line 804 of file overworld_allocation.cc.
References kAlreadyApplied, kSafe, and kUnsafe.
Referenced by FormatOverworldAllocationText(), and yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::TailJson().
| const char * yaze::zelda3::TailCheckScopeName | ( | TailCheckScope | scope | ) |
Definition at line 816 of file overworld_allocation.cc.
References kPatch, kRom, and kYaze.
Referenced by yaze::zelda3::TailMapExpansionCheck::BlockingSummary(), FormatOverworldAllocationText(), and yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::TailJson().
| TailMapExpansionCheck yaze::zelda3::CheckTailMapExpansion | ( | const Rom & | rom, |
| const TailMapExpansionPlan & | plan, | ||
| const TailCheckAnnotator & | annotator ) |
Definition at line 911 of file overworld_allocation.cc.
References yaze::zelda3::TailMapExpansionCheck::asm_version, yaze::zelda3::TailMapExpansionPlan::blank_high, yaze::zelda3::TailMapExpansionPlan::blank_high_snes, yaze::zelda3::TailMapExpansionPlan::blank_low, yaze::zelda3::TailMapExpansionPlan::blank_low_snes, yaze::zelda3::TailCheckOperand::current, yaze::Rom::data(), yaze::zelda3::TailMapExpansionCheck::findings, yaze::zelda3::TailMapExpansionCheck::free_bytes_before_marker, yaze::zelda3::TailMapExpansionPlan::high_table_snes, yaze::zelda3::TailCheckOperand::in_rom, kAlreadyApplied, kPatch, kRom, kSafe, kSpecialTailFirstArea, kUnsafe, kYaze, yaze::zelda3::TailMapExpansionPlan::low_table_snes, yaze::zelda3::TailMapExpansionCheck::marker_present, yaze::zelda3::TailMapExpansionPlan::marker_snes, yaze::zelda3::TailMapExpansionPlan::marker_value, yaze::zelda3::TailMapExpansionCheck::marker_value, yaze::zelda3::TailCheckOperand::opcode, yaze::zelda3::TailMapExpansionPlan::operand_patched, yaze::zelda3::TailMapExpansionPlan::operand_snes, yaze::zelda3::TailMapExpansionPlan::operand_vanilla, yaze::zelda3::TailMapExpansionCheck::operands, OverworldAreaTableCatalogue(), yaze::zelda3::TailCheckAnnotator::ownership, yaze::zelda3::TailCheckOperand::patched, yaze::zelda3::TailCheckOperand::pc, yaze::zelda3::TailMapExpansionCheck::regions, yaze::zelda3::TailMapExpansionCheck::rom_compatible, yaze::zelda3::TailMapExpansionCheck::rom_size, yaze::Rom::size(), yaze::zelda3::TailCheckOperand::snes, yaze::zelda3::TailCheckOperand::state, yaze::zelda3::TailMapExpansionCheck::streams, yaze::zelda3::TailMapExpansionPlan::table_entries, yaze::zelda3::TailMapExpansionCheck::tables_stopping_before_tail, yaze::zelda3::TailCheckOperand::vanilla, yaze::zelda3::TailMapExpansionCheck::verdict, yaze::zelda3::TailMapExpansionPlan::yaze_map_count, yaze::zelda3::TailMapExpansionPlan::yaze_saves_relocated_tables, yaze::zelda3::TailMapExpansionCheck::zs_code_end_snes, and yaze::zelda3::TailMapExpansionCheck::zs_code_found.
Referenced by yaze::cli::OverworldAllocationCommandHandler::Execute(), and TailMapExpansionApplyGuard().

| absl::Status yaze::zelda3::TailMapExpansionApplyGuard | ( | const Rom & | rom | ) |
Error to return from any path that would apply TailMapExpansion.asm. OK when the check says safe (or the patch is already applied).
Definition at line 1154 of file overworld_allocation.cc.
References yaze::zelda3::TailMapExpansionCheck::BlockingSummary(), CheckTailMapExpansion(), kUnsafe, and yaze::zelda3::TailMapExpansionCheck::verdict.
Referenced by yaze::core::PatchManager::ApplyEnabledPatches(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::ApplyTailExpansion(), and yaze::cli::OverworldDoctorCommandHandler::Execute().

| std::string yaze::zelda3::OverworldAllocationToJson | ( | const OverworldAllocationReport & | report, |
| const TailMapExpansionCheck * | tail_check ) |
Definition at line 1336 of file overworld_allocation.cc.
References yaze::zelda3::OverworldAllocationReport::areas, yaze::zelda3::OverworldAllocationReport::asm_version, yaze::zelda3::OverworldAllocationReport::catalogue, yaze::zelda3::OverworldAllocationReport::rom_name, yaze::zelda3::OverworldAllocationReport::rom_size, yaze::zelda3::OverworldAllocationReport::summary, yaze::zelda3::OverworldAllocationReport::tables, yaze::zelda3::OverworldAllocationReport::TablesStoppingBeforeTail(), and yaze::zelda3::OverworldAllocationReport::tail_marker_present.
Referenced by yaze::cli::OverworldAllocationCommandHandler::Execute().

| std::string yaze::zelda3::FormatOverworldAllocationText | ( | const OverworldAllocationReport & | report, |
| const TailMapExpansionCheck * | tail_check ) |
Definition at line 1371 of file overworld_allocation.cc.
References AllocationAreaSizeName(), AllocationWorldName(), yaze::zelda3::OverworldAllocationReport::areas, yaze::zelda3::OverworldAllocationReport::asm_version, yaze::zelda3::OverworldAllocationReport::catalogue, yaze::zelda3::TailMapExpansionCheck::findings, yaze::zelda3::TailMapExpansionCheck::free_bytes_before_marker, yaze::zelda3::TailMapExpansionCheck::marker_present, yaze::zelda3::TailMapExpansionCheck::marker_value, yaze::zelda3::TailMapExpansionCheck::operands, yaze::zelda3::TailMapExpansionCheck::regions, yaze::zelda3::TailMapExpansionCheck::rom_compatible, yaze::zelda3::OverworldAllocationReport::rom_name, yaze::zelda3::OverworldAllocationReport::rom_size, yaze::zelda3::TailMapExpansionCheck::streams, yaze::zelda3::OverworldAllocationReport::summary, yaze::zelda3::OverworldAllocationReport::tables, yaze::zelda3::OverworldAllocationReport::TablesStoppingBeforeTail(), yaze::zelda3::OverworldAllocationReport::tail_marker_present, TailCheckScopeName(), TailCheckVerdictName(), yaze::zelda3::TailMapExpansionCheck::verdict, yaze::zelda3::TailMapExpansionCheck::zs_code_end_snes, and yaze::zelda3::TailMapExpansionCheck::zs_code_found.
Referenced by yaze::cli::OverworldAllocationCommandHandler::Execute().
| absl::StatusOr< std::vector< OverworldEntrance > > yaze::zelda3::LoadEntrances | ( | Rom * | rom | ) |
Definition at line 33 of file overworld_entrance.cc.
References yaze::core::RomSettings::Get(), and LoadEntrances().
Referenced by BuildOverworldAllocationReport(), CollectRoomCensusInput(), yaze::cli::handlers::OverworldDescribeMapCommandHandler::Execute(), yaze::cli::OverworldDoctorCommandHandler::Execute(), yaze::zelda3::Overworld::Load(), and LoadEntrances().

| absl::StatusOr< std::vector< OverworldEntrance > > yaze::zelda3::LoadEntrances | ( | Rom * | rom, |
| const core::RomAddressOverrides & | addresses ) |
Definition at line 37 of file overworld_entrance.cc.
References ASSIGN_OR_RETURN, yaze::core::RomAddressOverrides::GetAddress(), kOverworldEntranceEntranceId, kOverworldEntranceEntranceIdExpanded, yaze::core::RomAddressKey::kOverworldEntranceIdExpanded, kOverworldEntranceMap, yaze::core::RomAddressKey::kOverworldEntranceMapExpanded, kOverworldEntranceMapExpanded, kOverworldEntrancePos, yaze::core::RomAddressKey::kOverworldEntrancePosExpanded, kOverworldEntrancePosExpanded, yaze::Rom::ReadByte(), and yaze::Rom::ReadWord().

| absl::StatusOr< std::vector< OverworldEntrance > > yaze::zelda3::LoadHoles | ( | Rom * | rom | ) |
Definition at line 84 of file overworld_entrance.cc.
References ASSIGN_OR_RETURN, kOverworldHoleArea, kOverworldHoleEntrance, kOverworldHolePos, yaze::Rom::ReadByte(), and yaze::Rom::ReadWord().
Referenced by BuildOverworldAllocationReport(), CollectRoomCensusInput(), yaze::cli::handlers::OverworldDescribeMapCommandHandler::Execute(), and yaze::zelda3::Overworld::Load().

| absl::Status yaze::zelda3::SaveEntrances | ( | Rom * | rom, |
| const std::vector< OverworldEntrance > & | entrances, | ||
| bool | expanded_entrances ) |
Definition at line 103 of file overworld_entrance.cc.
References GetOverworldEntranceIdExpanded(), GetOverworldEntranceMapExpanded(), GetOverworldEntrancePosExpanded(), kNumOverworldEntrances, kOverworldEntranceEntranceId, kOverworldEntranceMap, kOverworldEntrancePos, RETURN_IF_ERROR, yaze::Rom::WriteByte(), and yaze::Rom::WriteShort().
Referenced by yaze::zelda3::Overworld::SaveEntrances().
| absl::Status yaze::zelda3::SaveHoles | ( | Rom * | rom, |
| const std::vector< OverworldEntrance > & | holes ) |
Definition at line 144 of file overworld_entrance.cc.
References kNumOverworldHoles, kOverworldHoleArea, kOverworldHoleEntrance, kOverworldHolePos, RETURN_IF_ERROR, yaze::Rom::WriteByte(), and yaze::Rom::WriteShort().
Referenced by yaze::zelda3::Overworld::SaveEntrances().

|
inline |
Definition at line 59 of file overworld_entrance.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kOverworldEntranceMapExpanded, and kOverworldEntranceMapExpanded.
Referenced by SaveEntrances().

|
inline |
Definition at line 65 of file overworld_entrance.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kOverworldEntrancePosExpanded, and kOverworldEntrancePosExpanded.
Referenced by SaveEntrances().

|
inline |
Definition at line 71 of file overworld_entrance.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kOverworldEntranceEntranceIdExpanded, and yaze::core::RomAddressKey::kOverworldEntranceIdExpanded.
Referenced by SaveEntrances().

|
inline |
Definition at line 77 of file overworld_entrance.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kOverworldEntranceExpandedFlagPos, and yaze::core::RomAddressKey::kOverworldEntranceFlagExpanded.
Referenced by DetectOverworldRomProfile().

|
inline |
Definition at line 173 of file overworld_entrance.h.
References ASSIGN_OR_RETURN, yaze::zelda3::OverworldEntranceTileTypes::high, kEntranceTileTypePtrHigh, kEntranceTileTypePtrLow, kNumEntranceTileTypes, yaze::zelda3::OverworldEntranceTileTypes::low, and yaze::Rom::ReadWord().
Referenced by yaze::editor::OverworldEditor::Load().

| absl::StatusOr< std::vector< OverworldExit > > yaze::zelda3::LoadExits | ( | Rom * | rom | ) |
Definition at line 18 of file overworld_exit.cc.
References yaze::Rom::data(), OWExitDoorType1, OWExitDoorType2, OWExitMapId, OWExitRoomId, OWExitUnk1, OWExitUnk2, OWExitVram, OWExitXCamera, OWExitXPlayer, OWExitXScroll, OWExitYCamera, OWExitYPlayer, OWExitYScroll, yaze::Rom::ReadTransaction(), and RETURN_IF_ERROR.
Referenced by BuildOverworldAllocationReport(), yaze::cli::handlers::OverworldDescribeMapCommandHandler::Execute(), yaze::cli::OverworldDoctorCommandHandler::Execute(), and yaze::zelda3::Overworld::Load().

| absl::Status yaze::zelda3::SaveExits | ( | Rom * | rom, |
| const std::vector< OverworldExit > & | exits ) |
Definition at line 175 of file overworld_exit.cc.
References ASSIGN_OR_RETURN, kNumOverworldExits, OverworldCustomASMHasBeenApplied, OWExitDoorPosition, OWExitDoorType1, OWExitDoorType2, OWExitMapId, OWExitRoomId, OWExitUnk1, OWExitUnk2, OWExitVram, OWExitXCamera, OWExitXPlayer, OWExitXScroll, OWExitYCamera, OWExitYPlayer, OWExitYScroll, yaze::Rom::ReadByte(), yaze::Rom::ReadWord(), RETURN_IF_ERROR, yaze::Rom::WriteByte(), and yaze::Rom::WriteShort().
Referenced by yaze::zelda3::Overworld::SaveExits().

| absl::StatusOr< std::vector< OverworldItem > > yaze::zelda3::LoadItems | ( | Rom * | rom, |
| std::vector< OverworldMap > & | overworld_maps ) |
Definition at line 19 of file overworld_item.cc.
References ASSIGN_OR_RETURN, yaze::zelda3::OverworldVersionHelper::GetVersion(), kNumOverworldMaps, overworldItemsAddress, overworldItemsAddressBank, yaze::Rom::ReadByte(), yaze::Rom::ReadLong(), SmallArea, yaze::SnesToPc(), and yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum().
Referenced by yaze::cli::handlers::OverworldListItemsCommandHandler::Execute(), yaze::cli::OverworldDoctorCommandHandler::Execute(), yaze::zelda3::Overworld::Load(), and yaze::zelda3::Overworld::SaveItems().
| absl::Status yaze::zelda3::SaveItems | ( | Rom * | rom, |
| const std::vector< OverworldItem > & | items ) |
Definition at line 90 of file overworld_item.cc.
References ASSIGN_OR_RETURN, CompareItemsArrays(), yaze::zelda3::OverworldVersionHelper::GetVersion(), kNumOverworldMapItemPointers, kNumOverworldMaps, kOverworldBombDoorItemLocationsNew, kOverworldItemsEndData, kOverworldItemsPointersNew, kOverworldItemsStartDataNew, LOG_WARN, yaze::util::logf(), overworldItemsAddress, overworldItemsAddressBank, yaze::PcToSnes(), yaze::Rom::ReadByte(), yaze::Rom::ReadLong(), RETURN_IF_ERROR, yaze::SnesToPc(), yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), yaze::Rom::WriteByte(), yaze::Rom::WriteLong(), and yaze::Rom::WriteShort().
Referenced by yaze::zelda3::Overworld::SaveItems().
|
inline |
Definition at line 85 of file overworld_item.h.
References yaze::zelda3::OverworldItem::id_, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
|
inline |
Definition at line 104 of file overworld_item.h.
References CompareItemsArrays().
Referenced by CompareItemsArrays(), and SaveItems().

|
inline |
Definition at line 85 of file overworld_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kOverworldMessagesExpanded, and kOverworldMessagesExpanded.
Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo(), and yaze::zelda3::Overworld::SaveAreaSizes().

|
inline |
Definition at line 91 of file overworld_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kOverworldMapParentExpanded, and kOverworldMapParentIdExpanded.
Referenced by yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::zelda3::OverworldMap::OverworldMap(), and yaze::zelda3::Overworld::SaveLargeMapsExpanded().

|
inline |
Definition at line 97 of file overworld_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kOverworldTransitionPositionYExpanded, and yaze::core::RomAddressKey::kOverworldTransitionPosYExpanded.
Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

|
inline |
Definition at line 103 of file overworld_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), kOverworldTransitionPositionXExpanded, and yaze::core::RomAddressKey::kOverworldTransitionPosXExpanded.
Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

|
inline |
Definition at line 109 of file overworld_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kOverworldScreenChange1Expanded, and kOverworldScreenTileMapChangeByScreen1Expanded.
Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

|
inline |
Definition at line 115 of file overworld_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kOverworldScreenChange2Expanded, and kOverworldScreenTileMapChangeByScreen2Expanded.
Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

|
inline |
Definition at line 121 of file overworld_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kOverworldScreenChange3Expanded, and kOverworldScreenTileMapChangeByScreen3Expanded.
Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

|
inline |
Definition at line 127 of file overworld_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kOverworldScreenChange4Expanded, and kOverworldScreenTileMapChangeByScreen4Expanded.
Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().

|
inline |
Overworld screen whose tilemap the game shows as BG1 for a subscreen overlay id (0x93 curtains, 0x95 sky, 0x96 pyramid, 0x97/0x9D fog, 0x9C lava, and hack-defined ids up to 0x9F), or -1 for none (0x00FF).
Definition at line 207 of file overworld_map.h.
References kSpecialWorldMapIdStart.
Referenced by yaze::zelda3::Overworld::BuildSubscreenOverlayLayer(), and yaze::editor::OverworldCanvasRenderer::EnsureOverlayLayer().
|
inline |
True for overlays the game places behind the area (sky, pyramid, lava): they show only through backdrop (color 0) pixels. Other overlays (fog, curtains, canopy, rain) sit in front of the area.
Definition at line 217 of file overworld_map.h.
Referenced by yaze::zelda3::Overworld::BuildSubscreenOverlayLayer().
|
inline |
True when an overworld bitmap pixel shows the backdrop (area BG color). Overworld graphics are 3bpp; slots loaded with the +8 offset map pixel 0 to color 8, which the map palette also sets to the backdrop color.
Definition at line 224 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::BuildSubscreenOverlayLayer().
| OverworldSpriteLayout yaze::zelda3::GetOverworldSpriteLayout | ( | const Rom & | rom | ) |
Definition at line 12 of file overworld_sprite_io.cc.
References yaze::zelda3::OverworldVersionHelper::GetVersion(), kOverworldSpriteDataStart, and yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum().
Referenced by ApplyOverworldSpriteSave(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), GetOverworldSpriteRegionEnd(), yaze::zelda3::Overworld::LoadSprites(), PlanOverworldSpriteListEdit(), PlanOverworldSpriteSave(), and ReadOverworldSpriteList().

| int yaze::zelda3::GetOverworldSpriteRegionEnd | ( | const Rom & | rom | ) |
Definition at line 22 of file overworld_sprite_io.cc.
References GetOverworldSpriteLayout(), kOverworldSpriteDataEnd, kRoomSpritePointerTableOperand, yaze::Rom::size(), and yaze::Rom::vector().
Referenced by ApplyOverworldSpriteSave(), PlanOverworldSpriteListEdit(), PlanOverworldSpriteSave(), and ReadOverworldSpriteList().

| absl::StatusOr< OverworldSpriteBytes > yaze::zelda3::ReadOverworldSpriteList | ( | const Rom & | rom, |
| int | pointer_address ) |
Definition at line 73 of file overworld_sprite_io.cc.
References ASSIGN_OR_RETURN, GetOverworldSpriteLayout(), GetOverworldSpriteRegionEnd(), and yaze::Rom::vector().
Referenced by yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), yaze::zelda3::Overworld::LoadSpritesFromMap(), and PlanOverworldSpriteSave().

| const char * yaze::zelda3::OverworldSpriteEditStrategyName | ( | OverworldSpriteEditStrategy | s | ) |
Definition at line 84 of file overworld_sprite_io.cc.
References kGrowInPlace, kInPlace, kNoChange, and kRelocate.
Referenced by yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext().
| absl::StatusOr< OverworldSpriteListEditPlan > yaze::zelda3::PlanOverworldSpriteListEdit | ( | const Rom & | rom, |
| int | state, | ||
| int | map, | ||
| const OverworldSpriteBytes & | replacement ) |
Definition at line 98 of file overworld_sprite_io.cc.
References ASSIGN_OR_RETURN, GetOverworldSpriteLayout(), GetOverworldSpriteRegionEnd(), kGrowInPlace, kInPlace, kNoChange, kRelocate, yaze::zelda3::OverworldSpriteListEditPlan::new_bytes, yaze::zelda3::OverworldSpriteListEditPlan::new_list_pc, yaze::zelda3::OverworldSpriteListEditPlan::old_bytes, yaze::zelda3::OverworldSpriteListEditPlan::old_list_pc, yaze::zelda3::OverworldSpriteListEditPlan::pointer_pc, yaze::zelda3::OverworldSpriteListEditPlan::region_end, yaze::zelda3::OverworldSpriteListEditPlan::region_start, yaze::zelda3::OverworldSpriteListEditPlan::sharers, yaze::zelda3::OverworldSpriteListEditPlan::strategy, yaze::zelda3::OverworldSpriteListEditPlan::unreferenced_bytes, yaze::Rom::vector(), and yaze::zelda3::OverworldSpriteListEditPlan::writes.
Referenced by yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext().

| absl::StatusOr< OverworldSpriteSavePlan > yaze::zelda3::PlanOverworldSpriteSave | ( | const Rom & | rom, |
| const OverworldSpriteEdits & | edits ) |
Definition at line 252 of file overworld_sprite_io.cc.
References ASSIGN_OR_RETURN, GetOverworldSpriteLayout(), GetOverworldSpriteRegionEnd(), and ReadOverworldSpriteList().
Referenced by yaze::zelda3::Overworld::PrepareSpriteSave().

| absl::Status yaze::zelda3::ApplyOverworldSpriteSave | ( | Rom & | rom, |
| const OverworldSpriteSavePlan & | plan ) |
Definition at line 317 of file overworld_sprite_io.cc.
References yaze::rom::WriteFence::Allow(), yaze::ScopedRomTransaction::Commit(), GetOverworldSpriteLayout(), GetOverworldSpriteRegionEnd(), RETURN_IF_ERROR, and yaze::Rom::WriteVector().
Referenced by yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), yaze::editor::OverworldEditor::Save(), yaze::zelda3::Overworld::Save(), and yaze::zelda3::Overworld::SaveSprites().
|
inline |
Definition at line 51 of file special_entrance_inspector.h.
References yaze::zelda3::SpecialEntranceInspection::available, yaze::Rom::data(), yaze::Rom::filename(), yaze::zelda3::Overworld::GetMapTiles(), yaze::zelda3::SpecialEntranceInspection::inspected_map, yaze::zelda3::Overworld::is_loaded(), kNumOverworldMaps, yaze::zelda3::SpecialEntranceInspection::limitation, yaze::zelda3::SpecialEntranceInspection::matches, yaze::zelda3::SpecialEntranceInspection::overlay_may_replace_tiles, yaze::zelda3::Overworld::overworld_map(), yaze::zelda3::SpecialEntranceInspection::parent_area, yaze::zelda3::SpecialEntranceInspection::provenance, yaze::zelda3::SpecialEntranceInspection::rows, yaze::Rom::size(), yaze::gfx::TileInfoToWord(), and yaze::zelda3::Overworld::tiles16().
Referenced by yaze::editor::OverworldEntityWorkbench::Draw(), and yaze::cli::handlers::OverworldInspectSpecialEntrancesCommandHandler::Execute().
|
inline |
Definition at line 14 of file terrain_graphics.h.
Referenced by yaze::cli::handlers::OverworldTerrainCatalogCommandHandler::Execute().
| const gfx::TileInfo & yaze::zelda3::Tile16QuadrantInfo | ( | const gfx::Tile16 & | tile, |
| int | quadrant ) |
Definition at line 5 of file tile16_metadata.cc.
References yaze::gfx::Tile16::tile0_, yaze::gfx::Tile16::tile1_, yaze::gfx::Tile16::tile2_, and yaze::gfx::Tile16::tile3_.
Referenced by yaze::editor::Tile16Editor::DrawBrushAndTilePaletteControls(), yaze::editor::Tile16EditSession::PickTile8FromTile16(), RenderTile16PixelsFromMetadata(), RenderTile16PixelsFromMetadata(), yaze::editor::ResolveOverworldQuadrantTarget(), and yaze::editor::anonymous_namespace{tile16_edit_history.cc}::SameDefinition().
| gfx::TileInfo & yaze::zelda3::MutableTile16QuadrantInfo | ( | gfx::Tile16 & | tile, |
| int | quadrant ) |
Definition at line 18 of file tile16_metadata.cc.
References yaze::gfx::Tile16::tile0_, yaze::gfx::Tile16::tile1_, yaze::gfx::Tile16::tile2_, and yaze::gfx::Tile16::tile3_.
Referenced by BuildTile16StampMutations(), SetTile16QuadrantPalette(), yaze::editor::anonymous_namespace{tile16_edit_session.cc}::TileInfoForQuadrant(), and yaze::editor::anonymous_namespace{tile16_workbench.cc}::TileInfoForQuadrant().
| void yaze::zelda3::SyncTile16TilesInfo | ( | gfx::Tile16 * | tile | ) |
Definition at line 31 of file tile16_metadata.cc.
References yaze::gfx::Tile16::tile0_, yaze::gfx::Tile16::tile1_, yaze::gfx::Tile16::tile2_, yaze::gfx::Tile16::tile3_, and yaze::gfx::Tile16::tiles_info.
Referenced by BuildTile16StampMutations(), HorizontalFlipTile16(), yaze::zelda3::anonymous_namespace{tile16_stamp.cc}::Make2xStampTile(), yaze::editor::Tile16EditSession::ReplaceCurrentTile(), RotateTile16Clockwise(), SetTile16AllQuadrantPalettes(), SetTile16QuadrantPalette(), yaze::editor::anonymous_namespace{tile16_edit_session.cc}::SyncTilesInfoArray(), yaze::editor::anonymous_namespace{tile16_workbench.cc}::SyncTilesInfoArray(), and VerticalFlipTile16().
| void yaze::zelda3::SetTile16AllQuadrantPalettes | ( | gfx::Tile16 * | tile, |
| uint8_t | palette_id ) |
Definition at line 41 of file tile16_metadata.cc.
References yaze::gfx::TileInfo::palette_, SyncTile16TilesInfo(), yaze::gfx::Tile16::tile0_, yaze::gfx::Tile16::tile1_, yaze::gfx::Tile16::tile2_, and yaze::gfx::Tile16::tile3_.
Referenced by yaze::editor::Tile16EditSession::ApplyPaletteToAllImpl().

| bool yaze::zelda3::SetTile16QuadrantPalette | ( | gfx::Tile16 * | tile, |
| int | quadrant, | ||
| uint8_t | palette_id ) |
Definition at line 53 of file tile16_metadata.cc.
References MutableTile16QuadrantInfo(), yaze::gfx::TileInfo::palette_, and SyncTile16TilesInfo().
Referenced by yaze::editor::Tile16EditSession::ApplyPaletteToQuadrantImpl().

| gfx::TileInfo yaze::zelda3::HorizontalFlipTileInfo | ( | gfx::TileInfo | info | ) |
Definition at line 64 of file tile16_metadata.cc.
References yaze::gfx::TileInfo::horizontal_mirror_.
Referenced by HorizontalFlipTile16().
| gfx::TileInfo yaze::zelda3::VerticalFlipTileInfo | ( | gfx::TileInfo | info | ) |
Definition at line 69 of file tile16_metadata.cc.
References yaze::gfx::TileInfo::vertical_mirror_.
Referenced by VerticalFlipTile16().
| gfx::Tile16 yaze::zelda3::HorizontalFlipTile16 | ( | gfx::Tile16 | tile | ) |
Definition at line 74 of file tile16_metadata.cc.
References HorizontalFlipTileInfo(), SyncTile16TilesInfo(), yaze::gfx::Tile16::tile0_, yaze::gfx::Tile16::tile1_, yaze::gfx::Tile16::tile2_, and yaze::gfx::Tile16::tile3_.
Referenced by yaze::editor::Tile16EditSession::FlipTile16HorizontalImpl().

| gfx::Tile16 yaze::zelda3::VerticalFlipTile16 | ( | gfx::Tile16 | tile | ) |
Definition at line 84 of file tile16_metadata.cc.
References SyncTile16TilesInfo(), yaze::gfx::Tile16::tile0_, yaze::gfx::Tile16::tile1_, yaze::gfx::Tile16::tile2_, yaze::gfx::Tile16::tile3_, and VerticalFlipTileInfo().
Referenced by yaze::editor::Tile16EditSession::FlipTile16VerticalImpl().

| gfx::Tile16 yaze::zelda3::RotateTile16Clockwise | ( | gfx::Tile16 | tile | ) |
Definition at line 94 of file tile16_metadata.cc.
References SyncTile16TilesInfo(), yaze::gfx::Tile16::tile0_, yaze::gfx::Tile16::tile1_, yaze::gfx::Tile16::tile2_, and yaze::gfx::Tile16::tile3_.
Referenced by yaze::editor::Tile16EditSession::RotateTile16Impl().

| std::vector< uint8_t > yaze::zelda3::RenderTile16PixelsFromMetadata | ( | const gfx::Tile16 & | tile_data, |
| const std::vector< Tile8PixelData > & | tile8_pixels ) |
Definition at line 18 of file tile16_renderer.cc.
References yaze::gfx::TileInfo::horizontal_mirror_, yaze::gfx::TileInfo::id_, yaze::gfx::TileInfo::palette_, Tile16QuadrantInfo(), and yaze::gfx::TileInfo::vertical_mirror_.
Referenced by yaze::editor::Tile16EditSession::BuildStampPreview(), RenderTile16BitmapFromMetadata(), and RenderTile16BitmapFromMetadata().

| std::vector< uint8_t > yaze::zelda3::RenderTile16PixelsFromMetadata | ( | const gfx::Tile16 & | tile_data, |
| const std::vector< gfx::Bitmap > & | tile8_bitmaps ) |
Definition at line 65 of file tile16_renderer.cc.
References yaze::gfx::Bitmap::data(), yaze::gfx::TileInfo::horizontal_mirror_, yaze::gfx::TileInfo::id_, yaze::gfx::Bitmap::is_active(), yaze::gfx::TileInfo::palette_, yaze::gfx::Bitmap::size(), Tile16QuadrantInfo(), and yaze::gfx::TileInfo::vertical_mirror_.

| absl::Status yaze::zelda3::RenderTile16BitmapFromMetadata | ( | const gfx::Tile16 & | tile_data, |
| const std::vector< Tile8PixelData > & | tile8_pixels, | ||
| gfx::Bitmap * | output_bitmap ) |
Definition at line 115 of file tile16_renderer.cc.
References yaze::gfx::Bitmap::Create(), and RenderTile16PixelsFromMetadata().
Referenced by yaze::editor::Tile16EditSession::BuildTile16BitmapFromData().

| absl::Status yaze::zelda3::RenderTile16BitmapFromMetadata | ( | const gfx::Tile16 & | tile_data, |
| const std::vector< gfx::Bitmap > & | tile8_bitmaps, | ||
| gfx::Bitmap * | output_bitmap ) |
Definition at line 131 of file tile16_renderer.cc.
References yaze::gfx::Bitmap::Create(), and RenderTile16PixelsFromMetadata().

| int yaze::zelda3::ComputeTile16Count | ( | const gfx::Tilemap * | tile16_blockset | ) |
Definition at line 146 of file tile16_renderer.cc.
References yaze::gfx::Tilemap::atlas, yaze::gfx::Bitmap::height(), yaze::gfx::Bitmap::is_active(), kNumTile16Individual, and yaze::gfx::Bitmap::width().
Referenced by yaze::editor::Tile16EditSession::RebuildTile8UsageCache(), yaze::editor::Tile16EditSession::SaveLayoutToScratch(), and yaze::editor::Tile16Editor::UpdateTile16Edit().

| void yaze::zelda3::BlitTile16BitmapToAtlas | ( | gfx::Bitmap * | destination, |
| int | tile_id, | ||
| const gfx::Bitmap & | source_bitmap ) |
Definition at line 158 of file tile16_renderer.cc.
References yaze::gfx::Bitmap::data(), yaze::gfx::Bitmap::is_active(), and yaze::gfx::Bitmap::size().
Referenced by yaze::editor::Tile16EditSession::CopyTile16ToAtlas(), and yaze::editor::Tile16EditSession::CopyTileBitmapToBlockset().

| absl::StatusOr< std::vector< Tile16StampMutation > > yaze::zelda3::BuildTile16StampMutations | ( | const Tile16StampRequest & | request | ) |
Definition at line 47 of file tile16_stamp.cc.
References yaze::zelda3::Tile16StampRequest::current_tile16, yaze::zelda3::Tile16StampRequest::current_tile16_id, yaze::zelda3::Tile16StampRequest::max_tile16_id, yaze::zelda3::Tile16StampRequest::max_tile8_id, MutableTile16QuadrantInfo(), yaze::zelda3::Tile16StampRequest::quadrant_index, yaze::zelda3::Tile16StampRequest::selected_tile8_id, yaze::zelda3::Tile16StampRequest::stamp_size, SyncTile16TilesInfo(), yaze::zelda3::Tile16StampRequest::tile16_row_stride, and yaze::zelda3::Tile16StampRequest::tile8_row_stride.
Referenced by yaze::editor::Tile16EditSession::BuildStampMutations().

| void yaze::zelda3::ClearTile8UsageIndex | ( | Tile8UsageIndex * | usage_index | ) |
Definition at line 22 of file tile16_usage_index.cc.
Referenced by BuildTile8UsageIndex().
| void yaze::zelda3::AddTile16ToUsageIndex | ( | const gfx::Tile16 & | tile_data, |
| int | tile16_id, | ||
| Tile8UsageIndex * | usage_index ) |
Definition at line 31 of file tile16_usage_index.cc.
References yaze::gfx::TileInfo::id_, and kMaxTile8UsageId.
Referenced by BuildTile8UsageIndex().
| absl::Status yaze::zelda3::BuildTile8UsageIndex | ( | int | total_tiles, |
| const std::function< absl::StatusOr< gfx::Tile16 >(int)> & | tile_provider, | ||
| Tile8UsageIndex * | usage_index ) |
Definition at line 46 of file tile16_usage_index.cc.
References AddTile16ToUsageIndex(), and ClearTile8UsageIndex().
Referenced by yaze::editor::Tile16EditSession::RebuildTile8UsageCache().

| const PaletteGroupMetadata * yaze::zelda3::GetPaletteGroupMetadata | ( | const char * | group_id | ) |
Definition at line 8 of file palette_constants.cc.
References yaze::zelda3::PaletteGroupName::k3DObject, yaze::zelda3::PaletteMetadata::k3DObject, yaze::zelda3::PaletteGroupName::kArmor, yaze::zelda3::PaletteMetadata::kArmor, yaze::zelda3::PaletteGroupName::kDungeonMain, yaze::zelda3::PaletteMetadata::kDungeonMain, yaze::zelda3::PaletteGroupName::kGlobalSprites, yaze::zelda3::PaletteMetadata::kGlobalSprites, yaze::zelda3::PaletteGroupName::kGrass, yaze::zelda3::PaletteMetadata::kGrass, yaze::zelda3::PaletteGroupName::kHud, yaze::zelda3::PaletteMetadata::kHud, yaze::zelda3::PaletteGroupName::kOverworldAnimated, yaze::zelda3::PaletteMetadata::kOverworldAnimated, yaze::zelda3::PaletteGroupName::kOverworldAux, yaze::zelda3::PaletteMetadata::kOverworldAux, yaze::zelda3::PaletteGroupName::kOverworldMain, yaze::zelda3::PaletteMetadata::kOverworldMain, yaze::zelda3::PaletteGroupName::kOverworldMiniMap, yaze::zelda3::PaletteMetadata::kOverworldMiniMap, yaze::zelda3::PaletteGroupName::kShields, yaze::zelda3::PaletteMetadata::kShields, yaze::zelda3::PaletteGroupName::kSpritesAux1, yaze::zelda3::PaletteMetadata::kSpritesAux1, yaze::zelda3::PaletteGroupName::kSpritesAux2, yaze::zelda3::PaletteMetadata::kSpritesAux2, yaze::zelda3::PaletteGroupName::kSpritesAux3, yaze::zelda3::PaletteMetadata::kSpritesAux3, yaze::zelda3::PaletteGroupName::kSwords, and yaze::zelda3::PaletteMetadata::kSwords.
Referenced by yaze::core::PaletteCatalog::Parse().
| std::vector< const PaletteGroupMetadata * > yaze::zelda3::GetAllPaletteGroups | ( | ) |
Definition at line 59 of file palette_constants.cc.
References yaze::zelda3::PaletteMetadata::k3DObject, yaze::zelda3::PaletteMetadata::kArmor, yaze::zelda3::PaletteMetadata::kDungeonMain, yaze::zelda3::PaletteMetadata::kGlobalSprites, yaze::zelda3::PaletteMetadata::kGrass, yaze::zelda3::PaletteMetadata::kHud, yaze::zelda3::PaletteMetadata::kOverworldAnimated, yaze::zelda3::PaletteMetadata::kOverworldAux, yaze::zelda3::PaletteMetadata::kOverworldMain, yaze::zelda3::PaletteMetadata::kOverworldMiniMap, yaze::zelda3::PaletteMetadata::kShields, yaze::zelda3::PaletteMetadata::kSpritesAux1, yaze::zelda3::PaletteMetadata::kSpritesAux2, yaze::zelda3::PaletteMetadata::kSpritesAux3, and yaze::zelda3::PaletteMetadata::kSwords.
| std::string yaze::zelda3::ResourceTypeToString | ( | ResourceType | type | ) |
Convert ResourceType enum to string key for storage.
Definition at line 29 of file resource_labels.cc.
References kEntrance, kGraphics, kItem, kMusic, kOverlord, kOverworldMap, kRoom, kRoomEffect, kRoomTag, kSprite, and kTileType.
Referenced by yaze::zelda3::ResourceLabelProvider::ClearProjectLabel(), yaze::zelda3::ResourceLabelProvider::GetLabel(), yaze::zelda3::ResourceLabelProvider::GetProjectLabelsForType(), yaze::zelda3::ResourceLabelProvider::HasProjectLabel(), and yaze::zelda3::ResourceLabelProvider::SetProjectLabel().
| ResourceType yaze::zelda3::StringToResourceType | ( | const std::string & | type_str | ) |
Convert string key to ResourceType enum.
Definition at line 57 of file resource_labels.cc.
References kEntrance, kGraphics, kItem, kMusic, kOverlord, kOverworldMap, kRoom, kRoomEffect, kRoomTag, kSprite, and kTileType.
Referenced by yaze::zelda3::ResourceLabelProvider::GetLabel().
| ResourceLabelProvider & yaze::zelda3::GetResourceLabels | ( | ) |
Get the global ResourceLabelProvider instance.
This instance is shared across the application and should be initialized with project labels when a project is opened.
Definition at line 157 of file resource_labels.cc.
Referenced by yaze::cli::resources::CommandContext::ApplyProjectRuntimeContext(), yaze::editor::BuildOverworldMapMetadata(), yaze::cli::handlers::MessageSourceSyncCommandHandler::Execute(), yaze::cli::OverworldAllocationCommandHandler::Execute(), yaze::cli::handlers::AtlasRenderCommandHandler::ExecuteWithContext(), GetEntranceLabel(), GetItemLabel(), GetItemReceiptLabel(), GetItemReceiptLabelSource(), GetMusicLabel(), GetOverlordLabel(), GetOverworldMapLabel(), yaze::editor::dungeon_project_labels::GetRoomLabel(), GetRoomLabel(), GetRoomTagLabel(), GetSpriteLabel(), yaze::project::YazeProject::ImportLabelsFromZScreamContent(), yaze::project::YazeProject::InitializeResourceLabelProvider(), yaze::cli::handlers::anonymous_namespace{dungeon_census_commands.cc}::LoadProjectFile(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::LoadProjectMutationContext(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::MaybeLoadSpriteRegistry(), yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::MusicLabelForState(), PreferHmagicSpriteNames(), yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::ProjectOrProviderLabel(), yaze::editor::EditorManager::RefreshResourceLabelProvider(), ResolveSpriteName(), SetPreferHmagicSpriteNames(), yaze::project::YazeProject::TryLoadHackManifest(), yaze::editor::EditorManager::~EditorManager(), and yaze::project::YazeProject::~YazeProject().
| std::string yaze::zelda3::GetItemReceiptLabel | ( | uint8_t | id, |
| const ResourceLabelProvider::ProjectLabels * | project_labels ) |
Definition at line 629 of file resource_labels.cc.
References yaze::zelda3::Zelda3Labels::GetItemReceiptNames().
Referenced by yaze::cli::handlers::DungeonDescribeRoomCommandHandler::Execute(), yaze::cli::handlers::DungeonListChestsCommandHandler::Execute(), yaze::zelda3::ResourceLabelProvider::ExportToZScreamFormat(), yaze::editor::GetDungeonChestItemLabel(), yaze::editor::GetDungeonChestItemLabel(), GetItemReceiptLabel(), and yaze::editor::DungeonCanvasViewer::RenderChestContents().

| const char * yaze::zelda3::GetItemReceiptLabelSource | ( | uint8_t | id, |
| const ResourceLabelProvider::ProjectLabels * | project_labels ) |
Definition at line 641 of file resource_labels.cc.
References yaze::zelda3::Zelda3Labels::GetItemReceiptNames().
Referenced by yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawItemChoice(), yaze::cli::handlers::DungeonDescribeRoomCommandHandler::Execute(), yaze::cli::handlers::DungeonListChestsCommandHandler::Execute(), and GetItemReceiptLabelSource().

| std::string yaze::zelda3::GetItemReceiptLabel | ( | uint8_t | id | ) |
Definition at line 649 of file resource_labels.cc.
References GetItemReceiptLabel(), and GetResourceLabels().

| const char * yaze::zelda3::GetItemReceiptLabelSource | ( | uint8_t | id | ) |
Definition at line 653 of file resource_labels.cc.
References GetItemReceiptLabelSource(), and GetResourceLabels().

|
inline |
Convenience function to get a sprite label.
Definition at line 221 of file resource_labels.h.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kSprite.
Referenced by yaze::editor::BuildGotoEntry(), yaze::editor::DungeonCanvasViewer::HandleTouchLongPressContextMenu(), and yaze::editor::DungeonCanvasViewer::RenderSprites().

|
inline |
Convenience function to get a room label.
Definition at line 228 of file resource_labels.h.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kRoom.
Referenced by yaze::editor::DungeonCanvasViewer::BuildCopyExportContextMenu(), yaze::editor::BuildGotoEntry(), yaze::editor::DungeonCanvasViewer::BuildRoomMetadataSummary(), yaze::editor::DungeonMapPanel::Draw(), yaze::editor::RoomMatrixContent::Draw(), yaze::editor::anonymous_namespace{dungeon_canvas_connected_matrix.cc}::DrawConnectedCanvasOverview(), yaze::editor::DungeonEntrancesPanel::DrawEntranceList(), yaze::editor::RoomMatrixContent::DrawMatrixHeader(), yaze::cli::handlers::DungeonListChestsCommandHandler::Execute(), yaze::editor::anonymous_namespace{dungeon_room_nav_widget.cc}::MakeTooltip(), yaze::editor::RoomMatrixContent::MatchesSearchFilter(), yaze::editor::DungeonEditorV2::OnRoomSelected(), yaze::editor::DungeonEditorV2::ProcessPendingSwap(), yaze::editor::CommandPalette::RegisterDungeonRoomCommands(), and yaze::editor::DungeonEditorV2::ShowRoomPanel().

|
inline |
Convenience function to get an item label.
Definition at line 235 of file resource_labels.h.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kItem.

|
inline |
Convenience function to get an entrance label.
Definition at line 254 of file resource_labels.h.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kEntrance.
Referenced by yaze::editor::DungeonEntrancesPanel::DrawEntranceList(), yaze::editor::DungeonRoomSelector::DrawEntranceSelectorInternal(), yaze::editor::DungeonEntrancesPanel::DrawGraphicsContext(), and yaze::editor::DungeonRoomSelector::RebuildEntranceFilterCache().

|
inline |
Convenience function to get an overlord label.
Definition at line 261 of file resource_labels.h.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kOverlord.

|
inline |
Convenience function to get an overworld map label.
Definition at line 268 of file resource_labels.h.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kOverworldMap.
Referenced by yaze::editor::BuildGotoEntry(), and yaze::editor::CommandPalette::RegisterOverworldMapCommands().

|
inline |
Convenience function to get a music track label.
Definition at line 275 of file resource_labels.h.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kMusic.

|
inline |
Convenience function to get a room tag label.
Definition at line 282 of file resource_labels.h.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kRoomTag.
Referenced by yaze::editor::SelectionPropertiesPanel::DrawDungeonRoomProperties(), and yaze::editor::RoomTagEditorPanel::DrawQuickAssign().

| absl::StatusOr< std::vector< DungeonMap > > yaze::zelda3::LoadDungeonMaps | ( | Rom & | rom, |
| DungeonMapLabels & | dungeon_map_labels ) |
Load the dungeon maps from the ROM.
| rom | |
| dungeon_map_labels |
Definition at line 22 of file dungeon_map.cc.
References ASSIGN_OR_RETURN, yaze::Rom::data(), yaze::util::HexByte(), kDungeonMapBossRooms, kDungeonMapFloors, kDungeonMapGfxPtr, kDungeonMapRoomsPtr, kNumDungeons, kNumRooms, yaze::Rom::ReadByte(), yaze::Rom::ReadWord(), and yaze::SnesToPc().
Referenced by CollectRoomCensusInput(), ComputeRoomDefaultEntrances(), and yaze::editor::ScreenEditor::Load().
| absl::StatusOr< DungeonMapWritePlan > yaze::zelda3::BuildDungeonMapWritePlan | ( | const std::vector< DungeonMap > & | dungeon_maps, |
| size_t | rom_size, | ||
| bool | relocated_tile16 ) |
Definition at line 82 of file dungeon_map.cc.
References ASSIGN_OR_RETURN, kDungeonMapBossFloors, kDungeonMapBossRooms, kDungeonMapDataLimit, kDungeonMapDataReservedEnd, kDungeonMapDataReservedStart, kDungeonMapDataStart, kDungeonMapFloors, kDungeonMapGfxPtr, kDungeonMapRoomsPtr, kNumDungeons, kNumRooms, yaze::PcToSnes(), and yaze::zelda3::DungeonMapWritePlan::writes.
Referenced by BuildDungeonMapWritePlan(), yaze::editor::ScreenEditor::PrepareDungeonMapSave(), and SaveDungeonMaps().

| absl::StatusOr< DungeonMapWritePlan > yaze::zelda3::BuildDungeonMapWritePlan | ( | Rom & | rom, |
| const std::vector< DungeonMap > & | dungeon_maps ) |
Definition at line 220 of file dungeon_map.cc.
References ASSIGN_OR_RETURN, BuildDungeonMapWritePlan(), GetDungeonMapTile16Expanded(), kDungeonMapDataStart, kDungeonMapExpCheck, kNumDungeonMapTile16, yaze::Rom::ReadByte(), and yaze::Rom::size().

| absl::Status yaze::zelda3::SaveDungeonMaps | ( | Rom & | rom, |
| std::vector< DungeonMap > & | dungeon_maps ) |
Save the dungeon maps to the ROM.
| rom | |
| dungeon_maps |
Definition at line 253 of file dungeon_map.cc.
References ASSIGN_OR_RETURN, BuildDungeonMapWritePlan(), yaze::ScopedRomTransaction::Commit(), RETURN_IF_ERROR, and yaze::Rom::WriteVector().
Referenced by yaze::editor::ScreenEditor::Save().

| absl::Status yaze::zelda3::LoadDungeonMapTile16 | ( | gfx::Tilemap & | tile16_blockset, |
| Rom & | rom, | ||
| GameData * | game_data, | ||
| const std::vector< uint8_t > & | gfx_data, | ||
| bool | bin_mode ) |
Load the dungeon map tile16 from the ROM.
| tile16_blockset | |
| rom | |
| gfx_data | |
| bin_mode |
Definition at line 263 of file dungeon_map.cc.
References ASSIGN_OR_RETURN, yaze::gfx::Tilemap::atlas, yaze::gfx::Bitmap::Create(), yaze::gfx::Arena::CREATE, yaze::Rom::data(), yaze::gfx::PaletteGroupMap::dungeon_main, yaze::gfx::Arena::Get(), GetDungeonMapTile16Expanded(), kDungeonMapExpCheck, kDungeonMapTile16, kNumDungeonMapTile16, yaze::gfx::Tilemap::map_size, yaze::gfx::PaletteGroup::mutable_palette(), yaze::zelda3::GameData::palette_groups, yaze::gfx::Arena::QueueTextureCommand(), yaze::Rom::ReadWord(), yaze::gfx::Bitmap::SetPalette(), yaze::gfx::Tilemap::tile_size, and yaze::gfx::WordToTileInfo().
Referenced by yaze::editor::ScreenEditor::Load(), yaze::editor::ScreenEditor::LoadBinaryGfx(), and LoadDungeonMapGfxFromBinary().
| absl::Status yaze::zelda3::SaveDungeonMapTile16 | ( | gfx::Tilemap & | tile16_blockset, |
| Rom & | rom ) |
Save the dungeon map tile16 to the ROM.
| tile16_blockset | |
| rom |
Definition at line 309 of file dungeon_map.cc.
References yaze::Rom::data(), GetDungeonMapTile16Expanded(), kDungeonMapExpCheck, kDungeonMapTile16, kNumDungeonMapTile16, RETURN_IF_ERROR, yaze::gfx::Tilemap::tile_info, yaze::gfx::TileInfoToWord(), and yaze::Rom::WriteWord().

| absl::Status yaze::zelda3::LoadDungeonMapGfxFromBinary | ( | Rom & | rom, |
| GameData * | game_data, | ||
| gfx::Tilemap & | tile16_blockset, | ||
| std::array< gfx::Bitmap, 4 > & | sheets, | ||
| std::vector< uint8_t > & | gfx_bin_data ) |
Load the dungeon map gfx from binary.
| rom | |
| tile16_blockset | |
| sheets | |
| gfx_bin_data |
Definition at line 336 of file dungeon_map.cc.
References yaze::gfx::Arena::CREATE, yaze::gfx::PaletteGroupMap::dungeon_main, yaze::gfx::Arena::Get(), LoadDungeonMapTile16(), yaze::gfx::PaletteGroup::mutable_palette(), yaze::zelda3::GameData::palette_groups, yaze::gfx::Arena::QueueTextureCommand(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), and yaze::gfx::SnesTo8bppSheet().
|
inline |
Definition at line 33 of file dungeon_map.h.
References yaze::core::RomSettings::Get(), yaze::core::RomSettings::GetAddressOr(), yaze::core::RomAddressKey::kDungeonMapTile16Expanded, and kDungeonMapTile16Expanded.
Referenced by BuildDungeonMapWritePlan(), LoadDungeonMapTile16(), and SaveDungeonMapTile16().

| std::vector< uint8_t > yaze::zelda3::ComposeMenuTilemapRgba | ( | const std::vector< uint8_t > & | indexed, |
| int | width, | ||
| int | height, | ||
| const std::array< gfx::SnesColor, 32 > & | subpalette_colors ) |
Definition at line 336 of file menu_tilemap.cc.
| MenuTilemapDocument::ChrPixelFn yaze::zelda3::MakeChrPixelFn | ( | const std::vector< uint8_t > & | sheet_8bpp_indexed | ) |
Definition at line 361 of file menu_tilemap.cc.
Referenced by yaze::editor::MenuTilemapEditorUI::DrawOverlayControls(), yaze::cli::GfxTilemapRenderCommandHandler::Execute(), and yaze::editor::MenuTilemapEditorUI::RebuildRenderTextures().
| uint16_t yaze::zelda3::Hexto555 | ( | uint32_t | rgb | ) |
Definition at line 122 of file menu_tilemap_sources.cc.
Referenced by yaze::zelda3::anonymous_namespace{menu_tilemap_sources.cc}::ParseDwOperand().
| absl::StatusOr< std::vector< uint16_t > > yaze::zelda3::ParseMenuPaletteAsmText | ( | std::string_view | text_in, |
| std::string_view | label_in ) |
Definition at line 129 of file menu_tilemap_sources.cc.
Referenced by ResolveMenuPaletteFromAsm().
| absl::StatusOr< std::array< gfx::SnesColor, 32 > > yaze::zelda3::ResolveMenuPaletteFromAsm | ( | const std::string & | path, |
| const std::string & | label ) |
Definition at line 199 of file menu_tilemap_sources.cc.
References ParseMenuPaletteAsmText().
Referenced by yaze::cli::GfxTilemapRenderCommandHandler::Execute(), and yaze::editor::MenuTilemapEditorUI::ResolvePaletteSource().

| std::optional< std::string > yaze::zelda3::FindMenuPaletteAsm | ( | const std::string & | project_dir, |
| const std::string & | code_folder ) |
Definition at line 224 of file menu_tilemap_sources.cc.
Referenced by yaze::editor::MenuTilemapEditorUI::DrawSourceBar().
| absl::StatusOr< std::array< gfx::SnesColor, 32 > > yaze::zelda3::ResolveMenuPaletteFromSymbol | ( | const Rom & | rom, |
| const emu::debug::SymbolProvider & | symbols, | ||
| const std::string & | label ) |
Definition at line 249 of file menu_tilemap_sources.cc.
References ASSIGN_OR_RETURN, yaze::emu::debug::SymbolProvider::FindSymbol(), yaze::Rom::ReadByteVector(), yaze::Rom::size(), and yaze::SnesToPc().
Referenced by yaze::cli::GfxTilemapRenderCommandHandler::Execute(), and yaze::editor::MenuTilemapEditorUI::ResolvePaletteSource().

| absl::StatusOr< std::array< gfx::SnesColor, 32 > > yaze::zelda3::ResolveMenuPaletteFromHud | ( | const GameData & | game_data | ) |
Definition at line 287 of file menu_tilemap_sources.cc.
References yaze::gfx::PaletteGroup::empty(), yaze::gfx::PaletteGroup::GetColor(), yaze::gfx::PaletteGroupMap::hud, yaze::zelda3::GameData::palette_groups, and yaze::gfx::SnesColor::snes().
Referenced by yaze::cli::GfxTilemapRenderCommandHandler::Execute(), and yaze::editor::MenuTilemapEditorUI::ResolvePaletteSource().

| absl::StatusOr< std::array< gfx::SnesColor, 32 > > yaze::zelda3::ResolveMenuPaletteFromFile | ( | const std::string & | path, |
| size_t | byte_offset ) |
Definition at line 305 of file menu_tilemap_sources.cc.
Referenced by yaze::cli::GfxTilemapRenderCommandHandler::Execute(), and yaze::editor::MenuTilemapEditorUI::ResolvePaletteSource().
| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::ResolveMenuChrFromRom | ( | const Rom & | rom | ) |
Definition at line 335 of file menu_tilemap_sources.cc.
References Load2BppGraphics().
Referenced by yaze::cli::GfxTilemapRenderCommandHandler::Execute(), and yaze::editor::MenuTilemapEditorUI::ResolveSources().

| absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::ResolveMenuChrFromFile | ( | const std::string & | path | ) |
Definition at line 339 of file menu_tilemap_sources.cc.
References yaze::gfx::SnesTo8bppSheet().
Referenced by yaze::cli::GfxTilemapRenderCommandHandler::Execute(), and yaze::editor::MenuTilemapEditorUI::ResolveSources().

| void yaze::zelda3::SetPreferHmagicSpriteNames | ( | bool | prefer | ) |
Definition at line 276 of file sprite.cc.
References GetResourceLabels(), and yaze::zelda3::ResourceLabelProvider::SetPreferHMagicNames().
Referenced by yaze::editor::SettingsPanel::DrawEditorBehavior(), and yaze::editor::EditorManager::InitializeServices().

| bool yaze::zelda3::PreferHmagicSpriteNames | ( | ) |
Definition at line 280 of file sprite.cc.
References GetResourceLabels(), and yaze::zelda3::ResourceLabelProvider::PreferHMagicNames().

| const char * yaze::zelda3::ResolveSpriteName | ( | uint16_t | id | ) |
Definition at line 287 of file sprite.cc.
References yaze::zelda3::ResourceLabelProvider::GetLabel(), GetResourceLabels(), and kSprite.
Referenced by yaze::cli::handlers::anonymous_namespace{overworld_sprite_edit_commands.cc}::AddEntries(), yaze::editor::DungeonCanvasViewer::BuildDrawIssueReport(), yaze::editor::DungeonCanvasViewer::BuildSelectionIssueReport(), yaze::cli::overworld::CollectOverworldSprites(), yaze::editor::InteractionCoordinator::DescribeEntity(), yaze::editor::UsagePreviewView::DrawSpriteContext(), yaze::cli::handlers::DungeonListSpritesCommandHandler::Execute(), yaze::cli::handlers::DungeonPlaceSpriteCommandHandler::Execute(), yaze::cli::handlers::DungeonRemoveSpriteCommandHandler::Execute(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), yaze::zelda3::Sprite::InitSprite(), yaze::zelda3::Sprite::Sprite(), yaze::zelda3::Sprite::Sprite(), and yaze::zelda3::Sprite::UpdateMapProperties().

| absl::StatusOr< SpriteSourceDocument > yaze::zelda3::ReadSpriteSourceFile | ( | const std::string & | source_root, |
| const std::string & | relative_path ) |
Definition at line 247 of file sprite_catalog.cc.
References yaze::zelda3::SpriteSourceDocument::content, yaze::zelda3::SpriteSourceDocument::lines, yaze::zelda3::SpriteSourceDocument::path, and ReadSpriteSourceFile().
Referenced by yaze::editor::sprite_behavior::ReadReviewedProfile(), ReadSpriteSource(), and ReadSpriteSourceFile().

| absl::StatusOr< SpriteSourceDocument > yaze::zelda3::ReadSpriteSource | ( | const std::string & | source_root, |
| const SpriteSourceBinding & | binding ) |
Definition at line 287 of file sprite_catalog.cc.
References yaze::zelda3::SpriteSourceBinding::label, yaze::zelda3::SpriteSourceBinding::path, ReadSpriteSource(), and ReadSpriteSourceFile().
Referenced by yaze::editor::SpriteEditor::CheckCurrentSpriteSource(), yaze::editor::SpriteEditor::OpenCatalogSource(), and ReadSpriteSource().

| std::array< uint8_t, 8 > yaze::zelda3::SpriteSheetSlots | ( | const std::array< uint8_t, 4 > & | spriteset_values, |
| bool | underworld ) |
The eight sheets for a spriteset's four values.
Definition at line 10 of file sprite_sheet_slots.cc.
Referenced by yaze::editor::SpriteEditor::ApplySpritesetToSheets(), yaze::editor::usage_preview::SpriteUsagePreview::Configure(), yaze::editor::UsagePreviewView::Draw(), yaze::editor::SpriteEditor::DrawSpritesetPicker(), and yaze::editor::SpriteEditor::Load().
| std::vector< SpriteTileIssue > yaze::zelda3::CheckSpriteTiles | ( | const Rom & | rom, |
| const std::vector< int > & | tiles, | ||
| const std::array< uint8_t, 8 > & | slots, | ||
| const std::set< uint16_t > & | reserved_sheets = {} ) |
Checks each 8x8 tile a frame draws against the sheets in slots (read from the ROM). One issue per tile; tiles in the same unreadable or reserved slot are all listed.
Definition at line 23 of file sprite_sheet_slots.cc.
References yaze::zelda3::SpriteTileIssue::kBlank, kGfxSheetCount, yaze::zelda3::SpriteTileIssue::kind, yaze::zelda3::SpriteTileIssue::kReservedSheet, yaze::zelda3::SpriteTileIssue::kUnreadableSheet, ReadGfxSheetData(), yaze::zelda3::SpriteTileIssue::sheet, yaze::zelda3::SpriteTileIssue::slot, SpriteSlotForTile(), and yaze::zelda3::SpriteTileIssue::tile.
Referenced by yaze::editor::SpriteEditor::DrawFrameTileWarnings().

|
constexpr |
Dungeon rooms use spritesets 0x40-0x8F (room header value + 0x40).
Definition at line 25 of file sprite_sheet_slots.h.
Referenced by yaze::editor::SpriteEditor::ApplySpritesetToSheets(), yaze::editor::usage_preview::SpriteUsagePreview::Configure(), yaze::editor::UsagePreviewView::Draw(), yaze::editor::SpriteEditor::DrawSpritesetPicker(), and yaze::editor::SpriteEditor::Load().
|
constexpr |
Slot (0-7) holding 8x8 OAM tile tile (name-table bit included).
Definition at line 34 of file sprite_sheet_slots.h.
Referenced by CheckSpriteTiles(), and yaze::editor::sprite_graphics_context::Make().
|
constexpr |
Definition at line 85 of file common.h.
Referenced by yaze::editor::anonymous_namespace{tile_painting_manager.cc}::AllocatedRowsForWorld(), yaze::editor::OverworldEditor::AreaScreenBitmap(), yaze::zelda3::Overworld::AssignMapSizes(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::BuildDistribution(), yaze::zelda3::Overworld::BuildLyraTerrainPreview(), yaze::editor::BuildOverworldMapMetadata(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::BuildOverworldMaps(), yaze::zelda3::Overworld::BuildSubscreenOverlayLayer(), yaze::editor::CanvasNavigationManager::CenterOnMap(), yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::zelda3::Overworld::DecompressAllMapTilesParallel(), DetectOverworldRomProfile(), yaze::editor::OverworldSidebar::Draw(), yaze::editor::MapPropertiesSystem::DrawOverlayPreviewOnMap(), yaze::editor::OverworldSidebar::DrawQuickProperties(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), yaze::cli::handlers::OverworldTerrainCatalogCommandHandler::Execute(), yaze::cli::OverworldValidateCommandHandler::Execute(), yaze::zelda3::Overworld::FetchLargeMaps(), yaze::editor::MapRefreshCoordinator::ForceRefreshGraphics(), yaze::zelda3::anonymous_namespace{overworld.cc}::GetAllTile16(), yaze::zelda3::Overworld::GetProjectedWriteRanges(), yaze::editor::GotoMaxId(), yaze::zelda3::Overworld::inspected_map_count(), InspectSpecialEntrances(), yaze::zelda3::Overworld::InvalidateMapCache(), yaze::zelda3::Overworld::InvalidateSiblingMapCaches(), yaze::editor::MapRefreshCoordinator::InvalidateTile16Definitions(), yaze::editor::anonymous_namespace{map_properties.cc}::IsValidMapId(), yaze::editor::IsValidOverworldMapJumpTarget(), yaze::editor::EditorActivator::JumpToOverworldMap(), yaze::zelda3::Overworld::Load(), LoadItems(), yaze::zelda3::Overworld::LoadOverworldMaps(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::editor::OverworldEditor::NormalizeMapSelection(), yaze::zelda3::OverworldMap::OverworldMap(), yaze::editor::TilePaintingManager::PaintPattern(), yaze::cli::overworld::anonymous_namespace{overworld_inspect.cc}::PopulateCommonWarpFields(), yaze::editor::MapPropertiesSystem::PrepareMapForGraphicsRefresh(), yaze::editor::EditorManager::ProcessStartupActions(), yaze::editor::OverworldTilePaintAction::RefreshChangedMaps(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), yaze::editor::MapRefreshCoordinator::RefreshMapProperties(), yaze::editor::OverworldEditor::RefreshMapsForSheetEdits(), yaze::editor::MapRefreshCoordinator::RefreshMultiAreaMapsSafely(), yaze::editor::MapRefreshCoordinator::RefreshOverworldMapOnDemand(), yaze::editor::MapRefreshCoordinator::RefreshPaletteUsers(), yaze::editor::MapPropertiesSystem::RefreshSiblingMapGraphics(), yaze::editor::MapRefreshCoordinator::RefreshSiblingMapGraphics(), yaze::editor::CommandPalette::RegisterOverworldMapCommands(), yaze::app::service::RenderService::RenderOverworldArea(), yaze::editor::TilePaintingManager::RenderUpdatedMapBitmap(), yaze::editor::anonymous_namespace{entity_operations.cc}::ResolveEntityInsertionPosition(), yaze::zelda3::Overworld::SaveAreaSizes(), yaze::zelda3::Overworld::SaveAreaSpecificBGColors(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), SaveItems(), yaze::zelda3::Overworld::SaveLargeAreaTransitions(), yaze::zelda3::Overworld::SaveLargeMaps(), yaze::zelda3::Overworld::SaveLargeMapsExpanded(), yaze::zelda3::Overworld::SaveMapOverlays(), yaze::zelda3::Overworld::SaveOverworldMaps(), yaze::zelda3::Overworld::SaveSmallAreaTransitions(), yaze::zelda3::Overworld::SaveTallAreaTransitions(), yaze::zelda3::Overworld::SaveWideAreaTransitions(), yaze::editor::OverworldEditor::SetPreviewStoryState(), yaze::editor::MapPropertiesSystem::SetupCanvasContextMenu(), yaze::editor::OverworldEditor::SyncProjectGraphicsPreview(), yaze::cli::handlers::OverworldTerrainCatalogCommandHandler::ValidateArgs(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ValidateMapId(), and yaze::cli::overworld::anonymous_namespace{overworld_inspect.cc}::ValidateMapId().
|
constexpr |
Definition at line 89 of file common.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::zelda3::OverworldUpgradeSystem::ApplyZSCustomOverworldASM(), yaze::editor::OverworldCanvasRenderer::DrawV3Settings(), yaze::cli::handlers::ToolsExtractValuesCommandHandler::Execute(), yaze::zelda3::OverworldVersionHelper::GetAsmVersion(), yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::editor::MenuOrchestrator::OnCheckRomVersion(), yaze::zelda3::Overworld::SaveAreaSizes(), SaveExits(), yaze::editor::OverworldEditor::Update(), and yaze::zelda3::OverworldUpgradeSystem::UpdateROMVersionMarkers().
|
constexpr |
Definition at line 91 of file common.h.
Referenced by yaze::cli::overworld::anonymous_namespace{overworld_inspect.cc}::EntranceLabel(), yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), and yaze::zelda3::Zelda3Labels::GetEntranceNames().
|
inlineconstexpr |
Definition at line 57 of file cutscene_shot.h.
Referenced by CameraBoundsForArea(), PointInViewport(), and ViewportOnMap().
|
inlineconstexpr |
Definition at line 58 of file cutscene_shot.h.
Referenced by CameraBoundsForArea(), PointInViewport(), and ViewportOnMap().
|
constexpr |
Definition at line 77 of file door_position.cc.
|
constexpr |
Definition at line 78 of file door_position.cc.
|
constexpr |
Definition at line 79 of file door_position.cc.
|
constexpr |
Definition at line 80 of file door_position.cc.
|
inlineconstexpr |
Definition at line 17 of file dungeon_limits.h.
|
inlineconstexpr |
Definition at line 20 of file dungeon_limits.h.
Referenced by yaze::editor::ObjectSelectorContent::DrawContent(), yaze::editor::SpriteInteractionHandler::DrawGhostPreview(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), GetDungeonLimitMax(), yaze::editor::SpriteInteractionHandler::GetPlacementGhostCapacityState(), yaze::editor::ParseDungeonRoomDocument(), yaze::editor::SpriteInteractionHandler::PlaceSpriteAtPosition(), yaze::editor::PlanDungeonSelectionEdit(), yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateDomains(), and yaze::zelda3::DungeonValidator::ValidateRoom().
|
inlineconstexpr |
Definition at line 23 of file dungeon_limits.h.
Referenced by yaze::editor::DrawDungeonChestEditor(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), GetDungeonLimitMax(), yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateObjectReplacement(), and yaze::zelda3::anonymous_namespace{chest_edit.cc}::ValidateRoomEventSlots().
|
inlineconstexpr |
Definition at line 26 of file dungeon_limits.h.
Referenced by yaze::editor::ObjectSelectorContent::DrawContent(), yaze::editor::DoorInteractionHandler::DrawGhostPreview(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), GetDungeonLimitMax(), yaze::editor::DoorInteractionHandler::GetPlacementGhostCapacityState(), yaze::editor::ParseDungeonRoomDocument(), yaze::editor::DoorInteractionHandler::PlaceDoorAtSnappedPosition(), yaze::editor::PlanDungeonSelectionEdit(), and yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateDomains().
|
inlineconstexpr |
Definition at line 29 of file dungeon_limits.h.
Referenced by yaze::editor::TileObjectHandler::CommitCandidate(), yaze::editor::ObjectSelectorContent::DrawContent(), yaze::editor::TileObjectHandler::DrawGhostPreview(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), GetDungeonLimitMax(), yaze::editor::TileObjectHandler::GetPlacementGhostCapacityState(), yaze::editor::TileObjectHandler::PlaceObjectAt(), yaze::editor::PlanDungeonSelectionEdit(), yaze::editor::DungeonEditorV2::PreflightObjectMutation(), yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateObjectReplacement(), and yaze::zelda3::DungeonValidator::ValidateRoom().
|
inlineconstexpr |
Definition at line 32 of file dungeon_limits.h.
Referenced by GetDungeonLimitMax(), GetExceededLimits(), and HasExceededLimits().
|
constexpr |
Definition at line 18 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 19 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::GetObjectPointerTablePc(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::KnownPointerSourceRange(), yaze::zelda3::Room::LoadObjects(), ReadDungeonObjectStream(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDoorTypeTarget(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidateKnownPointerTableSource(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateObjectSaveManifestConflicts(), and yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::ValidateObjectStreamHeaderManifestConflicts().
|
constexpr |
Definition at line 20 of file dungeon_rom_addresses.h.
Referenced by CollectRoomGfx(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::CollectRoomHeaderWriteRanges(), yaze::cli::handlers::DungeonRoomHeaderCommandHandler::Execute(), LoadRoomHeaderFromRom(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRoomHeaderPcStrict(), yaze::editor::DungeonEditorV2::SaveRoomData(), yaze::zelda3::Room::SaveRoomHeader(), yaze::editor::anonymous_namespace{dungeon_editor_v2_connection_edits.cc}::ValidateConnectionRoomSource(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferHeaderOwnership().
|
constexpr |
Definition at line 21 of file dungeon_rom_addresses.h.
Referenced by CollectRoomGfx(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::CollectRoomHeaderWriteRanges(), yaze::cli::handlers::DungeonRoomHeaderCommandHandler::Execute(), LoadRoomHeaderFromRom(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRoomHeaderPcStrict(), yaze::editor::DungeonEditorV2::SaveRoomData(), yaze::zelda3::Room::SaveRoomHeader(), yaze::editor::anonymous_namespace{dungeon_editor_v2_connection_edits.cc}::ValidateConnectionRoomSource(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferHeaderOwnership().
|
constexpr |
Definition at line 30 of file dungeon_rom_addresses.h.
Referenced by GetDungeonObjectDataRegionEnd().
|
constexpr |
Definition at line 48 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 49 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 52 of file dungeon_rom_addresses.h.
Referenced by yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyPotItemWriteRanges(), yaze::zelda3::anonymous_namespace{room.cc}::GetPotItemStreamInfo(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::KnownPointerSourceRange(), yaze::zelda3::Room::LoadPotItems(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream(), yaze::zelda3::anonymous_namespace{room.cc}::ReadRoomPotItemAddressPc(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRuntimePotItemStream(), SaveAllPotItemsImpl(), and yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidateKnownPointerTableSource().
|
constexpr |
Definition at line 53 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::GetPotItemStreamInfo(), and yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream().
|
constexpr |
Definition at line 54 of file dungeon_rom_addresses.h.
Referenced by yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::CheckCommonSpriteIssues(), yaze::zelda3::anonymous_namespace{room.cc}::GetSpritePointerTablePc(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::KnownPointerSourceRange(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidateKnownPointerTableSource(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateRoomSprites(), and yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritePointerTable().
|
constexpr |
Definition at line 55 of file dungeon_rom_addresses.h.
Referenced by yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::ValidateGroupTables(), and yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritesets().
|
constexpr |
Definition at line 57 of file dungeon_rom_addresses.h.
Referenced by yaze::editor::DrawDungeonRoomPropertyFields(), yaze::editor::anonymous_namespace{dungeon_room_edit.cc}::MetadataMaximum(), and yaze::editor::PlanDungeonRoomTransfer().
|
constexpr |
|
constexpr |
Definition at line 61 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::Room::RenderRoomGraphics().
|
constexpr |
Definition at line 62 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::Room::RenderRoomGraphics().
|
constexpr |
Definition at line 65 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildBlockSavePlan(), GetBlockSaveWriteRanges(), yaze::zelda3::Room::LoadBlocks(), yaze::zelda3::anonymous_namespace{room.cc}::PreflightBlocksLoaderDestinations(), SaveAllBlocks(), and SaveAllBlocks().
|
constexpr |
Definition at line 66 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::Room::LoadBlocks().
|
constexpr |
Definition at line 67 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::Room::LoadBlocks().
|
constexpr |
Definition at line 68 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::Room::LoadBlocks().
|
constexpr |
Definition at line 69 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::Room::LoadBlocks().
|
constexpr |
Definition at line 74 of file dungeon_rom_addresses.h.
Referenced by ApplyChestSavePlan(), yaze::zelda3::anonymous_namespace{room.cc}::BuildChestSavePlanImpl(), GetChestTableWriteRanges(), and yaze::zelda3::Room::LoadChests().
|
constexpr |
Definition at line 75 of file dungeon_rom_addresses.h.
Referenced by ApplyChestSavePlan(), yaze::zelda3::anonymous_namespace{room.cc}::BuildChestSavePlanImpl(), GetChestTableWriteRanges(), and yaze::zelda3::Room::LoadChests().
|
constexpr |
Definition at line 76 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildChestSavePlanImpl(), yaze::zelda3::anonymous_namespace{room.cc}::EncodeChestRoomState(), yaze::zelda3::Room::LoadChests(), and yaze::zelda3::anonymous_namespace{room.cc}::ParsePhysicalRomChests().
|
constexpr |
Definition at line 77 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildChestSavePlanImpl(), and yaze::zelda3::Room::LoadChests().
|
constexpr |
Definition at line 78 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildChestSavePlanImpl(), and GetChestTableWriteRanges().
|
constexpr |
Definition at line 82 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildTorchSavePlan(), GetTorchSaveWriteRanges(), yaze::zelda3::Room::LoadTorches(), yaze::zelda3::anonymous_namespace{room.cc}::ParseRomTorchSegments(), yaze::zelda3::anonymous_namespace{room.cc}::PreflightBlocksPayloadDestinations(), yaze::zelda3::anonymous_namespace{room.cc}::SaveAllTorchesImpl(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferTorchSource().
|
constexpr |
Definition at line 83 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildTorchSavePlan(), GetTorchSaveWriteRanges(), yaze::zelda3::Room::LoadTorches(), yaze::zelda3::anonymous_namespace{room.cc}::PreflightBlocksPayloadDestinations(), yaze::zelda3::anonymous_namespace{room.cc}::SaveAllTorchesImpl(), and yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferTorchSource().
|
constexpr |
Definition at line 105 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::PitDamageTable::LoadFromRom(), yaze::zelda3::Room::LoadPits(), SaveAllPits(), and yaze::zelda3::PitDamageTable::SaveToRom().
|
constexpr |
Definition at line 106 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::PitDamageTable::LoadFromRom(), yaze::zelda3::Room::LoadPits(), SaveAllPits(), and yaze::zelda3::PitDamageTable::SaveToRom().
|
constexpr |
Definition at line 109 of file dungeon_rom_addresses.h.
Referenced by PlanDungeonStreamWrites(), yaze::zelda3::Room::PlanObjectSave(), ReadDungeonObjectStream(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDoorTypeTarget(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidateAndNormalizeLayout(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateObjectSaveManifestConflicts(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::ValidateObjectStreamHeaderManifestConflicts(), and yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidatePlanAgainstInventory().
|
constexpr |
Definition at line 110 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().
|
constexpr |
Definition at line 111 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().
|
constexpr |
Definition at line 112 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 113 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().
|
constexpr |
Definition at line 114 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::ObjectDrawer::DrawDoor().
|
constexpr |
Definition at line 115 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 116 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 117 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 118 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 121 of file dungeon_rom_addresses.h.
Referenced by FindMaxUsedSpriteAddress(), RelocateSpriteData(), and yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritePointerTable().
|
constexpr |
Definition at line 122 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream(), and yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateRoomSprites().
|
constexpr |
Definition at line 123 of file dungeon_rom_addresses.h.
Referenced by yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritePointerTable().
|
constexpr |
Definition at line 124 of file dungeon_rom_addresses.h.
Referenced by FindMaxUsedSpriteAddress(), yaze::zelda3::anonymous_namespace{room.cc}::GetSpriteStreamInfo(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream(), RelocateSpriteData(), yaze::core::ToDungeonStreamAllocatorLayout(), and yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritePointerTable().
|
constexpr |
Definition at line 126 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 130 of file dungeon_rom_addresses.h.
Referenced by yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::CollectRoomHeaderWriteRanges(), yaze::editor::DungeonEditorV2::CollectWriteRanges(), LoadRoomHeaderFromRom(), yaze::editor::DungeonEditorV2::SaveRoomData(), and yaze::zelda3::Room::SaveRoomHeader().
|
constexpr |
Definition at line 133 of file dungeon_rom_addresses.h.
Referenced by yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyCustomCollisionWriteRanges(), yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded(), HasCustomCollisionPointerTable(), LoadCustomCollisionMap(), SaveAllCollisionImpl(), yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateCustomCollisionDoesNotOverlapWaterFillReserved(), and WriteTrackCollision().
|
constexpr |
Definition at line 134 of file dungeon_rom_addresses.h.
Referenced by yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyCustomCollisionWriteRanges(), HasCustomCollisionDataRegion(), SaveAllCollisionImpl(), and WriteTrackCollision().
|
constexpr |
Definition at line 135 of file dungeon_rom_addresses.h.
|
constexpr |
Definition at line 144 of file dungeon_rom_addresses.h.
Referenced by LoadWaterFillTable(), and WriteWaterFillTable().
|
constexpr |
Definition at line 145 of file dungeon_rom_addresses.h.
Referenced by yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyWaterFillWriteRanges(), LoadWaterFillTable(), RunOracleRomSafetyPreflight(), yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateCustomCollisionDoesNotOverlapWaterFillReserved(), and WriteWaterFillTable().
|
constexpr |
Definition at line 147 of file dungeon_rom_addresses.h.
Referenced by yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyWaterFillWriteRanges(), yaze::editor::WaterFillPanel::Draw(), HasWaterFillReservedRegion(), LoadWaterFillTable(), yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateCustomCollisionDoesNotOverlapWaterFillReserved(), and WriteWaterFillTable().
|
constexpr |
Definition at line 150 of file dungeon_rom_addresses.h.
Referenced by yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyCustomCollisionWriteRanges(), yaze::editor::CustomCollisionPanel::Draw(), HasCustomCollisionDataRegion(), LoadCustomCollisionMap(), SaveAllCollisionImpl(), yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateCustomCollisionDoesNotOverlapWaterFillReserved(), and WriteTrackCollision().
|
constexpr |
Definition at line 153 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::anonymous_namespace{room.cc}::BuildChestSavePlanImpl(), yaze::editor::DungeonCanvasViewer::BuildConnectedRoomGraph(), yaze::editor::DungeonCanvasViewer::BuildCopyExportContextMenu(), yaze::editor::DungeonCanvasViewer::BuildDebugContextMenu(), yaze::editor::DungeonCanvasViewer::BuildDrawIssueReport(), yaze::editor::BuildPitDamageMembershipState(), yaze::editor::DungeonCanvasViewer::BuildReportContextMenu(), yaze::editor::DungeonCanvasViewer::BuildRoomContextMenu(), yaze::editor::DungeonWorkbenchContent::BuildRoomDungeonCache(), yaze::editor::DungeonCanvasViewer::BuildSelectionContextMenuItems(), yaze::zelda3::anonymous_namespace{room.cc}::BuildTorchSavePlan(), CalculateRoomSize(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::CheckCommonSpriteIssues(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::CollectDirtyCustomCollisionWriteRanges(), yaze::editor::CollectDungeonConnectedRoomLinkDiagnostics(), ComputeRoomDefaultEntrances(), yaze::editor::anonymous_namespace{dungeon_canvas_connected_matrix.cc}::CountConnectedRoomsOnFloor(), yaze::editor::CustomCollisionPanel::Draw(), yaze::editor::anonymous_namespace{dungeon_canvas_connected_matrix.cc}::DrawConnectedCanvasOverview(), yaze::editor::DungeonCanvasViewer::DrawConnectedRoomMatrix(), yaze::editor::DungeonCanvasViewer::DrawConnectedToolbarControls(), yaze::editor::DrawDungeonLayerControls(), yaze::editor::DrawDungeonRoomTransferEditor(), yaze::editor::ObjectSelectorContent::DrawInteractionSummary(), yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::editor::DungeonWorkbenchContent::DrawPitDamageControls(), yaze::editor::DungeonCanvasViewer::DrawRoomBackgroundLayers(), yaze::editor::DungeonCanvasViewer::DrawRoomNavigation(), yaze::editor::DungeonRoomSelector::DrawRoomSelectorInternal(), DumpCustomCollisionRoomsToJsonString(), DumpCustomCollisionSourceFromRom(), yaze::editor::DungeonConnectionTargetRoom(), yaze::editor::DungeonCanvasViewer::EnsureRoomLoadedForConnectedView(), yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded(), yaze::cli::handlers::DungeonImportCustomCollisionJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonListChestsCommandHandler::Execute(), yaze::cli::handlers::DungeonSetRoomPropertyCommandHandler::Execute(), yaze::cli::handlers::DungeonGroupCommandHandler::Execute(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), yaze::cli::SpriteDoctorCommandHandler::Execute(), FindMaxUsedSpriteAddress(), yaze::editor::anonymous_namespace{dungeon_pit_damage_view_model.cc}::FirstNonPitDamageRoom(), yaze::editor::DungeonCanvasViewer::GetConnectedContentSize(), yaze::editor::anonymous_namespace{dungeon_canvas_connected_matrix.cc}::GetConnectedFloorColor(), yaze::app::service::RenderService::GetDungeonRoomMetadata(), yaze::editor::DungeonRoomNavWidget::GetNeighbors(), yaze::zelda3::anonymous_namespace{room.cc}::GetObjectPointerTablePc(), yaze::zelda3::anonymous_namespace{room.cc}::GetObjectStreamInfo(), yaze::editor::DungeonCanvasViewer::GetObjectUnderContextCursor(), yaze::zelda3::anonymous_namespace{room.cc}::GetPotItemStreamInfo(), yaze::zelda3::DungeonEditorSystem::GetRoom(), yaze::zelda3::anonymous_namespace{room.cc}::GetSpritePointerTablePc(), yaze::zelda3::anonymous_namespace{room.cc}::GetSpriteStreamInfo(), HasCustomCollisionPointerTable(), yaze::editor::DungeonEditorV2::IsValidRoomId(), yaze::editor::anonymous_namespace{dungeon_pit_damage_view_model.cc}::IsValidRoomId(), yaze::editor::DungeonCanvasViewer::LoadAndRenderRoomGraphics(), LoadCustomCollisionMap(), LoadCustomCollisionRoomsFromJsonString(), yaze::zelda3::DungeonObjectEditor::LoadRoom(), yaze::zelda3::DungeonEditorSystem::LoadRoomData(), yaze::zelda3::anonymous_namespace{gfx_sheet_png.cc}::LoadRoomWithPalettes(), yaze::zelda3::Room::LoadSprites(), yaze::editor::MinecartLocalPosition(), yaze::editor::DungeonCanvasViewer::NavigateToRoom(), yaze::editor::NeighborRoomId(), yaze::editor::ParseDungeonRoomDocument(), yaze::zelda3::anonymous_namespace{room.cc}::ParseRomTorchSegments(), yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ParseRoomIdToken(), yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ParseRoomSelection(), yaze::editor::PlanDungeonRoomTransfer(), PlanDungeonStreamRepack(), yaze::zelda3::Room::PlanSpriteSave(), yaze::editor::DungeonCanvasViewer::PrepareRoomCompositeWithOutput(), ReadDungeonObjectStream(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ReadFixedBankRoomStream(), yaze::zelda3::anonymous_namespace{room.cc}::ReadRoomObjectAddressSnes(), yaze::zelda3::anonymous_namespace{room.cc}::ReadRoomPotItemAddressPc(), yaze::zelda3::anonymous_namespace{room.cc}::ReadRoomSpriteAddressPc(), yaze::editor::DungeonRoomSelector::RebuildRoomFilterCache(), yaze::editor::DungeonCanvasViewer::RecordVisitedRoom(), yaze::zelda3::DungeonEditorSystem::RefreshRomBackedState(), RelocateSpriteData(), yaze::editor::usage_preview::RoomUsagePreview::Render(), yaze::app::service::RenderService::RenderDungeonRoom(), yaze::zelda3::PitDamageTable::ReplaceRoomId(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDoorTypeTarget(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDungeonPaletteSelection(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolvePotItemTarget(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRuntimePotItemStream(), yaze::editor::anonymous_namespace{dungeon_room_nav_widget.cc}::RoomIfValid(), RunOracleRomSafetyPreflight(), SaveAllCollisionImpl(), SaveAllPotItemsImpl(), yaze::zelda3::DungeonEditorSystem::SaveDungeon(), yaze::zelda3::DungeonEditorSystem::SaveRoomData(), yaze::zelda3::anonymous_namespace{dungeon_editor_system.cc}::SaveSingleRoomState(), yaze::zelda3::PitDamageTable::SaveToRom(), yaze::zelda3::DungeonEditorSystem::SetCurrentRoom(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidateAndNormalizeLayout(), yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateCustomCollisionDoesNotOverlapWaterFillReserved(), yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateDomains(), yaze::zelda3::anonymous_namespace{dungeon_stream_allocator.cc}::ValidatePlanAgainstInventory(), ValidateRegularDungeonEntranceForSave(), yaze::editor::DungeonCanvasViewer::ValidateRoomCanvasRequest(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateRoomId(), yaze::cli::anonymous_namespace{sprite_doctor_commands.cc}::ValidateSpritePointerTable(), yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferHeaderOwnership(), yaze::editor::anonymous_namespace{dungeon_editor_v2_room_transfer.cc}::ValidateTransferTorchSource(), and WriteTrackCollision().
|
constexpr |
Definition at line 156 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::Room::HandleSpecialObjects().
|
inlineconstexpr |
Definition at line 205 of file dungeon_rom_addresses.h.
Referenced by yaze::zelda3::RoomLayout::LoadLayout().
|
inlineconstexpr |
Definition at line 22 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 23 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 24 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 25 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 26 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 27 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 28 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 29 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 30 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 31 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 32 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 33 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 34 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 35 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 36 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 37 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 38 of file dungeon_spawn_point.h.
Referenced by yaze::zelda3::DungeonSpawnPoint::Load(), and yaze::zelda3::DungeonSpawnPoint::Save().
|
inlineconstexpr |
Definition at line 40 of file dungeon_spawn_point.h.
Referenced by yaze::editor::DungeonEditorV2::BuildContextSnapshot(), yaze::editor::DungeonEditorV2::BuildDungeonRenderEntranceCandidates(), yaze::editor::DungeonWorkbenchContent::BuildRoomDungeonCache(), yaze::editor::CanEditDungeonEntrance(), yaze::editor::CanEditDungeonSpawnPoint(), CollectDirtyDungeonSpawnPointWriteRanges(), CollectDirtyRegularDungeonEntranceWriteRanges(), CollectRoomCensusInput(), yaze::editor::DungeonEntrancesPanel::DrawEntranceList(), yaze::editor::DungeonRoomSelector::DrawEntranceSelectorInternal(), yaze::editor::DungeonEntrancesPanel::DrawGraphicsContext(), yaze::editor::DungeonEntrancesPanel::DrawSelectedProperties(), yaze::editor::DungeonEntrancePreviewLabel(), DungeonSpawnPointWriteRanges(), yaze::cli::handlers::DungeonGroupCommandHandler::Execute(), yaze::editor::DungeonEditorV2::GetEntranceCameraState(), yaze::zelda3::DungeonSpawnPoint::Load(), yaze::editor::DungeonRoomLoader::LoadDungeonSpawnPoints(), yaze::editor::DungeonRoomLoader::LoadRoomEntrances(), yaze::editor::DungeonRoomSelector::RebuildEntranceFilterCache(), yaze::editor::DungeonEditorV2::RefreshEntranceDirtyState(), RejectUnsupportedDungeonSpawnPointSaves(), yaze::editor::ResolveDungeonRenderContext(), yaze::editor::DungeonEditorV2::ResolveEntranceRoomId(), yaze::editor::DungeonEditorV2::RestoreEntranceCameraState(), SaveAllDungeonEntrances(), SaveAllDungeonSpawnPoints(), yaze::editor::DungeonEditorV2::SetRom(), ValidateDungeonSpawnPointForSave(), ValidateDungeonSpawnPointsForSave(), ValidateRegularDungeonEntrancesForSave(), and yaze::cli::handlers::WriteDungeonSpawnPointReport().
|
inlineconstexpr |
Definition at line 41 of file dungeon_spawn_point.h.
Referenced by yaze::editor::DungeonWorkbenchContent::BuildRoomDungeonCache(), CollectDirtyRegularDungeonEntranceWriteRanges(), ComputeRoomDefaultEntrances(), yaze::editor::DungeonEntrancesPanel::DrawEntranceList(), yaze::cli::handlers::DungeonGetEntranceCommandHandler::Execute(), yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), yaze::editor::DungeonRoomLoader::LoadRoomEntrances(), yaze::editor::DungeonRoomSelector::RebuildEntranceFilterCache(), RegularDungeonEntranceWriteRanges(), RegularDungeonEntranceWriteRanges(), ResolveEntranceLayout(), yaze::zelda3::RoomEntrance::RoomEntrance(), SaveAllDungeonEntrances(), ValidateDungeonSpawnPointForSave(), ValidateRegularDungeonEntranceForSave(), and ValidateRegularDungeonEntrancesForSave().
|
inlineconstexpr |
Definition at line 42 of file dungeon_spawn_point.h.
Referenced by yaze::editor::CanEditDungeonEntrance(), yaze::editor::DungeonEntrancesPanel::DrawEntranceList(), and yaze::editor::DungeonRoomSelector::RebuildEntranceFilterCache().
|
inlineconstexpr |
Definition at line 44 of file dungeon_spawn_point.h.
Referenced by ValidateDungeonSpawnPointForSave().
|
inlineconstexpr |
Definition at line 49 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 50 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 52 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 53 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 54 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 55 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 56 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 58 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 60 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 61 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 62 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 63 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 64 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 66 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 67 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 68 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 69 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 70 of file dungeon_spawn_point.h.
|
inlineconstexpr |
Definition at line 78 of file dungeon_spawn_point.h.
Referenced by DungeonSpawnPointWriteRanges().
|
inlineconstexpr |
Definition at line 58 of file entrance_layout.h.
Referenced by ResolveEntranceLayout().
|
inlineconstexpr |
Definition at line 78 of file entrance_layout.h.
Referenced by ResolveEntranceLayout().
|
inlineconstexpr |
Definition at line 106 of file entrance_layout.h.
Referenced by ResolveEntranceLayout().
|
inlineconstexpr |
Definition at line 29 of file game_tilemap_comparison.h.
Referenced by CompareRoomTilemaps(), ComputeObjectTileOwners(), and yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles().
|
inlineconstexpr |
Definition at line 30 of file game_tilemap_comparison.h.
Referenced by CompareRoomTilemaps(), ComposeYazeRoomTilemaps(), ComputeObjectTileOwners(), ParseGameRoomTilemaps(), yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles(), and yaze::editor::anonymous_namespace{dungeon_destination_editor.cc}::StairLookupSourceFingerprint().
|
inlineconstexpr |
Definition at line 31 of file game_tilemap_comparison.h.
Referenced by yaze::zelda3::parity::LoadVerifiedCaptureSet(), and ParseGameRoomTilemaps().
| yaze::zelda3::name |
Definition at line 18 of file object_templates.cc.
Referenced by yaze::cli::handlers::anonymous_namespace{dungeon_stream_plan_commands.cc}::AddIntervals(), yaze::cli::agent::tools::PatchCheckTool::CheckFreeSpace(), yaze::cli::agent::tools::PatchCheckTool::CheckHooks(), yaze::zelda3::atlas::anonymous_namespace{atlas_annotations.cc}::DocReader::CheckObject(), CollectRoomLinkFacts(), yaze::zelda3::anonymous_namespace{zelda3_labels.cc}::ConvertArrayToVector(), yaze::zelda3::ObjectTemplateManager::CreateFromObjects(), yaze::zelda3::music::MusicBank::CreateNewInstrument(), yaze::zelda3::music::MusicBank::CreateNewSong(), yaze::cli::agent::tools::ProjectManager::CreateSnapshot(), yaze::zelda3::DungeonObjectEditor::CreateTemplateFromSelection(), yaze::cli::agent::tools::ProjectManager::DeleteSnapshot(), yaze::cli::handlers::PaletteAnalyzeCommandHandler::Execute(), yaze::cli::handlers::RomResolveAddressCommandHandler::Execute(), yaze::cli::handlers::RomFindSymbolCommandHandler::Execute(), yaze::cli::agent::tools::ProjectStatusTool::Execute(), yaze::cli::agent::tools::ProjectSnapshotTool::Execute(), yaze::cli::agent::tools::ProjectRestoreTool::Execute(), yaze::cli::agent::ToolRegistry::GetAllTools(), yaze::zelda3::Zelda3Labels::GetEntranceNames(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::GetOptionalInt(), yaze::zelda3::Zelda3Labels::GetOverlordNames(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::GetRequiredHex(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::GetRequiredInt(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::GetRequiredString(), yaze::zelda3::Zelda3Labels::GetRoomEffectNames(), yaze::zelda3::Zelda3Labels::GetRoomNames(), yaze::cli::agent::tools::ProjectManager::GetSnapshot(), yaze::cli::agent::tools::ProjectManager::GetSnapshotFilePath(), yaze::zelda3::Zelda3Labels::GetSpriteNames(), yaze::cli::agent::tools::ProjectGraphTool::GetSymbolTable(), yaze::cli::agent::ToolRegistry::GetToolDefinition(), yaze::cli::agent::ToolRegistry::GetToolsByCategory(), yaze::cli::handlers::anonymous_namespace{browser_agent.cc}::HandleDescribeCommand(), yaze::zelda3::ResourceLabelProvider::ImportOracleSpriteRegistry(), yaze::zelda3::music::MusicBank::ImportSampleFromWav(), yaze::zelda3::LayerMergeType::LayerMergeType(), yaze::cli::agent::tools::ProjectManager::ListSnapshots(), yaze::zelda3::Inventory::LoadItemIcons(), yaze::cli::agent::tools::ProjectGraphTool::LookupAddressOrSymbol(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ParseCoordinateArg(), yaze::zelda3::music::AsmImporter::ParseDirective(), yaze::zelda3::music::AsmImporter::ParseDurationConstant(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ParseMapIdArg(), yaze::cli::handlers::anonymous_namespace{minecart_commands.cc}::ParseOptionalHexArg(), yaze::cli::handlers::anonymous_namespace{mesen_handlers.cc}::ParseOptionalInt(), ParseSpritesetLabelCsv(), yaze::zelda3::atlas::anonymous_namespace{atlas_annotations.cc}::ReadOracleOverworldV0(), yaze::zelda3::atlas::anonymous_namespace{atlas_annotations.cc}::ReadOracleRoomV0(), yaze::zelda3::atlas::ReadWlaSymbols(), yaze::cli::agent::EnhancedTUI::RegisterCommand(), yaze::zelda3::DungeonObjectRegistry::RegisterCustomObject(), yaze::cli::handlers::anonymous_namespace{overworld_sprite_edit_commands.cc}::RequiredInt(), yaze::cli::agent::tools::ProjectManager::RestoreSnapshot(), yaze::cli::agent::tools::ProjectManager::SaveProjectMetadata(), and yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::ValidName().
| yaze::zelda3::description |
Definition at line 18 of file object_templates.cc.
Referenced by yaze::zelda3::ObjectTemplateManager::CreateFromObjects(), yaze::cli::agent::tools::ProjectManager::CreateSnapshot(), yaze::zelda3::DungeonObjectEditor::CreateTemplateFromSelection(), yaze::cli::agent::TodoManager::CreateTodo(), yaze::cli::agent::RomDebugAgent::DescribeMemoryLocation(), yaze::cli::agent::tools::ProjectSnapshotTool::Execute(), yaze::cli::agent::RomDebugAgent::ExplainExecutionTrace(), yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::HandleTodoCreate(), and yaze::cli::agent::EnhancedTUI::RegisterCommand().
| yaze::zelda3::category |
Definition at line 18 of file object_templates.cc.
Referenced by yaze::zelda3::anonymous_namespace{draw_routine_symbology.cc}::CategoryFamilyLabel(), yaze::zelda3::anonymous_namespace{draw_routine_symbology.cc}::CategoryGlyph(), yaze::zelda3::ObjectCategories::anonymous_namespace{dungeon_object_editor.cc}::CategoryTable(), yaze::cli::agent::TodoManager::CreateTodo(), yaze::cli::agent::tools::RomDiffTool::DescribeChange(), yaze::zelda3::atlas::DoorCategoryName(), yaze::cli::handlers::MusicTracksCommandHandler::Execute(), yaze::cli::handlers::ResourceSearchCommandHandler::Execute(), yaze::zelda3::ObjectCategories::GetObjectCategory(), yaze::zelda3::ObjectCategories::GetObjectsInCategory(), yaze::cli::agent::TodoManager::GetTodosByCategory(), yaze::cli::agent::ToolRegistry::GetToolsByCategory(), yaze::cli::handlers::anonymous_namespace{todo_commands.cc}::HandleTodoCreate(), yaze::zelda3::atlas::OuterWallDoors(), yaze::zelda3::atlas::anonymous_namespace{dungeon_door_edges.cc}::Pairable(), yaze::zelda3::atlas::PairDoorEdges(), and yaze::zelda3::atlas::anonymous_namespace{dungeon_door_edges.cc}::Rank().
|
inlineconstexpr |
Definition at line 12 of file pot_item_position.h.
| const std::string yaze::zelda3::RoomEffect |
Definition at line 270 of file room.cc.
Referenced by yaze::editor::anonymous_namespace{dungeon_canvas_room_chrome.cc}::GetLayer2ModeName(), and yaze::zelda3::Zelda3Labels::GetRoomEffectNames().
|
constexpr |
Definition at line 1478 of file room.h.
Referenced by yaze::cli::handlers::DungeonGroupCommandHandler::Execute(), yaze::cli::handlers::DungeonMapCommandHandler::Execute(), yaze::zelda3::Zelda3Labels::GetRoomNames(), and yaze::cli::handlers::anonymous_namespace{dungeon_graph_commands.cc}::RoomName().
|
inlineconstexpr |
Definition at line 55 of file room_census.h.
Referenced by yaze::cli::handlers::DungeonRoomCensusCommandHandler::Execute(), and yaze::editor::ValidateDungeonEntranceCamera().
|
inlineconstexpr |
Definition at line 56 of file room_census.h.
Referenced by BuildRoomCensus().
|
inlineconstexpr |
Definition at line 60 of file room_census.h.
|
inlineconstexpr |
Definition at line 61 of file room_census.h.
Referenced by BuildRoomCensus().
|
inlineconstexpr |
Definition at line 39 of file room_collision.h.
Referenced by ComputeBasicCollisionMaps(), and yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles().
|
inlineconstexpr |
Definition at line 40 of file room_collision.h.
Referenced by DumpCustomCollisionRoomsToJsonString(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), LoadCustomCollisionMap(), LoadCustomCollisionRoomsFromJsonString(), and yaze::zelda3::RoomCollisionMaps::lower().
|
inlineconstexpr |
Definition at line 43 of file room_collision.h.
Referenced by ComputeRoomCollisionMaps(), yaze::zelda3::anonymous_namespace{room_collision.cc}::AttributeWriter::StoreByte(), and yaze::zelda3::anonymous_namespace{room_collision.cc}::AttributeWriter::Word().
|
constexpr |
Definition at line 23 of file room_entrance.h.
Referenced by yaze::cli::handlers::EntranceInfoCommandHandler::Execute().
|
constexpr |
Definition at line 26 of file room_entrance.h.
|
constexpr |
Definition at line 28 of file room_entrance.h.
|
constexpr |
Definition at line 29 of file room_entrance.h.
|
constexpr |
Definition at line 30 of file room_entrance.h.
|
constexpr |
Definition at line 31 of file room_entrance.h.
|
constexpr |
Definition at line 32 of file room_entrance.h.
|
constexpr |
Definition at line 33 of file room_entrance.h.
|
constexpr |
Definition at line 35 of file room_entrance.h.
|
constexpr |
Definition at line 36 of file room_entrance.h.
|
constexpr |
Definition at line 37 of file room_entrance.h.
|
constexpr |
Definition at line 38 of file room_entrance.h.
|
constexpr |
Definition at line 41 of file room_entrance.h.
|
constexpr |
Definition at line 42 of file room_entrance.h.
|
constexpr |
Definition at line 43 of file room_entrance.h.
|
constexpr |
Definition at line 44 of file room_entrance.h.
|
constexpr |
Definition at line 45 of file room_entrance.h.
|
constexpr |
Definition at line 83 of file room_entrance.h.
|
constexpr |
Definition at line 84 of file room_entrance.h.
|
constexpr |
Definition at line 85 of file room_entrance.h.
|
constexpr |
Definition at line 88 of file room_entrance.h.
|
constexpr |
Definition at line 89 of file room_entrance.h.
|
constexpr |
Definition at line 90 of file room_entrance.h.
|
constexpr |
Definition at line 91 of file room_entrance.h.
|
constexpr |
Definition at line 92 of file room_entrance.h.
|
constexpr |
Definition at line 93 of file room_entrance.h.
|
constexpr |
Definition at line 94 of file room_entrance.h.
|
constexpr |
Definition at line 95 of file room_entrance.h.
|
constexpr |
Definition at line 96 of file room_entrance.h.
|
constexpr |
Definition at line 98 of file room_entrance.h.
|
constexpr |
Definition at line 99 of file room_entrance.h.
|
constexpr |
Definition at line 100 of file room_entrance.h.
|
constexpr |
Definition at line 103 of file room_entrance.h.
|
constexpr |
Definition at line 104 of file room_entrance.h.
|
constexpr |
Definition at line 107 of file room_entrance.h.
|
constexpr |
Definition at line 108 of file room_entrance.h.
|
constexpr |
Definition at line 111 of file room_entrance.h.
|
constexpr |
Definition at line 112 of file room_entrance.h.
|
constexpr |
Definition at line 114 of file room_entrance.h.
|
constexpr |
Definition at line 115 of file room_entrance.h.
|
inlineconstexpr |
Definition at line 51 of file room_links.h.
Referenced by yaze::cli::handlers::DungeonGraphCommandHandler::Execute(), and IsDungeonRoomId().
|
inlineconstexpr |
Definition at line 53 of file room_links.h.
Referenced by CollectRoomCensusInput(), yaze::cli::handlers::DungeonDiscoverCommandHandler::Execute(), yaze::cli::handlers::DungeonRoomGraphCommandHandler::Execute(), and ReadDungeonEntranceTarget().
|
inlineconstexpr |
Definition at line 55 of file room_links.h.
Referenced by CollectRoomLinkFacts().
|
constexpr |
Definition at line 45 of file room_object.h.
Referenced by yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::DescriptorForObject(), yaze::zelda3::ObjectParser::GetObjectSubtype(), yaze::zelda3::anonymous_namespace{room_object.cc}::GetSubtypeTable(), and yaze::zelda3::ObjectParser::ParseSubtype1().
|
constexpr |
Definition at line 46 of file room_object.h.
Referenced by yaze::zelda3::anonymous_namespace{object_tile_editor.cc}::DescriptorForObject(), yaze::zelda3::ObjectParser::GetObjectSubtype(), yaze::zelda3::anonymous_namespace{room_object.cc}::GetSubtypeTable(), and yaze::zelda3::ObjectParser::ParseSubtype2().
|
constexpr |
Definition at line 47 of file room_object.h.
Referenced by yaze::zelda3::ObjectDrawer::DrawObject(), yaze::zelda3::ObjectParser::GetObjectSubtype(), yaze::zelda3::anonymous_namespace{room_object.cc}::GetSubtypeTable(), and yaze::zelda3::ObjectParser::ParseSubtype3().
|
constexpr |
Definition at line 48 of file room_object.h.
Referenced by yaze::zelda3::ObjectTileEditor::AnalyzeStandardTileSourceImpact(), yaze::editor::DungeonCanvasViewer::BuildDrawIssueReport(), yaze::zelda3::ObjectTileEditor::BuildStandardWritePlan(), yaze::zelda3::ObjectTileEditor::CaptureEditableObjectLayout(), yaze::zelda3::ObjectDrawer::DrawAgahnimsWindows(), yaze::zelda3::ObjectDrawer::DrawChestHoleOverlay(), yaze::zelda3::ObjectDrawer::DrawLampCones(), yaze::zelda3::ObjectDrawer::DrawObject(), yaze::zelda3::ObjectDrawer::DrawRoomDrawObjectData2x2(), yaze::zelda3::ObjectDrawer::DrawVitreousGoo(), yaze::zelda3::RoomObject::EnsureTilesLoaded(), yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::LoadRoomDrawObjectTiles(), yaze::zelda3::ObjectParser::ParseSubtype1(), yaze::zelda3::ObjectParser::ParseSubtype2(), and yaze::zelda3::ObjectParser::ParseSubtype3().
|
constexpr |
Definition at line 49 of file room_object.h.
Referenced by yaze::editor::DungeonCanvasViewer::BuildDrawIssueReport(), and yaze::zelda3::ObjectDrawer::DrawObject().
|
constexpr |
Definition at line 28 of file game_data.h.
Referenced by yaze::editor::PaletteControlsPanel::DrawApplyButtons(), yaze::editor::SheetBrowserPanel::DrawSheetGrid(), yaze::editor::GraphicsEditor::HighlightTile(), yaze::gui::GfxSheetAssetBrowser::Initialize(), yaze::editor::GraphicsEditor::Load(), LoadGraphics(), yaze::editor::GraphicsEditor::NextSheet(), yaze::editor::GraphicsEditor::OpenInContext(), yaze::editor::GraphicsEditor::PrepareGraphicsSave(), and yaze::editor::GraphicsEditor::SelectSheet().
|
constexpr |
Definition at line 29 of file game_data.h.
Referenced by LoadLinkGraphics(), and yaze::editor::LinkSpritePanel::LoadLinkSheets().
|
constexpr |
Definition at line 32 of file game_data.h.
Referenced by DescribeMainGroupUsage(), yaze::zelda3::anonymous_namespace{game_data.cc}::ForEachGfxGroupByte(), LoadGfxGroups(), and yaze::zelda3::anonymous_namespace{game_data.cc}::ResolveGfxGroupTables().
|
constexpr |
Definition at line 33 of file game_data.h.
Referenced by DescribeRoomsetUsage(), yaze::zelda3::anonymous_namespace{game_data.cc}::ForEachGfxGroupByte(), LoadGfxGroups(), and yaze::zelda3::anonymous_namespace{game_data.cc}::ResolveGfxGroupTables().
|
constexpr |
Definition at line 34 of file game_data.h.
Referenced by yaze::editor::SpriteEditor::ApplySpritesetToSheets(), yaze::editor::SpriteEditor::DrawSpritesetPicker(), yaze::zelda3::anonymous_namespace{game_data.cc}::ForEachGfxGroupByte(), LoadGfxGroups(), and yaze::zelda3::anonymous_namespace{game_data.cc}::ResolveGfxGroupTables().
|
constexpr |
Definition at line 35 of file game_data.h.
Referenced by yaze::zelda3::anonymous_namespace{game_data.cc}::ForEachGfxGroupByte(), LoadGfxGroups(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDungeonPaletteRoomMapping(), and yaze::zelda3::anonymous_namespace{game_data.cc}::ResolveGfxGroupTables().
|
constexpr |
|
constexpr |
Definition at line 40 of file game_data.h.
|
constexpr |
Definition at line 46 of file game_data.h.
Referenced by yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDungeonPaletteRoomMapping().
|
constexpr |
Definition at line 47 of file game_data.h.
Referenced by yaze::zelda3::Room::ResolveDungeonPaletteId(), and yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDungeonPaletteRoomMapping().
|
constexpr |
Definition at line 48 of file game_data.h.
Referenced by yaze::zelda3::Room::ResolveDungeonPaletteId(), and yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDungeonPaletteRoomMapping().
|
constexpr |
Definition at line 51 of file game_data.h.
Referenced by LoadLinkGraphics().
|
constexpr |
Definition at line 52 of file game_data.h.
Referenced by LoadLinkGraphics().
|
constexpr |
Definition at line 55 of file game_data.h.
Referenced by LoadFontGraphics().
|
constexpr |
Definition at line 58 of file game_data.h.
Referenced by LoadSheetRaw().
|
constexpr |
Definition at line 61 of file game_data.h.
Referenced by yaze::editor::Tile16EditSession::CommitAllChanges(), yaze::editor::Tile16EditSession::ReadDocumentTile(), and yaze::editor::Tile16EditSession::UpdateROMTile16Data().
|
constexpr |
Definition at line 34 of file gfx_sheet_inventory.h.
Referenced by BuildGfxSheetInventory(), and yaze::core::ImportSpritesetSheetLabels().
|
constexpr |
Definition at line 35 of file gfx_sheet_inventory.h.
Referenced by BuildGfxSheetInventory(), and yaze::core::ImportSpritesetSheetLabels().
|
constexpr |
Definition at line 36 of file gfx_sheet_inventory.h.
Referenced by BuildGfxSheetInventory(), yaze::editor::UsagePreviewView::DrawSpriteContext(), yaze::editor::SpriteEditor::DrawSpritesetPicker(), yaze::editor::GfxGroupEditor::DrawSpritesetUsage(), and FindSpritesetUsage().
|
constexpr |
Definition at line 37 of file gfx_sheet_inventory.h.
Referenced by CollectOverworldAreaGfx(), yaze::editor::usage_preview::Tile16UsagePreview::Configure(), DescribeMainGroupUsage(), and DescribeRoomsetUsage().
|
constexpr |
Definition at line 38 of file gfx_sheet_inventory.h.
Referenced by CollectRoomGfx(), DescribeMainGroupUsage(), DescribeRoomsetUsage(), yaze::editor::SpriteEditor::DrawSpritesetPicker(), and yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::LoadRoomContext().
|
constexpr |
Definition at line 31 of file gfx_sheet_storage.h.
Referenced by BuildGfxSheetInventory(), yaze::editor::anonymous_namespace{sheet_png_transfer.cc}::CheckSheetPixels(), CheckSpriteTiles(), yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::CollectOtherExtents(), ExportRoomBackgroundPng(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ExportRoomBundle(), yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::FindFreeSpace(), ImportRoomBackgroundPng(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ParseSheet(), yaze::cli::anonymous_namespace{gfx_sheet_inventory_commands.cc}::ParseSheetList(), ReadGfxSheetPc(), yaze::editor::ResolveOverworldQuadrantTarget(), and WriteGfxSheet().
|
constexpr |
Definition at line 32 of file gfx_sheet_storage.h.
Referenced by BuildGfxSheetInventory(), yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::ExpectedDecodedSize(), ExportSheetBlocksPng(), yaze::cli::agent::tools::SpritesheetAnalysisTool::FindUnusedRegions(), ImportRoomBackgroundPng(), ImportSheetBlocksPng(), ReadGfxSheetData(), ReadGfxSheetExtent(), yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::ScanSheets(), yaze::editor::VerifyWrittenSheetPixels(), and WriteGfxSheet().
|
constexpr |
Definition at line 33 of file gfx_sheet_storage.h.
Referenced by yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::ExpectedDecodedSize(), and yaze::cli::anonymous_namespace{graphics_doctor_commands.cc}::ScanSheets().
|
constexpr |
16x16 blocks per sheet: 8 columns x 2 rows over the 128x32 sheet.
Definition at line 91 of file gfx_sheet_storage.h.
Referenced by BuildGfxSheetInventory(), ExportSheetBlocksPng(), yaze::cli::agent::tools::SpritesheetAnalysisTool::FindUnusedRegions(), and ImportSheetBlocksPng().
|
constexpr |
Definition at line 13 of file diggable_tiles.h.
Referenced by yaze::zelda3::DiggableTiles::IsTile16Diggable().
|
constexpr |
Definition at line 14 of file diggable_tiles.h.
Referenced by yaze::zelda3::DiggableTiles::IsTile16Diggable().
|
constexpr |
Definition at line 17 of file diggable_tiles.h.
Referenced by yaze::zelda3::DiggableTiles::FromBytes(), and yaze::zelda3::DiggableTiles::ToBytes().
|
constexpr |
Definition at line 18 of file diggable_tiles.h.
Referenced by yaze::zelda3::Overworld::AutoDetectDiggableTiles(), yaze::editor::DrawDiggableTilesEditorPopup(), yaze::zelda3::DiggableTiles::GetAllDiggableTileIds(), yaze::zelda3::DiggableTiles::GetDiggableCount(), yaze::zelda3::DiggableTiles::IsDiggable(), and yaze::zelda3::DiggableTiles::SetDiggable().
|
constexpr |
Definition at line 21 of file diggable_tiles.h.
|
constexpr |
Definition at line 22 of file diggable_tiles.h.
|
constexpr |
Definition at line 25 of file diggable_tiles.h.
Referenced by yaze::zelda3::DiggableTiles::SetVanillaDefaults().
|
constexpr |
Definition at line 29 of file diggable_tiles.h.
Referenced by yaze::zelda3::DiggableTiles::SetVanillaDefaults().
|
inlineconstexpr |
Definition at line 102 of file overworld.h.
Referenced by yaze::zelda3::Overworld::LoadOverworldMaps().
|
constexpr |
Definition at line 104 of file overworld.h.
|
constexpr |
Definition at line 105 of file overworld.h.
|
constexpr |
Definition at line 106 of file overworld.h.
|
constexpr |
Definition at line 107 of file overworld.h.
|
constexpr |
Definition at line 108 of file overworld.h.
|
constexpr |
Definition at line 109 of file overworld.h.
|
constexpr |
Definition at line 110 of file overworld.h.
|
constexpr |
Definition at line 111 of file overworld.h.
|
constexpr |
Definition at line 112 of file overworld.h.
|
constexpr |
Definition at line 114 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::BuildMapWithCache(), yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::cli::handlers::ToolsExtractValuesCommandHandler::Execute(), yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::zelda3::Overworld::LoadOverworldMaps(), yaze::zelda3::OverworldMap::LoadPalette(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 115 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::zelda3::OverworldMap::LoadPalette(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 116 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::LoadPalette().
|
constexpr |
Definition at line 117 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::cli::handlers::ToolsExtractValuesCommandHandler::Execute(), yaze::zelda3::OverworldMap::LoadAreaInfo(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 118 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::BuildMapWithCache(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::zelda3::OverworldMap::LoadAreaInfo(), and yaze::zelda3::Overworld::LoadOverworldMaps().
|
constexpr |
Definition at line 119 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::BuildMapWithCache(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::zelda3::OverworldMap::LoadAreaInfo(), and yaze::zelda3::Overworld::LoadOverworldMaps().
|
constexpr |
Definition at line 120 of file overworld.h.
|
constexpr |
Definition at line 121 of file overworld.h.
|
constexpr |
Definition at line 122 of file overworld.h.
|
constexpr |
Definition at line 124 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::BuildMapWithCache(), yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::cli::handlers::ToolsExtractValuesCommandHandler::Execute(), yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::zelda3::Overworld::LoadOverworldMaps(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 125 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo().
|
constexpr |
Definition at line 127 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState(), and yaze::zelda3::Overworld::SaveMusic().
|
constexpr |
Definition at line 128 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState(), and yaze::zelda3::Overworld::SaveMusic().
|
constexpr |
Definition at line 129 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState(), and yaze::zelda3::Overworld::SaveMusic().
|
constexpr |
Definition at line 130 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState(), and yaze::zelda3::Overworld::SaveMusic().
|
constexpr |
Definition at line 131 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState(), and yaze::zelda3::Overworld::SaveMusic().
|
constexpr |
Definition at line 132 of file overworld.h.
|
constexpr |
Definition at line 133 of file overworld.h.
|
constexpr |
Definition at line 136 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 139 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 147 of file overworld.h.
Referenced by yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::zelda3::OverworldMap::OverworldMap(), and yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 148 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 149 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 150 of file overworld.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::cli::handlers::ToolsExtractValuesCommandHandler::Execute(), yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::zelda3::Overworld::SaveAreaSizes(), yaze::zelda3::Overworld::SaveLargeMaps(), yaze::zelda3::OverworldMap::SetupCustomTileset(), and yaze::zelda3::OverworldUpgradeSystem::UpdateROMVersionMarkers().
|
constexpr |
Definition at line 151 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 153 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 154 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 155 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 156 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 158 of file overworld.h.
Referenced by yaze::zelda3::Overworld::GetProjectedWriteRanges(), and yaze::zelda3::Overworld::SaveOverworldMaps().
|
constexpr |
Definition at line 160 of file overworld.h.
Referenced by yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), and yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 161 of file overworld.h.
Referenced by yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), and yaze::zelda3::Overworld::SaveLargeMaps().
|
constexpr |
Definition at line 162 of file overworld.h.
|
constexpr |
Definition at line 163 of file overworld.h.
|
constexpr |
Definition at line 166 of file overworld.h.
Referenced by GetMap16TilesExpanded().
|
constexpr |
Definition at line 167 of file overworld.h.
Referenced by GetMap32TileTRExpanded().
|
constexpr |
Definition at line 168 of file overworld.h.
Referenced by GetMap32TileBLExpanded().
|
constexpr |
Definition at line 169 of file overworld.h.
Referenced by GetMap32TileBRExpanded().
|
constexpr |
Definition at line 170 of file overworld.h.
Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles(), and yaze::zelda3::Overworld::GetProjectedWriteRanges().
|
constexpr |
Definition at line 171 of file overworld.h.
Referenced by yaze::zelda3::Overworld::AssembleMap32Tiles(), and DetectOverworldRomProfile().
|
constexpr |
Definition at line 172 of file overworld.h.
Referenced by DetectOverworldRomProfile(), and ReadMap16Tiles().
|
constexpr |
Definition at line 174 of file overworld.h.
|
constexpr |
Definition at line 175 of file overworld.h.
|
constexpr |
Definition at line 176 of file overworld.h.
|
constexpr |
Definition at line 177 of file overworld.h.
|
constexpr |
Definition at line 179 of file overworld.h.
|
constexpr |
Definition at line 180 of file overworld.h.
|
constexpr |
Definition at line 182 of file overworld.h.
|
constexpr |
Definition at line 186 of file overworld.h.
Referenced by GetExpandedPtrTableMarker(), and yaze::editor::anonymous_namespace{editor_manager_project_io.cc}::ValidateRomAddressOverrides().
|
constexpr |
Definition at line 187 of file overworld.h.
Referenced by GetExpandedPtrTableMagic(), and yaze::editor::anonymous_namespace{editor_manager_project_io.cc}::ValidateRomAddressOverrides().
|
constexpr |
Definition at line 188 of file overworld.h.
Referenced by GetExpandedPtrTableHigh().
|
constexpr |
Definition at line 189 of file overworld.h.
Referenced by GetExpandedPtrTableLow().
|
constexpr |
Definition at line 190 of file overworld.h.
Referenced by DetectOverworldRomProfile().
|
constexpr |
Definition at line 192 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveOverworldTilesType().
|
constexpr |
Definition at line 193 of file overworld.h.
|
constexpr |
Definition at line 194 of file overworld.h.
|
constexpr |
Definition at line 237 of file overworld.h.
Referenced by yaze::zelda3::Overworld::GetProjectedWriteRanges(), and yaze::zelda3::Overworld::SaveOverworldMaps().
|
constexpr |
Definition at line 238 of file overworld.h.
Referenced by yaze::zelda3::Overworld::GetProjectedWriteRanges(), and yaze::zelda3::Overworld::SaveOverworldMaps().
|
constexpr |
Definition at line 240 of file overworld.h.
Referenced by yaze::zelda3::Overworld::LoadTileTypes(), and yaze::zelda3::Overworld::SaveOverworldTilesType().
|
constexpr |
Definition at line 241 of file overworld.h.
Referenced by yaze::zelda3::Overworld::GetProjectedWriteRanges(), ReadMap16Tiles(), and yaze::zelda3::Overworld::SaveMap16Tiles().
|
constexpr |
Definition at line 243 of file overworld.h.
Referenced by yaze::editor::Tile16EditSession::ApplyDefinitions(), ComputeTile16Count(), yaze::editor::OverworldEditor::CycleTileSelection(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), yaze::zelda3::Overworld::GetProjectedWriteRanges(), yaze::editor::Tile16Editor::Initialize(), yaze::editor::OverworldEditor::LoadGraphics(), ReadMap16Tiles(), yaze::editor::OverworldEditor::RequestTile16Selection(), yaze::editor::ResolveOverworldQuadrantTarget(), yaze::editor::CanvasNavigationManager::UpdateBlocksetSelectorState(), and yaze::editor::MapRefreshCoordinator::UpdateBlocksetWithPendingTileChanges().
|
constexpr |
Definition at line 244 of file overworld.h.
|
constexpr |
Definition at line 245 of file overworld.h.
Referenced by yaze::zelda3::Overworld::SaveMap16Tiles().
|
constexpr |
Definition at line 246 of file overworld.h.
Referenced by yaze::zelda3::Overworld::GetProjectedWriteRanges(), ReadMap16Tiles(), and yaze::zelda3::Overworld::SaveMap16Expanded().
|
constexpr |
Definition at line 250 of file overworld.h.
Referenced by Map32DefinitionCapacityForStorageBytes(), yaze::zelda3::Overworld::SaveMap32Expanded(), yaze::zelda3::Overworld::SaveMap32Tiles(), and yaze::zelda3::anonymous_namespace{overworld.cc}::ValidateMap32DefinitionCount().
|
constexpr |
Definition at line 251 of file overworld.h.
Referenced by Map32DefinitionCapacityForStorageBytes(), yaze::zelda3::anonymous_namespace{overworld.cc}::ResolveMap32StorageLayout(), yaze::zelda3::Overworld::SaveMap32Expanded(), yaze::zelda3::Overworld::SaveMap32Tiles(), and yaze::zelda3::anonymous_namespace{overworld.cc}::ValidateMap32DefinitionCount().
|
constexpr |
Definition at line 252 of file overworld.h.
Referenced by Map32StorageBytesForProfile().
|
constexpr |
Definition at line 253 of file overworld.h.
Referenced by Map32StorageBytesForProfile().
|
constexpr |
Definition at line 261 of file overworld.h.
|
constexpr |
Definition at line 263 of file overworld.h.
|
constexpr |
Definition at line 267 of file overworld.h.
|
constexpr |
Definition at line 268 of file overworld.h.
|
constexpr |
Definition at line 269 of file overworld.h.
Referenced by yaze::zelda3::Overworld::CreateTile32Tilemap(), and yaze::zelda3::Overworld::SaveOverworldMaps().
|
constexpr |
Definition at line 270 of file overworld.h.
Referenced by yaze::zelda3::OverworldMap::BuildBitmap(), and yaze::zelda3::Overworld::SaveLargeMaps().
|
inlineconstexpr |
Definition at line 31 of file overworld_allocation.h.
Referenced by yaze::cli::anonymous_namespace{overworld_allocation_commands.cc}::AreaNamesFromManifest(), and BuildOverworldAllocationReport().
|
inlineconstexpr |
Definition at line 32 of file overworld_allocation.h.
Referenced by CheckTailMapExpansion(), yaze::zelda3::anonymous_namespace{overworld_allocation.cc}::TableJson(), and yaze::zelda3::OverworldAllocationReport::TablesStoppingBeforeTail().
|
constexpr |
Definition at line 19 of file overworld_entrance.h.
|
constexpr |
Definition at line 20 of file overworld_entrance.h.
|
constexpr |
Definition at line 21 of file overworld_entrance.h.
|
constexpr |
Definition at line 22 of file overworld_entrance.h.
|
constexpr |
Definition at line 23 of file overworld_entrance.h.
|
constexpr |
Definition at line 24 of file overworld_entrance.h.
|
constexpr |
Definition at line 25 of file overworld_entrance.h.
|
constexpr |
Definition at line 26 of file overworld_entrance.h.
|
constexpr |
Definition at line 27 of file overworld_entrance.h.
|
constexpr |
Definition at line 28 of file overworld_entrance.h.
|
constexpr |
Definition at line 29 of file overworld_entrance.h.
|
constexpr |
Definition at line 30 of file overworld_entrance.h.
|
constexpr |
Definition at line 31 of file overworld_entrance.h.
|
constexpr |
Definition at line 32 of file overworld_entrance.h.
|
constexpr |
Definition at line 33 of file overworld_entrance.h.
|
constexpr |
Definition at line 34 of file overworld_entrance.h.
|
constexpr |
Definition at line 35 of file overworld_entrance.h.
|
constexpr |
Definition at line 36 of file overworld_entrance.h.
|
constexpr |
Definition at line 37 of file overworld_entrance.h.
|
constexpr |
Definition at line 38 of file overworld_entrance.h.
|
constexpr |
Definition at line 39 of file overworld_entrance.h.
|
constexpr |
Definition at line 40 of file overworld_entrance.h.
|
constexpr |
Definition at line 41 of file overworld_entrance.h.
|
constexpr |
Definition at line 43 of file overworld_entrance.h.
|
constexpr |
Definition at line 44 of file overworld_entrance.h.
|
constexpr |
Definition at line 46 of file overworld_entrance.h.
Referenced by SaveEntrances().
|
constexpr |
Definition at line 47 of file overworld_entrance.h.
Referenced by SaveHoles().
|
constexpr |
Definition at line 49 of file overworld_entrance.h.
Referenced by LoadEntrances(), and SaveEntrances().
|
constexpr |
Definition at line 50 of file overworld_entrance.h.
Referenced by LoadEntrances(), and SaveEntrances().
|
constexpr |
Definition at line 51 of file overworld_entrance.h.
Referenced by LoadEntrances(), and SaveEntrances().
|
constexpr |
Definition at line 53 of file overworld_entrance.h.
Referenced by GetOverworldEntranceMapExpanded(), and LoadEntrances().
|
constexpr |
Definition at line 54 of file overworld_entrance.h.
Referenced by GetOverworldEntrancePosExpanded(), and LoadEntrances().
|
constexpr |
Definition at line 55 of file overworld_entrance.h.
Referenced by GetOverworldEntranceIdExpanded(), and LoadEntrances().
|
constexpr |
|
constexpr |
Definition at line 85 of file overworld_entrance.h.
Referenced by LoadHoles(), and SaveHoles().
|
constexpr |
Definition at line 89 of file overworld_entrance.h.
Referenced by LoadHoles(), and SaveHoles().
|
constexpr |
Definition at line 92 of file overworld_entrance.h.
Referenced by LoadHoles(), and SaveHoles().
|
constexpr |
Definition at line 153 of file overworld_entrance.h.
Referenced by LoadEntranceTileTypes().
|
constexpr |
Definition at line 154 of file overworld_entrance.h.
Referenced by LoadEntranceTileTypes().
|
constexpr |
Definition at line 155 of file overworld_entrance.h.
Referenced by LoadEntranceTileTypes().
|
constexpr |
Definition at line 19 of file overworld_exit.h.
Referenced by SaveExits().
|
constexpr |
Definition at line 20 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 23 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 24 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 25 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 26 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 27 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 28 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 29 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 30 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 31 of file overworld_exit.h.
Referenced by SaveExits().
|
constexpr |
Definition at line 32 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 33 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 34 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 35 of file overworld_exit.h.
Referenced by LoadExits(), and SaveExits().
|
constexpr |
Definition at line 37 of file overworld_exit.h.
|
constexpr |
Definition at line 38 of file overworld_exit.h.
|
constexpr |
Definition at line 39 of file overworld_exit.h.
|
constexpr |
Definition at line 40 of file overworld_exit.h.
|
constexpr |
Definition at line 41 of file overworld_exit.h.
|
constexpr |
Definition at line 42 of file overworld_exit.h.
|
constexpr |
Definition at line 43 of file overworld_exit.h.
|
constexpr |
Definition at line 44 of file overworld_exit.h.
|
constexpr |
Definition at line 45 of file overworld_exit.h.
|
constexpr |
Definition at line 46 of file overworld_exit.h.
|
constexpr |
Definition at line 47 of file overworld_exit.h.
|
constexpr |
Definition at line 22 of file overworld_item.h.
Referenced by SaveItems().
|
constexpr |
Definition at line 23 of file overworld_item.h.
|
constexpr |
Definition at line 24 of file overworld_item.h.
|
constexpr |
Definition at line 25 of file overworld_item.h.
|
constexpr |
Definition at line 26 of file overworld_item.h.
Referenced by SaveItems().
|
constexpr |
Definition at line 28 of file overworld_item.h.
Referenced by SaveItems().
|
constexpr |
Definition at line 29 of file overworld_item.h.
Referenced by SaveItems().
|
constexpr |
Definition at line 30 of file overworld_item.h.
Referenced by SaveItems().
|
constexpr |
Definition at line 32 of file overworld_item.h.
|
constexpr |
Definition at line 33 of file overworld_item.h.
Referenced by LoadItems(), and SaveItems().
|
constexpr |
Definition at line 34 of file overworld_item.h.
Referenced by LoadItems(), and SaveItems().
|
constexpr |
Definition at line 35 of file overworld_item.h.
|
constexpr |
Definition at line 37 of file overworld_item.h.
|
constexpr |
Definition at line 38 of file overworld_item.h.
|
constexpr |
Definition at line 39 of file overworld_item.h.
| const std::vector<std::string> yaze::zelda3::kSecretItemNames |
Definition at line 135 of file overworld_item.h.
Referenced by yaze::editor::DrawItemEditorPopup(), yaze::editor::DrawItemInsertPopup(), yaze::editor::OverworldEditor::DrawItemInsertPopup(), yaze::editor::OverworldEntityRenderer::DrawItems(), yaze::editor::OverworldEntityRenderer::DrawItems(), and yaze::editor::anonymous_namespace{overworld_item_list_panel.cc}::ItemName().
|
constexpr |
|
constexpr |
Definition at line 31 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::editor::MapPropertiesSystem::DrawCustomBackgroundColorEditor(), yaze::gui::FlagsMenu::DrawZSCustomOverworldFlags(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), yaze::zelda3::Overworld::SaveCustomOverworldData(), and yaze::zelda3::OverworldUpgradeSystem::UpdateROMVersionMarkers().
|
constexpr |
Definition at line 34 of file overworld_map.h.
Referenced by yaze::editor::MapPropertiesSystem::ApplyPropertyEditDirect(), yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), and yaze::zelda3::OverworldMap::SetupCustomTileset().
|
constexpr |
Definition at line 36 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::editor::MapPropertiesSystem::DrawOverlayEditor(), yaze::gui::FlagsMenu::DrawZSCustomOverworldFlags(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), yaze::zelda3::Overworld::SaveCustomOverworldData(), yaze::zelda3::OverworldMap::SetupCustomTileset(), and yaze::zelda3::OverworldUpgradeSystem::UpdateROMVersionMarkers().
|
constexpr |
Definition at line 38 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), and yaze::zelda3::OverworldMap::SetupCustomTileset().
|
constexpr |
Definition at line 40 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::gui::FlagsMenu::DrawZSCustomOverworldFlags(), yaze::zelda3::OverworldMap::LoadDeathMountainGFX(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), yaze::zelda3::Overworld::SaveCustomOverworldData(), yaze::zelda3::OverworldMap::SetupCustomTileset(), and yaze::zelda3::OverworldUpgradeSystem::UpdateROMVersionMarkers().
|
constexpr |
Definition at line 42 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), and yaze::zelda3::OverworldMap::SetupCustomTileset().
|
constexpr |
Definition at line 44 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::gui::FlagsMenu::DrawZSCustomOverworldFlags(), yaze::zelda3::OverworldMap::roomset_source(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), yaze::zelda3::Overworld::SaveCustomOverworldData(), yaze::zelda3::OverworldMap::SetupCustomTileset(), and yaze::zelda3::OverworldUpgradeSystem::UpdateROMVersionMarkers().
|
constexpr |
Definition at line 46 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), and yaze::zelda3::OverworldMap::SetupCustomTileset().
|
constexpr |
Definition at line 48 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::gui::FlagsMenu::DrawZSCustomOverworldFlags(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), yaze::zelda3::Overworld::SaveCustomOverworldData(), yaze::zelda3::OverworldMap::SetupCustomTileset(), and yaze::zelda3::OverworldUpgradeSystem::UpdateROMVersionMarkers().
|
constexpr |
Definition at line 52 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::LoadVanillaOverlayData().
|
constexpr |
Definition at line 54 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::LoadVanillaOverlayData().
|
constexpr |
Definition at line 55 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::LoadVanillaOverlayData().
|
constexpr |
Definition at line 56 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::LoadVanillaOverlayData().
|
constexpr |
Definition at line 57 of file overworld_map.h.
Referenced by yaze::zelda3::Overworld::SaveMapOverlays().
|
constexpr |
Definition at line 60 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), and yaze::zelda3::OverworldMap::SetupCustomTileset().
|
constexpr |
Definition at line 62 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), yaze::gui::FlagsMenu::DrawZSCustomOverworldFlags(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), yaze::zelda3::Overworld::SaveCustomOverworldData(), yaze::zelda3::OverworldMap::SetupCustomTileset(), and yaze::zelda3::OverworldUpgradeSystem::UpdateROMVersionMarkers().
|
constexpr |
Definition at line 67 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::LoadDeathMountainGFX(), and yaze::zelda3::OverworldMap::ResolveStaticGraphics().
|
constexpr |
Definition at line 73 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::CopyAnimatedSheetIntoSlot7().
|
constexpr |
Definition at line 76 of file overworld_map.h.
Referenced by yaze::cli::handlers::ToolsPatchV3CommandHandler::ApplyV3Patch(), and GetOverworldMessagesExpanded().
|
constexpr |
Definition at line 77 of file overworld_map.h.
Referenced by GetOverworldMapParentIdExpanded().
|
constexpr |
Definition at line 78 of file overworld_map.h.
Referenced by GetOverworldTransitionPositionYExpanded().
|
constexpr |
Definition at line 79 of file overworld_map.h.
Referenced by GetOverworldTransitionPositionXExpanded().
|
constexpr |
Definition at line 80 of file overworld_map.h.
Referenced by GetOverworldScreenChange1Expanded().
|
constexpr |
Definition at line 81 of file overworld_map.h.
Referenced by GetOverworldScreenChange2Expanded().
|
constexpr |
Definition at line 82 of file overworld_map.h.
Referenced by GetOverworldScreenChange3Expanded().
|
constexpr |
Definition at line 83 of file overworld_map.h.
Referenced by GetOverworldScreenChange4Expanded().
|
constexpr |
Definition at line 133 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::OverworldMap::LoadAreaInfo(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 134 of file overworld_map.h.
|
constexpr |
Definition at line 135 of file overworld_map.h.
|
constexpr |
Definition at line 136 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::OverworldMap::LoadAreaInfo(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 137 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::zelda3::OverworldMap::LoadPalette(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 138 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::OverworldMap::LoadAreaInfo(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 139 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::OverworldMap::LoadAreaInfo(), and yaze::zelda3::Overworld::SaveMapProperties().
|
constexpr |
Definition at line 141 of file overworld_map.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().
|
constexpr |
Definition at line 142 of file overworld_map.h.
Referenced by yaze::zelda3::Overworld::SaveLargeMapsExpanded().
|
constexpr |
Definition at line 144 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::OverworldMap::ComputeMainBlocksetId(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::zelda3::Overworld::FillBlankMapTiles(), yaze::zelda3::anonymous_namespace{overworld.cc}::GetAllTile16(), yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::zelda3::OverworldMap::LoadCustomOverworldData(), yaze::zelda3::Overworld::LoadOverworldMaps(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState(), yaze::zelda3::Overworld::OrganizeMapTiles(), yaze::zelda3::OverworldMap::OverworldMap(), yaze::zelda3::Overworld::SaveLargeMaps(), yaze::zelda3::Overworld::SaveMapProperties(), yaze::zelda3::Overworld::SaveMusic(), yaze::zelda3::OverworldMap::SetupCustomTileset(), yaze::editor::anonymous_namespace{map_refresh_coordinator.cc}::WorldForMapIndex(), WorldForOverworldMap(), and yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::WorldLabelForMap().
|
constexpr |
Definition at line 145 of file overworld_map.h.
Referenced by yaze::zelda3::OverworldMap::BuildMapWithCache(), CanPersistLegacyMultiAreaMap(), CanPersistLegacyScreenSize(), yaze::zelda3::OverworldMap::CaptureAreaInfoBaseline(), yaze::zelda3::OverworldMap::ComputeMainBlocksetId(), yaze::zelda3::Overworld::DecompressAllMapTilesParallel(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::zelda3::Overworld::FillBlankMapTiles(), yaze::zelda3::OverworldMap::LoadAreaInfo(), yaze::zelda3::OverworldMap::LoadCustomOverworldData(), yaze::zelda3::OverworldMap::LoadLyraPreviewProperties(), yaze::zelda3::Overworld::LoadOverworldMaps(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState(), yaze::zelda3::OverworldMap::OverworldMap(), yaze::editor::CanvasNavigationManager::QueueAdjacentMapsForPreload(), yaze::zelda3::Overworld::SaveLargeMaps(), yaze::zelda3::Overworld::SaveMapProperties(), yaze::zelda3::Overworld::SaveMusic(), yaze::zelda3::OverworldMap::SetupCustomTileset(), SubscreenOverlayScreen(), yaze::cli::anonymous_namespace{overworld_validate_commands.cc}::ValidateMapPointers(), yaze::editor::anonymous_namespace{map_refresh_coordinator.cc}::WorldForMapIndex(), WorldForOverworldMap(), and yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::WorldLabelForMap().
|
constexpr |
Definition at line 15 of file overworld_sprite_io.h.
Referenced by GetOverworldSpriteLayout().
|
constexpr |
Definition at line 16 of file overworld_sprite_io.h.
Referenced by GetOverworldSpriteRegionEnd(), and yaze::zelda3::anonymous_namespace{overworld_sprite_io.cc}::ReadListSpan().
|
constexpr |
Definition at line 26 of file overworld_sprite_io.h.
Referenced by GetOverworldSpriteRegionEnd().
|
constexpr |
Definition at line 19 of file tile16_usage_index.h.
Referenced by AddTile16ToUsageIndex(), and yaze::editor::Tile16Editor::DrawTile8UsageOverlay().
| const char *const yaze::zelda3::kSpriteNames |
Definition at line 295 of file sprite.cc.
Referenced by yaze::zelda3::ResourceLabelProvider::GetHMagicLabel().
| const size_t yaze::zelda3::kSpriteNameCount = sizeof(kSpriteNames) / sizeof(kSpriteNames[0]) |
Definition at line 296 of file sprite.cc.
Referenced by yaze::zelda3::ResourceLabelProvider::GetHMagicLabel().
|
constexpr |
Definition at line 17 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), and LoadDungeonMaps().
|
constexpr |
Definition at line 18 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), and LoadDungeonMaps().
|
constexpr |
Definition at line 20 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), and LoadDungeonMaps().
|
constexpr |
Definition at line 23 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), and BuildDungeonMapWritePlan().
|
constexpr |
Definition at line 24 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan().
|
constexpr |
Definition at line 25 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan().
|
constexpr |
Definition at line 26 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan().
|
constexpr |
Definition at line 29 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), LoadDungeonMapTile16(), and SaveDungeonMapTile16().
|
constexpr |
Definition at line 30 of file dungeon_map.h.
Referenced by LoadDungeonMapTile16(), and SaveDungeonMapTile16().
|
constexpr |
Definition at line 31 of file dungeon_map.h.
Referenced by GetDungeonMapTile16Expanded().
|
constexpr |
Definition at line 40 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), and LoadDungeonMaps().
|
constexpr |
Definition at line 41 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan().
|
constexpr |
Definition at line 42 of file dungeon_map.h.
|
constexpr |
Definition at line 43 of file dungeon_map.h.
|
constexpr |
Definition at line 45 of file dungeon_map.h.
|
constexpr |
Definition at line 47 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), and LoadDungeonMaps().
|
constexpr |
Definition at line 48 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), yaze::editor::ScreenEditor::DrawDungeonMapScreen(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::ScreenEditor::DrawDungeonMapsTabs(), and LoadDungeonMaps().
|
constexpr |
Definition at line 49 of file dungeon_map.h.
Referenced by BuildDungeonMapWritePlan(), LoadDungeonMapTile16(), and SaveDungeonMapTile16().
|
constexpr |
Definition at line 15 of file inventory.h.
|
constexpr |
Definition at line 17 of file inventory.h.
Referenced by yaze::zelda3::Inventory::LoadItemIcons().
| const std::string yaze::zelda3::kOverlordNames |
Definition at line 299 of file sprite.cc.
Referenced by yaze::zelda3::Zelda3Labels::GetOverlordNames(), and yaze::zelda3::Sprite::Sprite().
| const std::string yaze::zelda3::kSpriteDefaultNames |
Definition at line 16 of file sprite.cc.
Referenced by yaze::editor::SpriteEditor::DrawSpritesList(), yaze::editor::DrawSpriteTable(), yaze::editor::SpriteEditor::DrawVanillaSpriteEditor(), yaze::cli::handlers::SpriteListCommandHandler::Execute(), yaze::cli::handlers::SpritePropertiesCommandHandler::Execute(), yaze::cli::handlers::SpritePaletteCommandHandler::Execute(), and yaze::zelda3::Zelda3Labels::GetSpriteNames().
|
constexpr |
Definition at line 64 of file sprite_builder.h.
Referenced by yaze::zelda3::SpriteBuilder::BuildProperties().
|
inline |
Definition at line 69 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 77 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 84 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 91 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 99 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 107 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 115 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 123 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 131 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 139 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 146 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 154 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 162 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 170 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 180 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 188 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 195 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 202 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 209 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 216 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 223 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 230 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().
|
inline |
Definition at line 237 of file sprite_oam_tables.h.
Referenced by yaze::zelda3::anonymous_namespace{sprite_oam_tables.cc}::GetLayoutMap().