yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
overworld_map_metadata.cc File Reference
#include "app/editor/overworld/overworld_map_metadata.h"
#include <algorithm>
#include <array>
#include <string>
#include <unordered_map>
#include "absl/status/status.h"
#include "absl/strings/str_format.h"
#include "absl/strings/strip.h"
#include "core/project.h"
#include "zelda3/overworld/overworld_map.h"
#include "zelda3/overworld/overworld_version_helper.h"
#include "zelda3/resource_labels.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
 

Functions

std::string yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::TrimCopy (const std::string &value)
 
std::array< std::string, 9 > yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::ResourceLabelKeysForId (int id)
 
std::string yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::LookupResourceLabel (const std::unordered_map< std::string, std::string > &labels, int id)
 
void yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::EraseResourceLabelKeys (std::unordered_map< std::string, std::string > &labels, int id)
 
std::string yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::LabelWithId (const char *prefix, int id, const std::string &label, int width=2)
 
std::string yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::WorldLabelForMap (int map_id)
 
std::string yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::VersionLabelForRom (const Rom *rom)
 
std::string yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::AreaSizeLabel (zelda3::AreaSizeEnum area_size)
 
std::string yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::MusicLabelForState (const zelda3::OverworldMap &map, const project::YazeProject *project, int game_state)
 
std::string yaze::editor::anonymous_namespace{overworld_map_metadata.cc}::ProjectOrProviderLabel (const project::YazeProject *project, const std::string &project_type, zelda3::ResourceType provider_type, int id)
 
std::string yaze::editor::GetProjectResourceLabel (const project::YazeProject *project, const std::string &type, int id)
 
absl::Status yaze::editor::RenameProjectResourceLabel (project::YazeProject *project, const std::string &type, int id, const std::string &label)
 
OverworldMapMetadata yaze::editor::BuildOverworldMapMetadata (const zelda3::Overworld &overworld, const Rom *rom, const project::YazeProject *project, int map_id, int game_state)