yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_wall_profile.cc File Reference
#include "zelda3/dungeon/dungeon_wall_profile.h"
#include <algorithm>
#include <filesystem>
#include <fstream>
#include <initializer_list>
#include <set>
#include <stdexcept>
#include <string>
#include <utility>
#include "absl/status/status.h"
#include "absl/strings/str_format.h"
#include "nlohmann/json.hpp"

Go to the source code of this file.

Classes

class  yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::JsonSourceError
 

Namespaces

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

Typedefs

using yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::Json = nlohmann::json
 

Functions

bool yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::ValidIdentifier (const std::string &value)
 
absl::Status yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::CheckObject (const Json &value, std::initializer_list< absl::string_view > allowed, std::initializer_list< absl::string_view > required, const std::string &where)
 
absl::StatusOr< uint64_t > yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::ReadUnsigned (const Json &value, uint64_t maximum, const std::string &where)
 
absl::StatusOr< std::string > yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::ReadIdentifier (const Json &value, const std::string &where)
 
absl::Status yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::CheckArray (const Json &value, size_t maximum, const std::string &where)
 
absl::StatusOr< std::shared_ptr< const DungeonWallProfileCollection > > yaze::zelda3::ParseDungeonWallProfiles (absl::string_view source)
 
absl::StatusOr< std::shared_ptr< const DungeonWallProfileCollection > > yaze::zelda3::LoadDungeonWallProfiles (const std::string &path)
 
absl::StatusOr< ResolvedWallProfile > yaze::zelda3::ResolveWallProfile (const DungeonWallProfileCollection &collection, const WallProfileContext &context, const DungeonTilePatterns &legacy)
 

Variables

constexpr uint32_t yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::kFirstPatternPc = 0x1B52
 
constexpr uint32_t yaze::zelda3::anonymous_namespace{dungeon_wall_profile.cc}::kPatternBankEnd = 0x8000