move OWBlockset and OWMapTiles

This commit is contained in:
scawful
2024-08-10 00:22:47 -04:00
parent 251441f9fa
commit c2dfb96773
6 changed files with 20 additions and 14 deletions

View File

@@ -9,6 +9,21 @@ namespace app {
*/
namespace zelda3 {
/**
* @brief Represents tile32 data for the overworld.
*/
using OWBlockset = std::vector<std::vector<uint16_t>>;
/**
* @brief Overworld map tile32 data.
*/
struct OWMapTiles {
OWBlockset light_world; // 64 maps
OWBlockset dark_world; // 64 maps
OWBlockset special_world; // 32 maps
};
using OWMapTiles = struct OWMapTiles;
/**
* @class OverworldEntity
* @brief Base class for all overworld entities.

View File

@@ -1,8 +1,6 @@
#ifndef YAZE_APP_ZELDA3_OVERWORLD_MAP_H
#define YAZE_APP_ZELDA3_OVERWORLD_MAP_H
#include "imgui/imgui.h"
#include <cstddef>
#include <cstdint>
#include <memory>
@@ -16,6 +14,8 @@
#include "app/gfx/snes_palette.h"
#include "app/gfx/snes_tile.h"
#include "app/rom.h"
#include "app/zelda3/common.h"
#include "imgui/imgui.h"
namespace yaze {
namespace app {