yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
room.cc File Reference
#include "room.h"
#include <yaze.h>
#include <algorithm>
#include <cstdint>
#include <vector>
#include "absl/strings/str_cat.h"
#include "app/gfx/resource/arena.h"
#include "app/gfx/types/snes_palette.h"
#include "app/platform/sdl_compat.h"
#include "rom/rom.h"
#include "rom/snes.h"
#include "util/log.h"
#include "zelda3/dungeon/editor_dungeon_state.h"
#include "zelda3/dungeon/object_drawer.h"
#include "zelda3/dungeon/room_layer_manager.h"
#include "zelda3/dungeon/room_object.h"
#include "zelda3/sprite/sprite.h"
#include "zelda3/dungeon/palette_debug.h"
#include "app/editor/dungeon/dungeon_canvas_viewer.h"

Go to the source code of this file.

Namespaces

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

Functions

RoomSize yaze::zelda3::CalculateRoomSize (Rom *rom, int room_id)
 
Room yaze::zelda3::LoadRoomFromRom (Rom *rom, int room_id)
 
Room yaze::zelda3::LoadRoomHeaderFromRom (Rom *rom, int room_id)
 

Variables

const std::string yaze::zelda3::RoomEffect [8]
 
const std::string yaze::zelda3::RoomTag [65]
 
constexpr int yaze::zelda3::kGfxBufferOffset = 92 * 2048
 
constexpr int yaze::zelda3::kGfxBufferStride = 1024
 
constexpr int yaze::zelda3::kGfxBufferAnimatedFrameOffset = 7 * 4096
 
constexpr int yaze::zelda3::kGfxBufferAnimatedFrameStride = 1024
 
constexpr int yaze::zelda3::kGfxBufferRoomOffset = 4096
 
constexpr int yaze::zelda3::kGfxBufferRoomSpriteOffset = 1024
 
constexpr int yaze::zelda3::kGfxBufferRoomSpriteStride = 4096
 
constexpr int yaze::zelda3::kGfxBufferRoomSpriteLastLineOffset = 0x110