yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tile16_usage_index.h File Reference
#include <array>
#include <functional>
#include <vector>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "app/gfx/types/snes_tile.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::zelda3::Tile8UsageHit
 

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 

Typedefs

using yaze::zelda3::Tile8UsageIndex = std::array<std::vector<Tile8UsageHit>, kMaxTile8UsageId>
 

Functions

void yaze::zelda3::ClearTile8UsageIndex (Tile8UsageIndex *usage_index)
 
void yaze::zelda3::AddTile16ToUsageIndex (const gfx::Tile16 &tile_data, int tile16_id, Tile8UsageIndex *usage_index)
 
absl::Status yaze::zelda3::BuildTile8UsageIndex (int total_tiles, const std::function< absl::StatusOr< gfx::Tile16 >(int)> &tile_provider, Tile8UsageIndex *usage_index)
 

Variables

constexpr int yaze::zelda3::kMaxTile8UsageId = 1024