yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
rom.h File Reference
#include <SDL.h>
#include <algorithm>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <ctime>
#include <filesystem>
#include <fstream>
#include <functional>
#include <iostream>
#include <map>
#include <memory>
#include <stack>
#include <string>
#include <unordered_map>
#include <variant>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"
#include "app/core/common.h"
#include "app/core/constants.h"
#include "app/core/labeling.h"
#include "app/gfx/bitmap.h"
#include "app/gfx/compression.h"
#include "app/gfx/snes_palette.h"
#include "app/gfx/snes_tile.h"

Go to the source code of this file.

Classes

struct  yaze::app::VersionConstants
 Constants for each version of the game. More...
 
class  yaze::app::Rom
 The Rom class is used to load, save, and modify Rom data. More...
 
struct  yaze::app::Rom::WriteAction
 
class  yaze::app::SharedRom
 A class to hold a shared pointer to a Rom object. More...
 

Namespaces

namespace  yaze
 
namespace  yaze::app
 Main namespace for the ImGui application.
 

Enumerations

enum class  yaze::app::Z3_Version { yaze::app::US = 1 , yaze::app::JP = 2 , yaze::app::SD = 3 , yaze::app::RANDO = 4 }
 Different versions of the game supported by the Rom class. More...
 

Variables

constexpr uint32_t yaze::app::kNumGfxSheets = 223
 
constexpr uint32_t yaze::app::kNumLinkSheets = 14
 
constexpr uint32_t yaze::app::kTile16Ptr = 0x78000
 
constexpr uint32_t yaze::app::kNormalGfxSpaceStart = 0x87000
 
constexpr uint32_t yaze::app::kNormalGfxSpaceEnd = 0xC4200
 
constexpr uint32_t yaze::app::kFontSpriteLocation = 0x70000
 
constexpr uint32_t yaze::app::kGfxGroupsPointer = 0x6237
 
constexpr uint32_t yaze::app::kNumMainBlocksets = 37
 
constexpr uint32_t yaze::app::kNumRoomBlocksets = 82
 
constexpr uint32_t yaze::app::kNumSpritesets = 144
 
constexpr uint32_t yaze::app::kNumPalettesets = 72
 
constexpr uint32_t yaze::app::kUncompressedSheetSize = 0x0800
 
constexpr uint32_t yaze::app::kMaxGraphics = 0xC3FB5