Namespaces | |
| namespace | anonymous_namespace{project.cc} |
Classes | |
| struct | AtlasSettings |
Atlas map views ([atlas]). More... | |
| struct | DungeonOverlaySettings |
| Dungeon overlay configuration (per-project). More... | |
| struct | GraphicsSheetSettings |
Project rules for graphics sheets ([graphics_sheets]). More... | |
| struct | PlanningSettings |
Planning editor sidecar ([planning]). More... | |
| struct | ProjectFilePassthrough |
Lines of a .yaze file that this build does not model. More... | |
| class | ProjectManager |
| Enhanced project management with templates and validation. More... | |
| struct | ProjectMetadata |
| Enhanced metadata for project tracking. More... | |
| class | RecentFilesManager |
| struct | ResourceLabelManager |
| struct | RomMetadata |
| struct | SpriteAssetBinding |
| struct | SpriteBehavior |
| struct | SpriteBehaviorAction |
| struct | SpritePaletteBinding |
| struct | WorkspaceSettings |
| Consolidated workspace and UI settings. More... | |
| struct | YazeProject |
| Modern project structure with comprehensive settings consolidation. More... | |
| struct | Z3dkArtifactPaths |
| struct | Z3dkMemoryRange |
| struct | Z3dkSettings |
Enumerations | |
| enum class | ProjectFormat { kYazeNative , kZScreamCompat } |
| Supported project file formats. More... | |
| enum class | RomRole { kBase , kDev , kPatched , kRelease } |
| enum class | RomWritePolicy { kAllow , kWarn , kBlock } |
Functions | |
| absl::Status | WriteProjectFileAtomically (absl::string_view target_path, absl::string_view contents, bool replace_existing) |
| std::string | RomRoleToString (RomRole role) |
| RomRole | ParseRomRole (absl::string_view value) |
| std::string | RomWritePolicyToString (RomWritePolicy policy) |
| RomWritePolicy | ParseRomWritePolicy (absl::string_view value) |
| bool | IsKnownProjectFileSection (absl::string_view name) |
| nlohmann::json | SpriteAssetToJson (const SpriteAssetBinding &asset) |
| absl::StatusOr< SpriteAssetBinding > | SpriteAssetFromJson (const nlohmann::json &value) |
| absl::StatusOr< SpriteAssetBinding > | ParseSpriteAssetBinding (const std::string &text) |
| nlohmann::json | SpriteBehaviorToJson (const SpriteBehavior &behavior) |
| absl::StatusOr< SpriteBehavior > | SpriteBehaviorFromJson (const nlohmann::json &json) |
Variables | |
| const std::string | kRecentFilesFilename = "recent_files.txt" |
|
strong |
|
strong |
|
strong |
| absl::Status yaze::project::WriteProjectFileAtomically | ( | absl::string_view | target_path, |
| absl::string_view | contents, | ||
| bool | replace_existing ) |
Definition at line 387 of file project.cc.
Referenced by yaze::cli::handlers::OverworldTerrainCatalogCommandHandler::Execute(), yaze::editor::ProjectFileEditor::SaveFileAs(), yaze::project::YazeProject::SaveToYazeFormat(), and yaze::editor::WriteDungeonRoomDocumentFile().
| std::string yaze::project::RomRoleToString | ( | RomRole | role | ) |
Definition at line 396 of file project.cc.
References kBase, kDev, kPatched, and kRelease.
Referenced by yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), and yaze::project::YazeProject::SerializeToString().
| RomRole yaze::project::ParseRomRole | ( | absl::string_view | value | ) |
Definition at line 410 of file project.cc.
References kBase, kDev, kPatched, and kRelease.
Referenced by yaze::project::YazeProject::ParseFromString().
| std::string yaze::project::RomWritePolicyToString | ( | RomWritePolicy | policy | ) |
Definition at line 424 of file project.cc.
References kAllow, kBlock, and kWarn.
Referenced by yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), and yaze::project::YazeProject::SerializeToString().
| RomWritePolicy yaze::project::ParseRomWritePolicy | ( | absl::string_view | value | ) |
Definition at line 436 of file project.cc.
References kAllow, kBlock, and kWarn.
Referenced by yaze::project::YazeProject::ParseFromString().
| bool yaze::project::IsKnownProjectFileSection | ( | absl::string_view | name | ) |
Definition at line 991 of file project.cc.
|
inline |
Definition at line 12 of file sprite_asset_json.h.
References yaze::project::SpriteAssetBinding::palette_rows.
Referenced by yaze::project::YazeProject::SerializeToString(), and yaze::editor::SpriteEditor::SetSpriteGraphics().
|
inline |
Definition at line 32 of file sprite_asset_json.h.
References yaze::project::SpriteAssetBinding::behavior, yaze::project::SpriteAssetBinding::catalog_key, yaze::project::SpriteAssetBinding::draw_adapter, yaze::project::SpriteAssetBinding::palette_rows, yaze::project::SpriteAssetBinding::sheets, yaze::project::SpriteAssetBinding::source_label, yaze::project::SpriteAssetBinding::source_path, yaze::project::SpriteAssetBinding::source_sha256, SpriteAssetFromJson(), SpriteBehaviorFromJson(), and yaze::project::SpriteAssetBinding::zsm_path.
Referenced by ParseSpriteAssetBinding(), yaze::editor::SpriteEditor::SetSpriteGraphics(), and SpriteAssetFromJson().

|
inline |
Definition at line 97 of file sprite_asset_json.h.
References ParseSpriteAssetBinding(), and SpriteAssetFromJson().
Referenced by yaze::project::YazeProject::ParseFromString(), and ParseSpriteAssetBinding().

|
inline |
Definition at line 11 of file sprite_behavior_json.h.
References yaze::project::SpriteBehavior::actions.
Referenced by yaze::editor::SpriteEditor::SetSpriteBehavior(), and yaze::editor::sprite_behavior::Validate().
|
inline |
Definition at line 30 of file sprite_behavior_json.h.
References yaze::project::SpriteBehavior::actions, yaze::project::SpriteBehaviorAction::animation, yaze::project::SpriteBehaviorAction::block_player, yaze::project::SpriteBehaviorAction::bounce_tiles, yaze::project::SpriteBehaviorAction::message_id, yaze::project::SpriteBehaviorAction::message_next, yaze::project::SpriteBehaviorAction::move, yaze::project::SpriteBehaviorAction::name, yaze::project::SpriteBehavior::profile, yaze::project::SpriteBehavior::source_sha256, SpriteBehaviorFromJson(), yaze::project::SpriteBehaviorAction::timer_next, yaze::project::SpriteBehaviorAction::timer_ticks, yaze::project::SpriteBehaviorAction::x_speed, and yaze::project::SpriteBehaviorAction::y_speed.
Referenced by yaze::editor::SpriteEditor::SetSpriteBehavior(), SpriteAssetFromJson(), SpriteBehaviorFromJson(), and yaze::editor::sprite_behavior::Validate().

| const std::string yaze::project::kRecentFilesFilename = "recent_files.txt" |
Definition at line 593 of file project.h.
Referenced by yaze::project::RecentFilesManager::GetFilePath(), yaze::project::RecentFilesManager::Load(), and yaze::project::RecentFilesManager::Save().