yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
room_object.h File Reference
#include <cstdint>
#include <string>
#include <vector>
#include "app/emu/cpu/cpu.h"
#include "app/emu/memory/memory.h"
#include "app/emu/video/ppu.h"
#include "app/gfx/snes_palette.h"
#include "app/gfx/snes_tile.h"
#include "app/rom.h"
#include "app/zelda3/dungeon/object_names.h"
#include "app/zelda3/dungeon/object_renderer.h"
Include dependency graph for room_object.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::app::zelda3::dungeon::SubtypeInfo
 
class  yaze::app::zelda3::dungeon::RoomObject
 
class  yaze::app::zelda3::dungeon::Subtype1
 
class  yaze::app::zelda3::dungeon::Subtype2
 
class  yaze::app::zelda3::dungeon::Subtype3
 

Namespaces

namespace  yaze
 
namespace  yaze::app
 Main namespace for the ImGui application.
 
namespace  yaze::app::zelda3
 Zelda 3 specific classes and functions.
 
namespace  yaze::app::zelda3::dungeon
 

Enumerations

enum class  yaze::app::zelda3::dungeon::SpecialObjectType { yaze::app::zelda3::dungeon::Chest , yaze::app::zelda3::dungeon::BigChest , yaze::app::zelda3::dungeon::InterroomStairs }
 
enum  yaze::app::zelda3::dungeon::Sorting {
  yaze::app::zelda3::dungeon::All = 0 , yaze::app::zelda3::dungeon::Wall = 1 , yaze::app::zelda3::dungeon::Horizontal = 2 , yaze::app::zelda3::dungeon::Vertical = 4 ,
  yaze::app::zelda3::dungeon::NonScalable = 8 , yaze::app::zelda3::dungeon::Dungeons = 16 , yaze::app::zelda3::dungeon::Floors = 32 , yaze::app::zelda3::dungeon::SortStairs = 64
}
 
enum class  yaze::app::zelda3::dungeon::ObjectOption {
  yaze::app::zelda3::dungeon::Nothing = 0 , yaze::app::zelda3::dungeon::Door = 1 , yaze::app::zelda3::dungeon::Chest = 2 , yaze::app::zelda3::dungeon::Block = 4 ,
  yaze::app::zelda3::dungeon::Torch = 8 , yaze::app::zelda3::dungeon::Bgr = 16 , yaze::app::zelda3::dungeon::Stairs = 32
}
 

Functions

SubtypeInfo yaze::app::zelda3::dungeon::FetchSubtypeInfo (uint16_t object_id)
 
ObjectOption yaze::app::zelda3::dungeon::operator| (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption yaze::app::zelda3::dungeon::operator& (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption yaze::app::zelda3::dungeon::operator^ (ObjectOption lhs, ObjectOption rhs)
 
ObjectOption yaze::app::zelda3::dungeon::operator~ (ObjectOption option)
 

Variables

constexpr int yaze::app::zelda3::dungeon::kRoomObjectSubtype1 = 0x8000
 
constexpr int yaze::app::zelda3::dungeon::kRoomObjectSubtype2 = 0x83F0
 
constexpr int yaze::app::zelda3::dungeon::kRoomObjectSubtype3 = 0x84F0
 
constexpr int yaze::app::zelda3::dungeon::kRoomObjectTileAddress = 0x1B52
 
constexpr int yaze::app::zelda3::dungeon::kRoomObjectTileAddressFloor = 0x1B5A