yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::anonymous_namespace{custom_object.cc} Namespace Reference

Functions

absl::StatusOr< std::vector< uint8_t > > ReadBinaryFileAtPath (const fs::path &path)
 
bool PathStartsWith (const fs::path &path, const fs::path &root)
 
bool IsPortableAssetComponent (std::string_view component)
 
std::vector< CustomObject::TileMapEntryVisibleRuntimeTiles (const CustomObject &object)
 

Variables

constexpr int kBufferStrideBytes = 128
 
constexpr int kBufferWidthTiles = kBufferStrideBytes / 2
 
constexpr int kBufferHeightTiles = 64
 
constexpr int kBufferSizeBytes = kBufferStrideBytes * kBufferHeightTiles
 
constexpr int kMaxSegmentTiles = 0x20
 
const core::SourceArtifactPublisherLabels kCustomObjectPublisherLabels
 

Function Documentation

◆ ReadBinaryFileAtPath()

absl::StatusOr< std::vector< uint8_t > > yaze::zelda3::anonymous_namespace{custom_object.cc}::ReadBinaryFileAtPath ( const fs::path & path)

Definition at line 39 of file custom_object.cc.

References ReadBinaryFileAtPath().

Referenced by ReadBinaryFileAtPath().

Here is the call graph for this function:

◆ PathStartsWith()

bool yaze::zelda3::anonymous_namespace{custom_object.cc}::PathStartsWith ( const fs::path & path,
const fs::path & root )

Definition at line 55 of file custom_object.cc.

References PathStartsWith().

Referenced by PathStartsWith().

Here is the call graph for this function:

◆ IsPortableAssetComponent()

bool yaze::zelda3::anonymous_namespace{custom_object.cc}::IsPortableAssetComponent ( std::string_view component)

Definition at line 66 of file custom_object.cc.

References IsPortableAssetComponent().

Referenced by IsPortableAssetComponent().

Here is the call graph for this function:

◆ VisibleRuntimeTiles()

std::vector< CustomObject::TileMapEntry > yaze::zelda3::anonymous_namespace{custom_object.cc}::VisibleRuntimeTiles ( const CustomObject & object)

Definition at line 94 of file custom_object.cc.

References VisibleRuntimeTiles().

Referenced by VisibleRuntimeTiles().

Here is the call graph for this function:

Variable Documentation

◆ kBufferStrideBytes

constexpr int yaze::zelda3::anonymous_namespace{custom_object.cc}::kBufferStrideBytes = 128
constexpr

Definition at line 28 of file custom_object.cc.

◆ kBufferWidthTiles

constexpr int yaze::zelda3::anonymous_namespace{custom_object.cc}::kBufferWidthTiles = kBufferStrideBytes / 2
constexpr

Definition at line 29 of file custom_object.cc.

◆ kBufferHeightTiles

constexpr int yaze::zelda3::anonymous_namespace{custom_object.cc}::kBufferHeightTiles = 64
constexpr

Definition at line 30 of file custom_object.cc.

◆ kBufferSizeBytes

constexpr int yaze::zelda3::anonymous_namespace{custom_object.cc}::kBufferSizeBytes = kBufferStrideBytes * kBufferHeightTiles
constexpr

Definition at line 31 of file custom_object.cc.

◆ kMaxSegmentTiles

constexpr int yaze::zelda3::anonymous_namespace{custom_object.cc}::kMaxSegmentTiles = 0x20
constexpr

Definition at line 32 of file custom_object.cc.

◆ kCustomObjectPublisherLabels

const core::SourceArtifactPublisherLabels yaze::zelda3::anonymous_namespace{custom_object.cc}::kCustomObjectPublisherLabels
Initial value:
{
.subject = "custom object asset",
.published_file = "published custom object asset",
}

Definition at line 34 of file custom_object.cc.