yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
cutscene_shot.cc File Reference
#include "zelda3/cutscene/cutscene_shot.h"
#include <algorithm>
#include <array>
#include <cctype>
#include <cstdint>
#include <set>
#include <string>
#include "absl/strings/str_format.h"
#include "nlohmann/json.hpp"

Go to the source code of this file.

Namespaces

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

Typedefs

using yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::ordered_json = nlohmann::ordered_json
 

Functions

std::string yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::Hex2 (int value)
 
absl::Status yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::FieldError (const std::string &where, const std::string &what)
 
absl::StatusOr< int > yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::ReadInt (const ordered_json &object, const char *key, const std::string &where, int min, int max)
 
bool yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::ValidName (const std::string &name)
 
absl::StatusOr< CutsceneShotSet > yaze::zelda3::ParseCutsceneShots (std::string_view json)
 
absl::StatusOr< std::string > yaze::zelda3::SerializeCutsceneShots (const CutsceneShotSet &set)
 
CameraBounds yaze::zelda3::CameraBoundsForArea (const AreaExtent &area)
 
ClampedCamera yaze::zelda3::ClampCamera (const AreaExtent &area, int x, int y)
 
absl::StatusOr< AreaExtent > yaze::zelda3::VanillaAreaExtent (int area)
 
AreaExtent yaze::zelda3::AreaExtentFromParent (int parent, AreaSizeEnum size)
 
MapRect yaze::zelda3::ViewportOnMap (const AreaExtent &area, int camera_x, int camera_y, float scale)
 
MapRect yaze::zelda3::PointOnMap (const AreaExtent &area, int world_x, int world_y, float scale)
 
bool yaze::zelda3::PointInViewport (int camera_x, int camera_y, int world_x, int world_y)
 

Variables

constexpr std::array< uint16_t, 64 > yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::kVanillaOriginY
 
constexpr std::array< uint16_t, 64 > yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::kVanillaOriginX
 
constexpr int yaze::zelda3::anonymous_namespace{cutscene_shot.cc}::kMaxWorldPixel = 0xFFFF