1#ifndef YAZE_ZELDA3_DUNGEON_ROOM_HEADER_DESTINATION_H_
2#define YAZE_ZELDA3_DUNGEON_ROOM_HEADER_DESTINATION_H_
16 uint8_t header_byte) {
17 return (source_room_id & 0xFF00) | header_byte;
24 int destination_room_id) {
25 if (destination_room_id < 0 ||
26 (destination_room_id & 0xFF00) != (source_room_id & 0xFF00)) {
29 return destination_room_id & 0xFF;
Zelda 3 specific classes and functions.
constexpr int ResolveHeaderDestinationRoom(int source_room_id, uint8_t header_byte)
constexpr int EncodeHeaderDestinationRoom(int source_room_id, int destination_room_id)