yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
track_collision_generator.h File Reference
#include <cstdint>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "rom/rom.h"
#include "zelda3/dungeon/custom_collision.h"
#include "zelda3/dungeon/room.h"

Go to the source code of this file.

Classes

struct  yaze::zelda3::TrackCollisionResult
 
struct  yaze::zelda3::GeneratorOptions
 

Namespaces

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

Enumerations

enum class  yaze::zelda3::TrackTileType : uint8_t {
  yaze::zelda3::HorizStraight = 0xB0 , yaze::zelda3::VertStraight = 0xB1 , yaze::zelda3::CornerTL = 0xB2 , yaze::zelda3::CornerBL = 0xB3 ,
  yaze::zelda3::CornerTR = 0xB4 , yaze::zelda3::CornerBR = 0xB5 , yaze::zelda3::Intersection = 0xB6 , yaze::zelda3::StopNorth = 0xB7 ,
  yaze::zelda3::StopSouth = 0xB8 , yaze::zelda3::StopWest = 0xB9 , yaze::zelda3::StopEast = 0xBA , yaze::zelda3::TJuncNorth = 0xBB ,
  yaze::zelda3::TJuncSouth = 0xBC , yaze::zelda3::TJuncEast = 0xBD , yaze::zelda3::TJuncWest = 0xBE , yaze::zelda3::SwitchTL = 0xD0 ,
  yaze::zelda3::SwitchBL = 0xD1 , yaze::zelda3::SwitchTR = 0xD2 , yaze::zelda3::SwitchBR = 0xD3
}
 

Functions

absl::StatusOr< TrackCollisionResultyaze::zelda3::GenerateTrackCollision (Room *room, const GeneratorOptions &options)
 
absl::Status yaze::zelda3::WriteTrackCollision (Rom *rom, int room_id, const CustomCollisionMap &map)
 
std::string yaze::zelda3::VisualizeCollisionMap (const CustomCollisionMap &map)