yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_editor_system.cc File Reference
#include "dungeon_editor_system.h"
#include <chrono>
#include "absl/strings/str_cat.h"
#include "nlohmann/json.hpp"
#include "zelda3/sprite/sprite.h"

Go to the source code of this file.

Namespaces

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

Functions

std::unique_ptr< DungeonEditorSystemyaze::zelda3::CreateDungeonEditorSystem (Rom *rom, GameData *game_data=nullptr)
 Factory function to create dungeon editor system.
 
absl::StatusOr< std::string > yaze::zelda3::ExportRoomLayoutTemplate (const Room &room)
 Export a room's layout as a JSON template string.
 
absl::Status yaze::zelda3::ApplyRoomLayoutTemplate (Room &room, const std::string &json, bool apply_properties=false)
 Apply a previously exported layout template to a room.